
Product
Socket Now Protects the Chrome Extension Ecosystem
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
@mihnea.dev/recaptcha-solver
Advanced tools
[](https://www.npmjs.com/package/@mihnea.dev/recaptcha-solver) [](https://opensource.org/licenses/MIT)
recaptcha-solver
aka RektCaptchaRektCaptcha is an automated solution for solving audio-based Google reCAPTCHA challenges using Puppeteer and Playwright. It leverages the Vosk speech-to-text model to transcribe the audio challenges and fill in the reCAPTCHA response field automatically.
# Using npm
npm install @mihnea.dev/recaptcha-solver
# Using yarn
yarn add @mihnea.dev/recaptcha-solver
Here's an example of how to use RektCaptcha with Puppeteer:
import RektCaptcha from "@mihnea.dev/recaptcha-solver";
import puppeteer from "puppeteer";
async function main() {
const browser = await puppeteer.launch({ headless: false });
const page = await browser.newPage();
const rektCaptcha = new RektCaptcha(page);
await page.goto("https://www.google.com/recaptcha/api2/demo");
await rektCaptcha.solve();
await page.screenshot({ path: "screenshot.png" });
console.log("Screenshot taken!");
await browser.close();
}
main().catch(console.error);
And here's an example of how to use RektCaptcha with Playwright:
import RektCaptcha from "@mihnea.dev/recaptcha-solver";
import { chromium } from "playwright";
async function main() {
const browser = await chromium.launch({
headless: false,
proxy: {
server: "<YOUR_PROXY_SERVER>",
username: "<YOUR_PROXY_USERNAME>",
password: "<YOUR_PROXY_PASSWORD>"
}
});
const page = await browser.newPage();
const rektCaptcha = new RektCaptcha(page);
await page.goto("https://aida.info.ro/polite-rca");
await rektCaptcha.solve();
await page.screenshot({ path: "screenshot.png" });
console.log("Screenshot taken!");
await browser.close();
}
main().catch(console.error);
To enable debug logs, set the DEBUG
environment variable to recaptcha-solver:*
.
DEBUG=rektcaptcha* node script.js
Contributions are welcome! If you'd like to contribute to this project, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
[](https://www.npmjs.com/package/@mihnea.dev/recaptcha-solver) [](https://opensource.org/licenses/MIT)
We found that @mihnea.dev/recaptcha-solver demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.