A Next.js 14 daily AI puzzle app powered by DeepSeek and Supabase.
- Daily puzzle homepage with frosted-glass UI and dark gradient background
/api/dailyroute returns today's published puzzle from Supabase/api/cron/generateroute generates a draft puzzle and stores it indaily_quests/api/answerroute validates user answers- Admin pages for topic management, weekly scheduling, and publishing today's draft
DATABASE_URL=your_supabase_postgres_connection_string
DEEPSEEK_API_KEY=your_deepseek_api_key
DEEPSEEK_MODEL=deepseek-chat
ADMIN_EMAIL=your_admin_email
NEXT_PUBLIC_SITE_URL=https://aiabw.comnpm install
npm run devReturns today's published puzzle, or a friendly waiting message if none is published yet.
Generates today's draft puzzle based on the weekly schedule.
Publishes today's draft puzzle.
Body:
{
"answerIndex": 1,
"date": "2026-06-23"
}Response includes whether the answer is correct and the correct option text.