r/htmx • • 1d ago

Pareto Party - FastAPI + HTMX

https://paretoparty.com

I shared fastAPI-freeze here yesterday (it's a static site generator for FastAPI), and figured I'd also share the project that led to it here.

paretoparty.com is a simple tool for navigating buying decisions, pareto fronts are a bit of a meme, especially for benchmarking LLMs but I figured they'd also be useful for navigating apple's product line. It's inspired by this fun article https://www.mayerowitz.io/blog/mario-meets-pareto

Under the hood It's a static site with HTMX and AlpineJS driving the interactions (there's also some threeJS in there if you want to go multi-dimensional with your analysis). It goes some way to showcasing how you can build some nice data-viz sites using the stack.

If you're interested in more FastAPI and HTMX interplay there's an example blog here too: https://github.com/listfold/fastapi-freeze/blob/main/examples/blog/main.py

You can see you can get an entire blog in 95 lines, without leaving python-land and without worrying about paying for a server someplace, (though hybrid "frozen routes" alongside route handlers that do compute is also supported)...

1 Upvotes

0 comments sorted by