foodoo
v0.1.3
Published
Foodoo for the terminal: your food diary — log food by text, photo or voice, water, today and statistics.
Maintainers
Readme
foodoo — your food diary in the terminal
Log what you ate by words, a photo or a voice recording, add water, look at today or any day and at your statistics — all in your Foodoo account, so it shows up in the Foodoo app at once. Premium is bought only in the Foodoo app; here it simply works when you have it.
curl -fsSL https://foodoo.fit/install.sh | sh # macOS / Linux
brew install foodoo-ai/tap/foodoo # Homebrew
npm install -g foodoo # Node 20+foodoo login # a QR code and a code: confirm in the Foodoo app or on foodoo.fit
foodoo # the interactive diaryIn the diary type what you ate and press Enter, drop a photo or an audio file
into the terminal, or use a command: /today, /day -1, /water 250,
/delete 2, /portion 2 150, /undo, /stats 30, /usage, /help.
Plain commands for scripts: foodoo add <text>, foodoo add --photo <file>,
foodoo today --json, foodoo water 300, foodoo stats --days 30 --json,
foodoo rm <id>, foodoo logout. Exit codes: 0 ok, 1 failed, 2 bad
arguments, 3 not signed in.
The token lives in ~/.config/foodoo/config.json (only you can read it) and
opens only your diary, water and statistics. foodoo logout, or Profile →
Devices and apps in the app, ends it at once.
MCP Server (Claude Desktop, Cursor, ChatGPT, Antigravity)
Run foodoo login once, then add Foodoo as a stdio MCP server:
{
"mcpServers": {
"foodoo": {
"command": "foodoo",
"args": ["mcp"]
}
}
}Without installing anything: "command": "npx", "args": ["-y", "foodoo", "mcp"].
Or use the hosted server at https://mcp.foodoo.fit — see foodoo.fit/ai.
Or pass FOODOO_TOKEN=fdo_… via env. Exposes tools (foodoo_get_today,
foodoo_get_day, foodoo_get_stats, foodoo_log_food, foodoo_log_water,
foodoo_delete_entry, foodoo_whoami), resources (foodoo://today,
foodoo://stats/7d), and prompts (dinner_recommendation, daily_review).
Environment: FOODOO_API_URL, FOODOO_TOKEN, FOODOO_LANG=ru|en, FOODOO_NO_UPDATE=1,
FOODOO_PIXELS=half|square (how Foodoo is drawn), FOODOO_MOUSE=0 (leave the
mouse to the terminal: no wheel scrolling, plain text selection), NO_COLOR.
Installed with install.sh it keeps itself up to date: once a day the diary
checks the latest release and puts the new binary in place for the next
start; foodoo update does it now. Installed with Homebrew or npm it only
says that a new version is out — brew upgrade foodoo / npm i -g foodoo@latest.
FOODOO_NO_UPDATE=1 turns the check off.
Foodoo is a product of its own: this package is free to use with a Foodoo account, its code is not open source.
