Alorie
- 4 Devlogs
- 3 Total hours
A discord bot that lets you log food by sending a photo, and uses claude's AI to estimate calories and macros automatically. Currently mid rebuild, no commands implemented yet. First project as well! (kindof)
A discord bot that lets you log food by sending a photo, and uses claude's AI to estimate calories and macros automatically. Currently mid rebuild, no commands implemented yet. First project as well! (kindof)
Added /calcgoal cog, it puts in your height, weight, age, and activity level and calculates a real daily calorie target using the mifflin-st jeor formula, then saves it as your goal automatically. also tried adding a /help command and it turned into a multi-hour nightmare. kept getting “unknown integration” errors no matter what i did. might try to add it again in the future
Got /today working. it now actually shows real calorie numbers instead of just a list of what i ate, plus a total for the day and how i’m doing against my goal if i set one. also had a whole side quest tonight untangling git after moving my project out of onedrive (which, turns out, was actually the reason my bot kept hanging forever on database writes, onedrive syncing was locking the file mid-write 😭😭). had to manually reconnect my local folder back to my github history since the .git folder didn’t come with when i moved things. annoying but got it sorted. next up is /week
Finally got my first real cog working, /log now actually takes my photo, sends it to claude, and gives me back calories and macros. it still might be buggy but it worked for me. more features coming!
Okay so today was mostly just me tearing my bot apart and rebuilding it on a new folder lol. had a whole working version before but it was all just one massive bot.py file so i split it into separate files. also finally got it on github which was it’s own experience 😭 accidentally committed my database file and some python cache junk before i got .gitignore actually working right, so i had to google how to untrack files without deleting them 😪. no actual commands work yet in this version, so it just connects and does nothing basically, but i will be implementing commands soon!