Scan store receipts with Gemini Flash and track expenses in Excel.
pip install -r requirements.txt
cp .env.example .envAdd your GEMINI_API_KEY in .env.
Scan a receipt:
python cli.py add receipt.jpgOther commands:
python cli.py list- list receiptspython cli.py show <id>- show receipt itemspython cli.py stats- show spending statspython cli.py export- update depenses.xlsx
You can also run the Telegram bot:
python bot.pySet TELEGRAM_BOT_TOKEN in .env.
To restrict access to your household, set TELEGRAM_ALLOWED_USER_IDS=123,456.
In Telegram:
- Send a photo to scan and save it
/stats- spending stats/list- list receipts (with paging buttons)/show <id>- show receipt items/export- download depenses.xlsx