尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Non-union theater audition aggregator
翻译准备中
正在加载完整 README。
查看完整 README ↗Collects open audition listings from regional theater websites into one searchable place.
A scheduled scraper fetches each theater's audition page, hands the text to Claude for structured parsing, and writes the results to Supabase. The Next.js app reads from there.
Next.js 16 (App Router, Turbopack) · React 19 · TypeScript · Tailwind CSS 4 · Supabase · Claude API
npm install
cp .env.local.example .env.local # then fill in the values
npm run dev
Run supabase/schema.sql in the Supabase SQL editor to create the tables, then
npx tsx scripts/seed-theaters.ts to load the theater list.
| Variable | Used by | Purpose |
|---|---|---|
NEXT_PUBLIC_SUPABASE_URL | browser | Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY | browser | Read-only access (public read is intentional) |
SUPABASE_URL | server | Same URL, server side |
SUPABASE_SERVICE_ROLE_KEY | server, scraper | Writes; bypasses RLS |
ANTHROPIC_API_KEY | scraper | Parsing audition pages |
GITHUB_TOKEN | server, scraper | Files issues for feedback and broken pages |
ADMIN_KEY | server | Gates the admin pages |
npm run dev # dev server
npm run build # production build + typecheck
npm run lint # ESLint
npx tsx scraper/index.ts # full scrape
npx tsx scripts/test-scraper.ts [url] # smoke test one page
app/ routes: /, /past, /theaters, /add-theater, /admin/*
components/ UI
lib/ Supabase client, types, expiry rules, admin session
scraper/ fetch → parse (Claude) → write; entry point is index.ts
scripts/ seeding and one-off migrations
supabase/ schema.sql and seed data
The admin pages are gated by ADMIN_KEY. Sign in at /admin/login; this sets an
httpOnly session cookie good for 30 days. Once signed in, edit links appear next
to each theater on /theaters.
The cookie stores an HMAC derived from ADMIN_KEY, not the key itself, so it can't
be read back out. There is no key in any URL — earlier versions used a ?key=
query parameter, which leaked into browser history and server logs.
The app deploys to Vercel from main. All seven environment variables above must be
set for both Production and Preview.
The scraper does not run on Vercel. It runs as a GitHub Action
(.github/workflows/scrape.yml) daily at noon UTC, and can be triggered manually from
the Actions tab. It needs SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, and
ANTHROPIC_API_KEY as repository secrets.
service_role needs UPDATE on theaters — the scraper deactivates theaters whose
pages 404, and the admin page edits them. Without the grant these writes fail with
permission denied for table theaters. See the bottom of supabase/schema.sql.