尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
The iOS and Android apps are not a static export of this Next.js app. Killsub relies on Server Actions (src/app/actions/), auth middleware (src/proxy.ts), and server-rendered data fetching throughout the dashboard — none of which can run in output: 'export' mode. next build would simply fail if that mode were enabled, so the main next.config.ts is untouched and the web deployment on Vercel works exactly as before.
Instead, the native shells load the live site directly:
capacitor.config.ts sets server.url to https://killsub.vercel.app. On launch, the native WebView navigates straight to that URL — it's the same app, same backend, same authentication as the website, just running inside a native wrapper.capacitor-shell/ is a placeholder webDir with a single static index.html. It's required for cap sync to run but is never actually shown to users, since server.url takes over before it would render.server.url at a different environment (e.g. a preview deployment or localhost during development), that environment's API routes, auth, and database are what the mobile app will use.npm run build:mobile # next build (sanity check) + cap sync
npx cap open ios # opens ios/App/App.xcworkspace in Xcode — requires Xcode
npx cap open android # opens the android/ project in Android Studio — requires Android Studio / SDK
Actually compiling and running the native apps requires Xcode (iOS) or the Android SDK (Android) on your machine — neither is needed just to edit the web app or deploy it to Vercel.
src/hooks/usePushNotifications.ts requests permission and registers the device for push on first launch, but only inside the native app (Capacitor.isNativePlatform() is false on the web, so this is a no-op there). Tokens are upserted into the device_tokens table (user_id, token, platform), keyed by token so re-registering the same device doesn't create duplicates.