For anyone who's on the low-FODMAPs diet, I've got something neat to share—a version of the Monash fodmaps data that *doesn't* require a smartphone!

This is a single, all-in-one HTML file containing data for ~900 different foods and a simple search interface. It's *entirely* local, which means you can use it offline. Good for privacy, too!

See https://defcon.social/@fleep/115652856818279202 for the live demo and a link to the source code.

(I really recommend saving off your own copy! if you save the source code as `fodmaps.html`, you *should* be able to open that in your browser. Then if the demo disappears, you still have a copy.)

If anyone wants to improve on the UI... you have my blessing. I'm not a designer. 😆

#fodmap

(For anyone worried about the safety of saving the HTML locally and opening it in your browser: I hear you! But there's only about 3 pages of pretty simple javascript in there, and if you have at least marginal coding skills you can see that the big wad of encoded data really is just loaded as data, and isn't hiding malicious code.)

Latest version of the #fodmap offline webapp:

- Code version: 2025-12-02
- Data version: 6b6695b133
- Source code: https://pastebin.com/raw/CpxjSetm
- Demo: https://codepen.io/pungent/embed/LENzqxW?default-tab=result

This version includes comments on the servings, such as "very-low-fodmaps" and "contains-capsaicin"—information Monash provides that goes beyond the basic FODMAP ratings.

(This toot will be kept up to date with the latest versions. Fave it if you want edit notifications!)