BikeControl (SwiftControl)
使用 Zwift Click、Zwift Play、Shimano Di2 或任何藍牙控制器,搭配 MyWhoosh、Rouvy、Zwift 等。iOS、Android、Windows、macOS 均可免費試用。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Trimry App
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Trimry is a personalized sports events notifier. Users pick the sports, leagues and teams they follow and receive a personal agenda of upcoming matches, races and fights by email and WhatsApp, in their own time zone. Scout is the conversational assistant (web widget + WhatsApp) that can search teams, follow them and answer "what is on tonight?" with real fixtures.
• Next.js 13 (App Router), React 18, TypeScript
• Tailwind CSS with the tr-* utility layer in src/app/globals.css (light theme, brand gradient)
• External API integration over fetch with credentialed cookies (src/lib/api-client.ts)查看完整 README ↗Trimry is a personalized sports events notifier. Users pick the sports, leagues and teams they follow and receive a personal agenda of upcoming matches, races and fights by email and WhatsApp, in their own time zone. Scout is the conversational assistant (web widget + WhatsApp) that can search teams, follow them and answer "what is on tonight?" with real fixtures.
tr-* utility layer in src/app/globals.css (light theme, brand gradient)fetch with credentialed cookies (src/lib/api-client.ts)| Route | Purpose |
|---|---|
/ | Landing: live preview of upcoming events per sport, how it works, Scout, pricing, FAQ |
/activate | 4-step onboarding: sports → teams & leagues → delivery (inline account creation for anonymous visitors) → review + Stripe trial |
/account/register, /account/login | Name + email registration (no password required; login links supported) |
/checkout/start | Stripe Checkout handoff and cancel/resume state |
/account/delivery (/account/whatsapp) | Channel, hour and WhatsApp number settings after checkout |
/dashboard | Tabs: Agenda (personal feed), Teams & leagues, Delivery & billing, Account; admins also get Admin sends and Sports sync |
/legal/* | Terms, privacy, data & accuracy notice, data deletion |
Anonymous visitors can complete steps 1–2 of /activate; the draft is stored in localStorage (trimry:sports-preferences-draft) and sent with POST /auth/register as sportsPreferences.
components/scout-chat-widget.tsx — floating Scout chat. Uses GET/POST /assistant/chat with a persistent visitorId (localStorage) so anonymous conversations are claimed on login. Dispatches trimry:scout-preferences-updated when Scout changes preferences so the dashboard refreshes.components/sports-preferences-editor.tsx — SportPicker, TeamSearch, LeaguePicker, RhythmPicker, PreferencesSummary and the composed SportsPreferencesEditor.components/upcoming-events-feed.tsx — renders an UpcomingFeed grouped by local day with team/league badges.components/dashboard/admin-send-campaigns.tsx — legacy dark admin tooling, scoped by .tr-admin-surface.components/dashboard/admin-sports-sync.tsx — events cache status (OpenAI web search provider) and manual sync.Copy .env.example:
NEXT_PUBLIC_API_BASE_URL (for example http://localhost:4000/api/v1)NEXT_PUBLIC_SITE_URL (for example https://trimry.com)NEXT_PUBLIC_GA_MEASUREMENT_IDNEXT_PUBLIC_META_PIXEL_IDcorepack pnpm install
corepack pnpm dev
Open http://localhost:3000. pnpm typecheck, pnpm lint and pnpm build must pass before shipping.
POST /auth/register (accepts sportsPreferences), POST /auth/login, POST /auth/login-link/request|consume, POST /auth/refresh, POST /auth/logout, POST /auth/whatsapp-checkoutGET /me, GET /me/upcoming-events, PATCH /me/activation-funnel, PATCH /users/me, PUT /users/me/sports-preferences, PATCH /users/me/preferences, PATCH /users/me/password, DELETE /users/meGET /sports/catalog, GET /sports/leagues, GET /sports/teams/search, GET /sports/events/previewGET /assistant/chat, POST /assistant/chatPOST /subscription (subscribe, update-delivery, send-sample), GET /billing/plan, POST /billing/checkout-session, POST /billing/portal-session, POST /billing/cancel-subscription, POST /billing/reactivate-subscription/admin/send-*, /admin/subscriptions/*, GET|POST /admin/sports/sync