Status: π§ In Development
A Telegram bot for tracking daily calories and macros (protein, fat, carbs), built with C# and .NET 8 Worker Service.
π @NutriBeastBot
- π Add food β search by name and grams, auto-fetch macros from Open Food Facts API
- β 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 β enter weight, height, age, gender and goal (bulk/cut/maintain), get personalized daily macro targets calculated via Mifflin-St Jeor formula
- πΎ SQLite storage β all entries saved locally with Dapper ORM
- βοΈ Edit food entries
- π― Display daily goal progress
- π Custom food presets
- 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"
}
}- Run:
dotnet runGPL-3.0