Skip to content

Pupler/nutribeast-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”₯ NutriBeast Bot

Status: 🚧 In Development

A Telegram bot for tracking daily calories and macros (protein, fat, carbs), built with C# and .NET 8 Worker Service.

πŸ‘‰ @NutriBeastBot

Features

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

Planned

  • ✏️ Edit food entries
  • 🎯 Display daily goal progress
  • πŸ“‹ Custom food presets

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"
  }
}
  1. Run:
dotnet run

License

GPL-3.0

Releases

No releases published

Packages

 
 
 

Contributors

Languages