r/coolgithubprojects • u/polyglobulous • 2h ago
Ratio: the coffee logging app I always wanted
github.com☕️ calling all coffee fanatics in this sub
I’m a V60 pourover every day kind of guy, and regularly have between 5-10 bags of coffee on hand - maybe 2 drinking, a couple resting, and a backstock in the freezer
For a while I had been using an Airtable setup for tracking the beans I purchased, which were resting, and logging brews each day so I could learn and analyze and basically keep getting better at making a solid cup of coffee
Recently I’ve been experimenting with building Cloudflare apps, and I made the coffee logging app I’ve always wanted called Ratio: https://github.com/tyler-class/Ratio
Basically Ratio is:
- free, open source, and self hosted on your own Cloudflare and GitHub accounts
- tracks your inventory of beans
- tracks each brew you make and lets you score and leave comments
- most useful IMO is it has a built in connector for AI assistants, so you can conversationally talk to Claude or ChatGPT about your coffees, have them log brews for you, have them tell you analysis about the beans and origins and whatnot that you rate the best
It’s totally free - it’s a 1 click self host deploy on Cloudflare, just thought I’d share here in case anyone else is a nerd about this like I am. There are screenshots on the Readme so you can see more of what it includes.
Technical stuff -
- When you deploy, it clones my GitHub source repo to your own new repo, then spins up a new CF Worker via wrangler that automatically builds a D1 database and R2 bucket bound to the Worker.
- The Worker both serves the application and serves the MCP endpoint.
- D1 is where all the data lives and R2 holds images you can upload of roaster logos or bags of coffee if you like.
- As I push continued updates, you can opt in to auto updates in settings, which basically is a GitHub action that runs every 6 hours and clones from source to your personal repo if there’s a diff.