BikeControl (SwiftControl)
Zwift Click과 Shimano 컨트롤러를 MyWhoosh와 Rouvy와 Zwift에서 쓴다
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Personal installable PWA. Four exercises in strict rotation (Push-ups, Squats, Crunches, Run). Each exercise's target goes up one step every time that exercise is completed. Tracks streaks, backlog (actual minus target, all time), lifetime totals, history and charts.
TypeScript (strict), Vite, Vitest. No framework, no runtime dependencies. Data lives in the browser's localStorage.
npm install
npm run dev # local dev server
npm test # vitest
npm run typecheck
npm run build # typecheck + production build into dist/
Pushing to master redeploys on Vercel (framework preset: Vite, output dist).
| File | Job |
|---|---|
src/config.ts | The routine (PLAN) and tuning numbers. The one file to edit for most changes. |
src/types.ts | Data shapes. |
src/logic.ts | All rules, pure functions, no DOM or storage. Everything shown is derived from the log. |
src/store.ts | Persistence, undo snapshots, import and export. Storage is injected so tests use a fake. |
src/views.ts | Screens as pure functions returning HTML. |
src/html.ts, src/format.ts | Small markup and formatting helpers shared by the views. |
src/sync.ts | Cloud sync (Supabase). planSync is the pure decision logic and is unit tested. |
src/push.ts | Web Push subscription for the daily reminder. |
supabase/functions/wt-remind/ | Hourly reminder function. Deployed copy lives in the Supabase project; redeploy after editing. |
src/dom.ts | Form reading, toast, modal, download. |
src/app.ts | Wiring: state, rendering, the actions map (data-act="name"), events. |
src/styles.css | Theme variables at the top; per-exercise colours come from PLAN. |
public/ | Service worker (network first), manifest, icons. |
TEMPLATE in config.ts only feeds the first-run "four-exercise rotation" option and defaults for older saved data.logic.ts, then add a test in logic.test.ts.actions in app.ts and a data-act in the view.storageKey or snapshotKey in config.ts: they match the data already on the phone.iPhone: open the site in Safari, Share, Add to Home Screen. Android: Chrome menu, Install app. It must be the browser itself, not a link opened inside another app. The app also shows an install card under Backup.
Data is per browser. Use Backup > Download file or Copy as text now and then. The app also keeps the last few states automatically (Backup > Automatic snapshots).
Tables, all prefixed wt_: wt_state (one JSON document per user), wt_push_subscriptions, wt_config (VAPID private key, no client access). Row-level security allows only the owner's email. An hourly pg_cron job calls the wt-remind edge function. Sync is last-write-wins with a prompt when both sides changed; the phone copy always works offline.
Public values (project URL, publishable key, VAPID public key) are in CLOUD in src/config.ts.