Reverse Captcha is a web app that replaces traditional CAPTCHAs with a unique challenge: match a text description with an image. It features a Go backend and a frontend built with HTML, Tailwind CSS, and JavaScript. The app uses the MusicBrainz API to fetch music data.
- Search and view artist albums
- Reverse CAPTCHA to access track lists
- Enter an artist name to get album lists.
- Select an album and complete a Reverse CAPTCHA to view the track list.
- Match the text description with an image to pass the CAPTCHA.
- Backend: Go
- Frontend: HTML, Tailwind CSS, JavaScript
- Music Data: MusicBrainz API
- Go
- OpenAI API Key (for CAPTCHA)
-
Clone the repo:
git clone https://github.com/danielshemesh/reversecaptcha cd reversecaptcha
-
Navigate to the backend directory:
cd backend
-
Set environment variables:
Linux/MacOS:
export OPENAI_API_KEY=your_openai_api_key export OPENAI_API_BASE_URL=https://api.openai.com/v1
Windows (Command Prompt):
set OPENAI_API_KEY=your_openai_api_key set OPENAI_API_BASE_URL=https://api.openai.com/v1
Windows (PowerShell):
$env:OPENAI_API_KEY="your_openai_api_key" $env:OPENAI_API_BASE_URL="https://api.openai.com/v1"
-
Install Go dependencies:
go mod tidy
-
Run the server:
go run backend.go
Access the app at
http://localhost:8080
.