Tell Dr. Stillwell what's going on and get the right guided meditation for this moment.
HealthJavaScript · CSSGitHub @SpectrumTechEngineOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
Dr. Stillwell asks what's going on with you, asks a couple of follow-up questions, then prescribes one guided meditation on YouTube, dosed to the time you have.Read the full README ↗Dr. Stillwell asks what's going on with you, asks a couple of follow-up questions, then prescribes one guided meditation on YouTube, dosed to the time you have.
firebaseConfig values into .env.local:VITE_FIREBASE_API_KEY=...
VITE_FIREBASE_AUTH_DOMAIN=...
VITE_FIREBASE_PROJECT_ID=...
VITE_FIREBASE_STORAGE_BUCKET=...
VITE_FIREBASE_MESSAGING_SENDER_ID=...
VITE_FIREBASE_APP_ID=...
http://localhost:5173/* and https://thespectrumtechengine.com/*. Under API restrictions allow only YouTube Data API v3..env.local as VITE_YOUTUBE_API_KEY=...The free quota is about 100 prescriptions a day (each costs ~101 units of the 10,000 daily).
npm install
npm run dev
The app is published automatically to https://thespectrumtechengine.com/prescription-meditation/ by GitHub Pages.
Every push to main runs .github/workflows/deploy.yml, which builds the app and publishes it.
The settings from .env.local are stored as repository secrets (Settings → Secrets and variables → Actions),
because .env.local itself is never committed. If you change a key, update the matching secret too.
Google sign-in only works on addresses listed in Firebase → Authentication → Settings → Authorised domains
(localhost and thespectrumtechengine.com).
The database (Firestore, europe-west1) rules live in firestore.rules. After changing them, publish with npx firebase-tools deploy --only firestore:rules.
src/doctor.js (CHAINS) spreads requests across several and moves on when one runs out. Adding billing to the Firebase project removes the daily limits.Free limits today, for the whole app per day:
| Limit | Capacity | How to raise it |
|---|---|---|
| Gemini AI, free tier (~20 requests per model, 4 models rotate) | ~20 consultations | Upgrade the Firebase project to Blaze (can share the What's 4 the Gaff billing account). Paid tier, no daily cap, ~€0.005–0.01 per consultation. |
| YouTube Data API (10,000 units; ~101 per prescription) | ~99 prescriptions | Not affected by Blaze. Apply (free) via the YouTube API quota extension form well before it's needed. When it runs out, slips show a "Find it on YouTube" link instead. |
| Fraud Defense / App Check | 10,000 checks a month (~100 regular users) | Small charge beyond that. |
Rough budget guide: €15 a month ≈ 1,500–3,000 consultations ≈ 15–35 people using it 3 times every day, or 60–100 typical users.
Before a big launch:
CHAINS in src/doctor.js to always use the best model.src/doctor.js – Dr. Stillwell's instructions: follow-up questions and the prescriptionsrc/youtube.js – picks the best real video (length, teacher, never one you disliked)src/firebase.js – sign-in, saving, AI connectionsrc/main.js – the screensfirestore.rules – who can read and write what