Lurker News
I recently dug up an old project in an attempt to improve on it. It's a code sandbox for playing around with HTMX in the browser, that runs a mock server within the sandbox iframe. The server "framework" is loosely based on Django, so if you're familiar with Django, you'll immediately understand what's going on.

I recommend clicking through the examples.
Github repo: https://github.com/lassebomh/htmx-playground
Probably my favorite part is the lack of HTMX specific code. It's designed to mimic the client and server, but really nothing else. In principle, this means that it is agnostic to whatever frontend framework is being used.
Known problems: Limited mobile support, Ace Editor (should just be Monaco) and lack of proper error outputs.
Feel free to give feedback, suggestions or questions.
I learned a lot when making it, and I hope you'll something about HTMX! Happy tinkering.

Comments (118) 19 threads

Show all comments

Showing thread 3 of 19

philips4 replies#
Nice! I have been using maplibre with django and htmx. I should try and put an example up there to share with others.
bitterblotter#
Thanks, and you are very welcome to post it here. Also, if you or anyone else wants to adapt more of the official examples, create an issue with the link, and I'll add them to the repo :)
sroerick1 reply#
I'd like to see this. I don't have anything I can share publicly, but I've been making stuff with Django, htmx, SQLAlchemy and plotly and I've found it to be pretty robust
bitterblotter1 reply#
I'm curious about why you use Django together with SQLAlchemy, instead of using the built-in ORM? Or is it just separate projects?
sroerick1 reply#
I'm using SQLAlchemy to access external data sources to build reports on. Essentially, I'm using it as a dumb BI connector (mostly to access a Databricks metastore), while my Django ORM manages any app information.

I'm not sure it's the most elegant solution, but it has been pretty functional

Continue this thread — 1 reply

arcanemachiner1 reply#
Hey same! I made https://ratethispad.com and it was a lot of fun to make. (Nobody uses it though...)

I would love to see your project as well.

SushiHippie1 reply#
Would be cool if either the zoom level I need to see reviews would be smaller (more zoomed out), or if there is a list of the reviews that exist on this page.

Currently, as there are probably not many reviews on that site it is near impossible to see an example of a review.

arcanemachiner#
That's because there are basically no reviews. I'm more interested in making stuff than telling people about it.

But you're right, since there are so few reviews, I could definitely decrease the zoom level required to load the reviews.

greenie_beans#
would love to see this.