β To-Do List
Tasks carry over automatically Β· Plan exercise β creates todos
π½οΈ Meals & Nutrition
1,200+ foods Β· auto-calculated nutrients
β Manual entry (food not found?)
πͺ Exercise
π Steps
π Meal Planner
π― SMART Goals
π Study & Interview Prep
βοΈ Travel Planner
π Mood & Mind Journal
π΄ Sleep
πΈ Cycle Tracker
π People & Connections
π° Finance
π AI Life Analysis
π₯ Export Data
βοΈ Setup Guide
Follow once β then everything runs forever. Estimated time: 20 minutes total.
π Step 1 β Store Your Files (Permanent)
Create a permanent folder
On your computer, create a folder called At a Glance in a place you'll never delete β e.g. Documents/At a Glance or your Google Drive desktop sync folder. This is your app's home forever.
Put all 3 files in that folder
The 3 files must always be together in the same folder:
β’ index.html β the main app
β’ foods.js β the food database
β’ cloudflare-worker.js β Notion sync script (deploy once, ignore after)
Open the app
Double-click index.html β it opens in your browser. Bookmark it. Your data saves automatically in your browser's storage (localStorage). It persists between sessions as long as you use the same browser on the same device.
For cross-device access (optional)
Put the folder in Google Drive or iCloud Drive and sync to all your devices. Or export regularly using the Export tab. For full cross-device sync, connect Notion (Step 3).
βοΈ Step 2 β Cloudflare Worker (Notion bridge)
Go to dash.cloudflare.com
Log in β click Workers & Pages in the left sidebar.
Create Worker
Click Create (blue button) β Create Worker. Name it at-a-glance. Click Deploy.
Paste your script
Click Edit Code. Select all default code (Ctrl+A), delete it. Open cloudflare-worker.js in Notepad, copy everything, paste it in Cloudflare. Click Deploy.
Add your Notion token secret
Go to Settings tab β Variables and Secrets β Add β type Secret.
Name: NOTION_TOKEN
Value: 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
Click Deploy.
Copy your Worker URL
Go back to the Worker overview. Copy the URL β it looks like:https://at-a-glance.YOUR-NAME.workers.dev
π Step 3 β Notion Setup
Create a Notion account (if needed)
Go to notion.so and sign up free. This is where all your app data gets backed up permanently in the cloud.
Create a new integration
Go to notion.so/my-integrations β New integration β name it At a Glance β Submit. Your token is already in the app (it starts with ntn_β¦).
Create a database in Notion
In Notion: New page β Type /database β choose Table β full page. Name it At a Glance Log. Add these columns:Date (Date), Calories (Number), Protein (Number), Water (Number), Steps (Number), Exercise_Min (Number), Mood (Text), Weight (Number), Notes (Text)
Share database with your integration
In Notion: Open your database β click ... (top right) β Add connections β find At a Glance β Confirm.
Get your Database ID
Open your database in browser. The URL looks like:notion.so/YOUR-NAME/abc123def456...?v=...
The bold part (32 characters) is your Database ID. Copy it.
π Step 4 β Connect Everything
Edit index.html once
Open index.html in Notepad or VS Code. Find these two lines near the top of the <script> section:const WORKER_URL = '';const NOTION_DB_ID = '';
Paste your Worker URL and Notion DB ID between the quotes. Save. Reload the app in browser.
Test the connection
Log any meal. You should see the Notion dot turn green at the bottom of the sidebar. A new entry will appear in your Notion database within seconds. That's it β you're fully connected!
What syncs to Notion?
Every time you log anything, a daily summary pushes to Notion: date, calories, protein, water, steps, exercise minutes, mood, weight, and notes. Your full detailed data always lives in the app (localStorage). Notion is your permanent cloud backup and read-anywhere record.
π Your Data Safety
Multiple layers of backup
Layer 1: Browser localStorage (instant, always available offline)
Layer 2: Notion cloud sync (permanent, cross-device readable)
Layer 3: Excel export (download anytime from Export tab)
Layer 4: The HTML file itself is portable β move it anywhere and it keeps working.
If you switch browsers or devices
Export your data as Excel from the Export tab. In future: we can add an import feature to restore from Excel. For now, keep the same browser for continuity.