Skip to content

Pupler/nutribeast-bot

Repository files navigation

πŸ”₯ NutriBeast Bot

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

Preview

grafik

Features

  • πŸ— 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

Planned

  • πŸ“‹ Custom food presets β€” manually add and save foods with custom macros

Stack

  • C# / .NET 8 Worker Service
  • Telegram.Bot
  • SQLite + Dapper
  • Open Food Facts API
  • Polly (retry policy)

Setup

  1. Clone the repo
  2. Create appsettings.Development.json:
{
  "BotToken": "YOUR_TOKEN_HERE",
  "ConnectionStrings": {
    "Default": "Data Source=nutribeast.db"
  },
  "WelcomePhotoId": "YOUR_PHOTO_ID_HERE"
}
  1. Run:
dotnet run

License

GPL-3.0

Releases

No releases published

Packages

 
 
 

Contributors

Languages