Inspiration

I want to lose weight and I do enjoy cooking,
as I scroll on ig, always saw some high protein recipe,
but when I saved them always disappear in the ig reels
and find it hard to plan a whole week's meals
myfitnesspal is great, but still not enough
so I decide made a better one, with the function I long for

What it does

  • save your own ingredient
  • search for the macro
  • save your own recipe
  • generate the most viral recipe from the internet
  • draft your own recipe, with macro detail
  • automatic cal the kcals and macro
  • auto turn the links into a detail recipe, of coz with kcal and macro
  • store my favourite recipe with the macro detail
  • weekly meal planner

How we built it

all on bolt new, and I challenge myself for not server need, which
means I will only use supabase for backend
with the supabase edge function and cron function
I will be able to control the rate of request and avoid put the api key on my frontend

Challenges we ran into

there is rate limit for the api from usda api,
but I do it by separate to quick search and deep search
quick search is query supabase
while deep search is query using api

Accomplishments that we're proud of

no a single server is used in the project,
only supabase, front end on netlify, and sort of saas
a seamless experience for use, straight from a single link to a recipe also with the ingredient macro

What we learned

serverless not means simple
need to design well the logic and cache
llm is powerful, but still need validation
sometimes use what you have is better than build from scratch

What's next

  • add image to ingredient recognition
  • improve scraping quality and fallback handling
  • save weekly meal plan and share with friend
  • support ingredient replacing (like low carb version)
  • maybe release as chrome plugin for faster recipe saving
  • improve UI/UX for phone version

please watch my youtube video for better understanding, it is a chill video :=) .

For testing please email: icanthitmyprotein@cheatdaydontmeancheat.top to get a pro account

Built With

  • edgefunction
  • react
  • supabase
  • usda-api
Share this project:

Updates