Survival LLM
A free AI assistant and survival library (1.5 million offline articles) that runs on your own computer, with no internet. Shows the source of every answer. Mac and Windows.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Civicly Chennai — report potholes and road issues in Chennai, live on a public map.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Mobile-first PWA for reporting potholes and road issues in the Chennai Metropolitan
Area, shown live on a public map.
• Design spec: docs/superpowers/specs/2026-09-21-chennai-road-grievance-mvp-design.md
• Contributor/agent guidance: CLAUDE.md
Local Supabase needs Docker Desktop: npm run db:start, then npm run db:reset.
Alternatively point .env.local at a hosted Supabase dev project.
Deployed on Vercel (project name: civicly-chennai), backed by a hosted Supabase
project. Vercel runs next build on every push — there's no server to manage.檢視完整 README ↗Mobile-first PWA for reporting potholes and road issues in the Chennai Metropolitan Area, shown live on a public map.
docs/superpowers/specs/2026-09-21-chennai-road-grievance-mvp-design.mdCLAUDE.mdnpm install
cp .env.example .env.local # fill in values
npm run dev # http://localhost:3000
Local Supabase needs Docker Desktop: npm run db:start, then npm run db:reset.
Alternatively point .env.local at a hosted Supabase dev project.
| Script | Purpose |
|---|---|
npm run dev / build / start | Next.js |
npm run lint / typecheck | ESLint / TypeScript |
npm test | Vitest unit tests |
npm run test:e2e | Playwright end-to-end tests |
npm run db:start / db:reset / db:test | Local Supabase, migrations + seed, pgTAP |
npm run db:types | Regenerate Supabase TypeScript types |
/admin is the private queue for filing reports with GCC by hand and recording the GCC
complaint ID. Only [email protected] is an admin; it's hard-coded in
public.is_admin(), so changing it means a new migration.
/admin, then
open the emailed link in the same browser (the PKCE verifier lives there). The
session is remembered afterwards./admin redirect URLs are already allowed in supabase/config.toml (restart Supabase
after changing auth config).https://<your-domain>/admin under Authentication → URL Configuration →
Redirect URLs. The default email sender is rate-limited to a few emails an hour, which
is fine for one admin.Deployed on Vercel (project name: civicly-chennai), backed by a hosted Supabase
project. Vercel runs next build on every push — there's no server to manage.
Supabase production project — create one at supabase.com (separate from your local dev project), then apply migrations and seed data to it:
npx supabase link --project-ref <production-project-ref>
npx supabase db push --include-seed --linked
--include-seed matters: it loads supabase/seed.sql, which seeds
public.cmda_boundary. Without it, the OUTSIDE_CMDA boundary check has nothing
to check against and every report submission fails.
Vercel project — either npx vercel link from the repo root, or connect the
GitHub repo directly in the Vercel dashboard (Import Project → this repo). Name
the project civicly-chennai. No vercel.json is needed; this is a standard
Next.js App Router app.
Environment variables — add every variable from .env.example to the Vercel
project (Settings → Environment Variables), scoped to Production:
NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY
— from the production Supabase project's API settings. Never add the
NEXT_PUBLIC_ prefix to the service role key.NEXT_PUBLIC_MAP_STYLE_URL — a MapTiler style URL (with key) or a self-hosted
Protomaps style.NEXT_PUBLIC_TURNSTILE_SITE_KEY — a real Cloudflare Turnstile site key. The
local dev fallback (1x00000000000000000000AA) always renders a visible
"for testing only" widget — don't ship that key to production.NEXT_PUBLIC_GOOGLE_CLIENT_ID — for Google One Tap sign-in.NEXT_PUBLIC_VAPID_PUBLIC_KEY, VAPID_PRIVATE_KEY, PUSH_WEBHOOK_SECRET — from
npx web-push generate-vapid-keys.NEXT_PUBLIC_* values are inlined into the client bundle at build time, so set
them before the first deploy; adding one afterward needs a redeploy to take
effect.
Deploy — push to main, or click Deploy in the Vercel dashboard. Every push
to main redeploys production; every pull request gets its own preview URL.
.github/workflows/ci.yml runs lint, typecheck, and the Vitest suite on every push
and pull request. It intentionally skips the Playwright e2e suite (needs a local
Supabase instance) — Vercel's own git integration handles the production build.