Need help?
<- Back

Comments (21)

  • voidnap
    The search results aren't hyperlinks? So middle clicking to open in a new tab does nothing. Odd choice.
  • yawaramin
    Hello, nice work. I recommend running Chrome's built-in Lighthouse analysis tool specifically for accessibility. It will make some very helpful suggestions, like img alt text and colour contrast issues. One example that I eyeballed is the search bar–the background colour is pink and the text colour is yellow. Kinda hard to read :-)
  • laurentlb
    Is there a way to set the default unit? I'd prefer to see the information per 100g by default (instead using random units).
  • simlan
    Looks good. The quantities input box behaves strange on Firefox mobile. Can't seem to delete the input and type something new. Jumps to a default or any number before I get to type my grams.
  • cd4plus
    I can't enter a serving size that's not a whole number on mobile because it automatically closes the keyboard when the text field is cleared
  • recursivedoubts
    awesome, very good looking and simple, useful functionality
  • olarm
    Very nice, what is the source of the data?
  • torsianWorld
    Great optimization!
  • razorson
    Nice great job, how do you handle multi languages?
  • Kuyawa
    Simple and beautiful, I love it.
  • setnone
    cool! i see at least two reasons in the title to upvote this
  • Finnucane
    The search seems a bit weird. A search for salmon includes almonds in the results, and a search for spinach includes Tahitian taro.
  • llovan
    Hi HN, I'm Jovan. I've been building Nutrepedia part-time from Monterrey, Mexico.It's a multilingual nutrition reference site: 1,635 foods rendered into 47,415 localized pages across 29 regional locales. Each page has nutrition facts, localized names, portion terms, regional routing, imagery, and short food context.The stack is Clojure, HTTP-Kit, Compojure, Hiccup, HTMX, and Postgres. Postgres handles the food data, localized content, admin workflow, task queues, search, and evaluation records.The search piece has been the most interesting technically. Latin-script fuzzy search uses pg_trgm and unaccent. CJK and other non-Latin scripts use PGroonga. Romanized aliases are indexed separately, so a query like "rasbhari" can find a Hindi food name like "rasbhari" / "रसभरी".I built this because most nutrition tools feel calorie-first, signup-first, and English focused. I wanted the reference layer to be free and useful before asking anyone to track meals or create an account.I'd especially appreciate feedback on search, localization mistakes, whether the pages are useful before tracking exists, and any obvious technical blind spots.