Hack #2: Cloudflare · Cloudflare
2 Apr, 08:15
VoiceCaptcha (The CAPTCHA that finally shuts up the bots, by making you speak up..) - It is a voice-based human verification system that goes beyond traditional CAPTCHAs. Instead of clicking checkboxes or solving image puzzles, users speak a randomly generated phrase. Their audio is sent to a Cloudflare Worker at the edge, transcribed in milliseconds using Groq Whisper, and fuzzy-matched against the expected phrase using dual scoring (ordered word sequence + bag-of-words). Challenge sessions are managed by a Durable Object with automatic TTL cleanup. - After passing, users can tap "Play ElevenLabs voice" to hear the same phrase spoken by ElevenLabs' multilingual TTS model -- creating a compelling human vs. AI contrast. Same words, completely different origin. That's the story. Tech: Cloudflare Workers + Durable Objects (SQLite-backed) | Groq Whisper Large v3 | ElevenLabs TTS v2 | React + Vite + Tailwind | Web Speech API (live word highlighting) | Web Audio API (Siri-style orb visualizer) Live: https://voicecaptcha.vercel.app
