You are browsing as a guest. Sign up (or log in) to start making projects!

Alorie

  • 7 Devlogs
  • 6 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)

Ship #1

I made Alorie, a discord bot that logs food from photos and estimates calories and macros using AI, then tracks how you’re doing against a daily goal. Honestly the hardest part was just the coding itself. This was basically my first real project, so I ran into a ton of mistakes along the way. But I kept pushing through each one and ended up with a bot that actually works, which I’m genuinely proud of. I will make it better throughout the way. Hope you guys like it

  • 7 devlogs
  • 6h
Try project → See source code →
Open comments for this post

39m 13s logged

added /compare tonight, send two food pics and AI tells you how they stack up nutrition-wise. kept it neutral on purpose, didn’t want it picking a “winner” since that depends on what someone’s actually going for. also added /commands, it shows you what the bot’s commands are and what they do. more features coming soon

0
0
30
Open comments for this post

1h 43m 40s logged

big one tonight. added a real goal command (separate from calcgoal) so you can just punch in a number directly, and both now calculate protein, carb ,fat targets too, not just calories. /log now shows your progress against those targets right after logging, plus AI writes a short one sentence observation about your day’s numbers instead of the bot just dumping raw stats at you. also spent a genuinely painful chunk of the night chasing a “hang” that turned out to not be a hang at all.. turns out i’d added a confidence field to my insert statement but never actually added that column to the database table itself. i wanna kms. more features coming soon

0
0
13
Open comments for this post

16m 10s logged

added a delete button right on the log confirmation message so if the bot logs something wrong or you just misclick, you can delete it instantly instead of hunting for the entry id and running a separate command. used discord’s button/view system for this, which was new territory. turns out you can attach interactive buttons to any message and handle clicks as their own separate interaction. also added a safety check so only the person who logged something can delete it, in case someone else is in the same channel. small feature, but makes the bot feel a lot better to use since mistakes are now a one click fix 😊

0
0
35
Open comments for this post

55m 34s logged

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

0
0
3
Open comments for this post

26m 32s logged

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

0
0
2
Open comments for this post

1h 2m 18s logged

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!

0
0
2
Open comments for this post

54m 53s logged

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!

0
0
6

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…