// nutrition

Nutrition Tracker

// profile setup
// goal
0
kcal
Protein
Carbs
Fat
// weekly meal plan

Click + to add foods to each day's meals

// shopping list

Generated from your weekly meal plan

Not connected — enter your bot token and chat ID below
// setup (one-time)
  1. 1
    Message @BotFather/newbot → get your Bot Token. Add it as TELEGRAM_TOKEN in Railway. Never paste it here.
  2. 2
    Start a chat with your bot, then message @userinfobot to get your Chat ID (numeric, e.g. 123456789).
  3. 3
    Generate a Web App Secret (used instead of the token — safe to store in browser):
    node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
    Add it as WEBAPP_SECRET in Railway and paste it below.
  4. 4
    Enter your Railway server URL, Chat ID, and Secret below → click Test.
The Bot Token and Anthropic API key live only in Railway env vars — never in the browser. The Web App Secret is a separate lightweight password just for this page.
// send to telegram now

Preview of the message that will be sent for today:

// automatic reminders

When you open this page, it checks if a scheduled message should be sent (within a 90-min window of each time). No server needed — works whenever the page is loaded.

Morning reminder
Sends your daily calorie target
Lunch check-in
Shows calories logged so far
Dinner check-in
Remaining calories for the day
Daily summary
Full report with all meals
// photo logging via bot server
How it works: deploy the included bot/server.js to Railway (free $5/month credit). Then send a photo to your bot → Claude Vision analyzes it → logged automatically. Enter the server URL below to sync the log back to this web app.
// deploy to Railway (5 min)
  1. 1
    Go to railway.app → New Project → Deploy from GitHub repo → select giladcameo/giladcameo
  2. 2
    In Railway settings set Start Command: cd bot && npm install && node server.js
  3. 3
    Add environment variables: TELEGRAM_TOKEN and ANTHROPIC_API_KEY
  4. 4
    After deploy, open https://your-app.railway.app/setup-webhook?url=https://your-app.railway.app/webhook once to register the webhook
  5. 5
    Paste the Railway URL below and click Sync from Bot