Test your CAPTCHAs against multiple industry-standard AI models to assess their resistance to automated solving.
python3 -m venv captcha_env
source captcha_env/bin/activate
pip install -r requirements.txt
- Node.js and npm
- Git (optional)
- Clone the repository (or download and extract the ZIP):
git clone [your-repo-url]
cd [project-directory]- Set up the React frontend:
# Install Node dependencies
npm init -y
npm install react react-dom lucide-react
npm install --save-dev vite @vitejs/plugin-react- Create the project structure:
project_root/
├── package.json
├── vite.config.js
└── frontend/
├── index.html
├── components/
│ └── CaptchaTester.jsx
└── main.jsx
- Configure Vite:
Create
vite.config.jsin the project root:
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
root: "frontend",
build: {
outDir: "../dist",
},
resolve: {
extensions: [".js", ".jsx"],
},
});- Update package.json: Make sure your package.json includes these scripts:
{
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
}
}In one terminal, start server.py:
python server.pyLeave that running, in another terminal, run:
npm run devThis will run on http://localhost:5173