尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Know exactly when to leave, with live traffic.
Leave By is a commute-aware day planner. It looks at your classes and shifts, works out the drive between each place, and tells you when to walk out the door — using live traffic from TomTom.
| Piece | What it does |
|---|---|
index.html | The whole app: home screen, week/month views, menu, splash |
platform.js | Connects the app to accounts (Supabase) and live traffic (our server) |
api/tomtom.js | Server function that calls TomTom with a secret key |
api/config.js | Server function that gives the page its public Supabase settings |
api/transit.js | Server function that finds bus and train options with Google's Routes API (signed-in users only) |
api/import.js | Server function that reads a schedule screenshot with Claude (signed-in users only) |
supabase/schema.sql | Database table with row-level security, so each person only sees their own data |
Hosting: Vercel. Accounts and storage: Supabase with Sign in with Google. Traffic: TomTom.
You need free accounts at GitHub, Vercel, Supabase, Google Cloud, and TomTom Developer.
supabase/schema.sql, and click Run.leave-by GitHub repo.TOMTOM_KEY — your TomTom keySUPABASE_URL — your Supabase Project URLSUPABASE_ANON_KEY — your Supabase anon public keyANTHROPIC_API_KEY — optional; turns on screenshot import (set a monthly spend limit in the Claude Console)GOOGLE_MAPS_KEY — optional; turns on car vs. transit comparison (Routes API, restricted to that API, with a daily quota)leave-by.vercel.app).https://YOUR-PROJECT.supabase.co/auth/v1/callback (Supabase shows this exact URL on its Google provider page).Open your Vercel address, tap ☰ → Profile → Sign in with Google, and you're live.
In Google Cloud, enable the Google Calendar API and add the calendar.readonly scope under Google Auth Platform → Data Access. Until Google verifies the app, people connecting their calendar see an "unverified app" screen and the app is limited to 100 users.
To keep people connected (instead of reconnecting every hour), run the calendar_tokens part of supabase/schema.sql and add these Vercel env vars: SUPABASE_SERVICE_ROLE_KEY (Supabase → Project Settings → API Keys → secret key), GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET (the same OAuth client used for Google sign-in). api/calendar-token.js stores Google's refresh token server-side and renews access in the background.