Lalabase
Tickets, Doku, Zeiterfassung und Kundengespräche an einem Ort, durchsuchbar per KI. Für Softwarefirmen mit Kundenprojekten. Open Source: auf deinem eigenen Server oder in unserer Cloud in Deutschland.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Finance App For Personal Trainers
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Sessions, packages, monthly bills and studio rent for personal trainers, counted from Google Calendar.
src/app.js holds all the logic and screens. Each adapter only answers "where is the data" and "how do I read the calendar". Change the app once and both versions get it.
Then ask Claude to republish that file to the existing Trainer Tally link. Data paths never change, so everyone's data carries over.
About an hour of clicking, in this order.檢視完整 README ↗Sessions, packages, monthly bills and studio rent for personal trainers, counted from Google Calendar.
One codebase, two homes:
| claude.ai version (today) | Hosted version (launch) | |
|---|---|---|
| Runs in | a Claude artifact | your own domain on Vercel |
| Sign-in | the viewer's Claude account | Continue with Google |
| Calendar | the viewer's Claude Google Calendar connector | Google Calendar API (read-only) |
| Data | artifact database, private per viewer | Supabase, private per trainer (row-level security) |
| Built from | src/app.js + src/adapter-claude.js | src/app.js + src/adapter-hosted.js |
src/app.js holds all the logic and screens. Each adapter only answers "where is the data" and "how do I read the calendar". Change the app once and both versions get it.
src/
app.js engine + UI (shared)
styles.css design (shared; cream light + dark)
shell.html page frame (shared)
adapter-claude.js claude.ai storage + calendar
adapter-hosted.js Supabase storage + /api/calendar
api/
calendar.js Google Calendar proxy (read-only)
auth/store-token.js keeps the Google refresh token server-side
billing/*.js Stripe checkout, portal, webhook
supabase/schema.sql tables + row-level security
scripts/build-artifact.mjs builds the single-file claude.ai page
public/privacy.html privacy policy draft (needed for Google review)
npm run build:artifact # writes dist-artifact/index.html
Then ask Claude to republish that file to the existing Trainer Tally link. Data paths never change, so everyone's data carries over.
About an hour of clicking, in this order.
supabase/schema.sql → Run.https://YOUR-DOMAIN/privacy.html). Scopes: add .../auth/calendar.readonly. Under Test users, add Tatjana and anyone else testing (up to 100).https://YOUR-PROJECT.supabase.co/auth/v1/callbackhttps://YOUR-DOMAIN, and add http://localhost:3000 for local testing..env.example.APP_URL to it.Do all of this in a sandbox first, then repeat in live mode.
price_...).STRIPE_SECRET_KEY (never paste it into chat or commit it).https://YOUR-DOMAIN/api/billing/webhook, events:
checkout.session.completed, customer.subscription.created, customer.subscription.updated, customer.subscription.deleted, customer.subscription.paused, customer.subscription.resumed, invoice.paid, invoice.payment_failed.
Copy the signing secret into STRIPE_WEBHOOK_SECRET.STRIPE_AUTOMATIC_TAX=true (Massachusetts taxes SaaS; check with your accountant).VITE_BILLING_ENABLED=true. When the trial should start counting, set REQUIRE_SUBSCRIPTION=true; new sign-ups get TRIAL_DAYS free.How access works: the webhook re-reads each subscription from Stripe and stores access_until (end of the paid period + 2 days). active, trialing and past_due (while Stripe retries the card) keep the app unlocked; canceled, unpaid and expired checkouts lock it once access_until passes. A subscriber who taps Subscribe again is sent to the portal, not a second subscription.
Test cards: 4242 4242 4242 4242 succeeds, 4000 0000 0000 0341 fails on renewal. Any future date and any CVC.
While the consent screen is in Testing, only listed test users can sign in. To open it to everyone, click Publish app and submit for verification. calendar.readonly is a sensitive scope: Google asks for the privacy policy, a short screen recording of the sign-in and how calendar data is used, and domain verification. Typical turnaround is a few weeks. No paid security audit is needed for this scope.
/studio.html)For studio owners who rent space to trainers. Run supabase/studio.sql once after schema.sql.
/?join=CODE). The trainer signs in to Trainer Tally, is linked to their row, and sees the same statement under Billing. Links are created only by /api/studio/join; row-level security lets a linked trainer read only their own row.In the claude.ai version: Settings → Download backup (.json). In the hosted version, after sign-in: first setup screen → Restore from a backup (or Settings → Restore a backup).
npm install
npx vercel link # once
npx vercel env pull .env.local
npm run dev # app + /api on http://localhost:3000
supabase/automation.sql adds synced events (calendar_events), the email outbox, client links, and an hourly job./api/cron/hourly. For each trainer it re-syncs the calendar (35 days back to 70 ahead; full history the first time) and queues anything due, in the trainer's time zone:
RESEND_API_KEY and MAIL_FROM are set. Until then they wait in the app under Settings → Automatic messages./s/<token> shows a client their sessions left and upcoming dates (no prices). Created and turned off from the client sheet.supabase/signoff.sql. Linked trainers see the studio's statement next to their own count of studio sessions and tap Confirm or Dispute (with a note). The studio sees only the answer, the trainer's count and the note; a confirmed month is locked until the studio reopens it. Sessions titled with a no-rent word ("Sarah home", "Mike - online") count as sessions but owe no rent, on both sides.
While recording a session, tap 🎙 Say it, say what the client did ("goblet squat ten at thirty-five", "same again", "three sets of eight at 135"), and tap again. /api/voice turns it into sets; they show up as a card to check, and nothing is saved until you tap Save. A set number is used only if you say one; otherwise each set goes into the next open set for that exercise. With no exercise named, it means the last one you logged.
ANTHROPIC_API_KEY (the same key as the Programs assistant).OPENAI_API_KEY set, the server transcribes the clip with gpt-4o-mini-transcribe, primed with today's exercise names. Without it, the browser's own speech recognition is used (free; Chrome and Safari).