Underground 2 Revived
Play Need for Speed: Underground 2 (2004) in Chrome and Firefox with WebGPU graphics, Web Audio, up to 120 fps widescreen, controller support, free roam and Online races with friends. Fan project, not
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證A VALORANT Premier Coordinator App
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
gonext
A VALORANT Premier Coordinator App
Database is Postgres (via Neon's serverless driver adapter) — see Deployment below to
provision one. Once you have DATABASE_URL / DATABASE_URL_UNPOOLED in .env:
See CONTEXT.md for the domain glossary.
Tests that touch the database run against a real local Postgres (via Docker), not a mock —
some of them (like the join-race test) only mean anything against real transaction behavior.
Login uses Discord OAuth via Auth.js. AUTH_SECRET is already generated for you in
.env.local; you need to supply the two Discord values yourself:檢視完整 README ↗A VALORANT Premier coordinator for my own team: see who is available, who is confirmed, and get Discord pings so five players show up on match day.
Live app: gonext.murtazalol.com
/admin page./admin page returns a 404 for everyone else.GET /api/bot/pings, protected by a shared secret. The bali-bot Discord bot polls it and posts each ping once, tracked by key.Stack: Next.js, TypeScript, Prisma, PostgreSQL (Supabase), Auth.js, Vitest, Docker, Vercel
Database is Postgres (via Prisma's node-postgres driver adapter) — see Deployment below to
provision one. Once you have DATABASE_URL / DATABASE_URL_UNPOOLED in .env:
npm install
npx prisma migrate dev # applies the schema
npx prisma db seed # seeds the team (empty roster) and this week's matches
npm run dev
See CONTEXT.md for the domain glossary.
Tests that touch the database run against a real local Postgres (via Docker), not a mock — some of them (like the join-race test) only mean anything against real transaction behavior.
npm run test:db:up # starts a throwaway Postgres on localhost:55432
npm test # pushes the schema to it and runs the suite
npm run test:db:down # tear it down when you're done
Login uses Discord OAuth via Auth.js. AUTH_SECRET is already generated for you in
.env.local; you need to supply the two Discord values yourself:
http://localhost:3000/api/auth/callback/discord
(add your production callback URL here too once deployed, e.g.
https://your-app.vercel.app/api/auth/callback/discord).env.local (already gitignored):
AUTH_DISCORD_ID="your client id"
AUTH_DISCORD_SECRET="your client secret"
npm run dev.The roster starts empty — there's no manual "add teammate" step. The only way onto the team is
the invite link: visit /join/{team's invite token} (find the token by checking the seeded
Team row, e.g. via npx prisma studio), sign in with Discord, and you're on the roster as
yourself. The first person to join a team becomes its Coach, who can then find and share the
real invite link from the Roster page. Only your own row is ever editable; everyone else's
stays read-only.
Admins manage every signed-in user from /admin (hidden from everyone else — it 404s). Admin is
granted by Discord user id, via an environment variable rather than the database:
.env.local (and the Vercel project's environment variables for production),
comma-separating multiple admins:
ADMIN_DISCORD_IDS="123456789012345678"
An Admin can add anyone who has signed in with Discord but isn't on the team yet (so new players just need to log in once), remove/reactivate anyone including Coaches, promote or demote Coaches, and regenerate the invite link.
The site tells the Discord bot (bali-bot) what to post via
GET /api/bot/pings, protected by a shared secret. The bot polls it every few minutes and posts
each ping once (it remembers each ping's key). What goes out, all in Eastern time:
Setup:
openssl rand -base64 33) and set it as BOT_API_SECRET in .env.local
and the Vercel project's environment variables.GONEXT_URL (e.g. https://your-app.vercel.app) and the same
value as GONEXT_BOT_SECRET./premier set-channel in the team's server.origin); commit and push main.DATABASE_URL — the Transaction pooler string (port 6543), used by the appDATABASE_URL_UNPOOLED — the Session pooler string (port 5432), used by migrationsAUTH_SECRET — generate a fresh one (openssl rand -base64 33), don't reuse the dev valueAUTH_DISCORD_ID / AUTH_DISCORD_SECRET — same Discord app as local devAUTH_URL is not needed — Auth.js auto-detects the host on Vercelhttps://<your-vercel-domain>/api/auth/callback/discordvercel env pull first): npx prisma migrate deploy && npx prisma db seedmain triggers it automatically once the Vercel project is linked.No custom domain needed for a beta — the default *.vercel.app URL is fine.