<- Back
Comments (21)
- voidnapThe search results aren't hyperlinks? So middle clicking to open in a new tab does nothing. Odd choice.
- yawaraminHello, 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 :-)
- laurentlbIs there a way to set the default unit? I'd prefer to see the information per 100g by default (instead using random units).
- simlanLooks 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.
- cd4plusI 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
- recursivedoubtsawesome, very good looking and simple, useful functionality
- olarmVery nice, what is the source of the data?
- torsianWorldGreat optimization!
- razorsonNice great job, how do you handle multi languages?
- KuyawaSimple and beautiful, I love it.
- setnonecool! i see at least two reasons in the title to upvote this
- FinnucaneThe search seems a bit weird. A search for salmon includes almonds in the results, and a search for spinach includes Tahitian taro.
- llovanHi 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.