Status: β Stable | π§ Adding Features
A Telegram bot for tracking daily calories and macros (protein, fat, carbs), built with C# and .NET 8 Worker Service.
π @NutriBeastBot
- π Add food β auto search by name and grams via Open Food Facts API
- βοΈ Edit macros β adjust calories, protein, fat, carbs before saving
- β Confirm/Cancel β review macros before saving to database
- π Today β full summary of calories and macros for the day
- π History β browse logs by day for the past 7 days
- π― Goal setup β personalized macro targets via Mifflin-St Jeor formula (bulk/cut/maintain)
- π Goal progress β compare today's intake with daily targets
- π Reminders β set daily notification time with presets or custom input
- π¬ Clean message design β structured Telegram UI with emojis and inline actions
- πΎ SQLite storage β all entries saved locally with Dapper ORM
- π Custom food presets β manually add and save foods with custom macros
- C# / .NET 8 Worker Service
- Telegram.Bot
- SQLite + Dapper
- Open Food Facts API
- Polly (retry policy)
- Clone the repo
- Create
appsettings.Development.json:
{
"BotToken": "YOUR_TOKEN_HERE",
"ConnectionStrings": {
"Default": "Data Source=nutribeast.db"
},
"WelcomePhotoId": "YOUR_PHOTO_ID_HERE"
}- Run:
dotnet runGPL-3.0