Show HN: I made a HTMX Playground 100% in the browser (opens in a new tab)lassebomh.github.io
482 pointsI 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 4 of 19
Monaco doesn't work on mobile by design, so people use Ace on mobile.
At least the last time I checked GitHub[0].
[0] https://github.com/Microsoft/monaco-editor/issues/246
I think that was the problem with Monaco on mobile: the keyboard never worked correctly. That was my experience.
Edit: I don't want to complain, Monaco is superb editor and it would be super if it worked on mobile consistently. But from the github issue, it appears that Microsoft doesn't seem to want to change that.
I can see just enough editor UI stuff on my phone to strongly suspect I'm in your target userbase, but because of screen size issue I can not see enough to have any idea what tsdiagram actually does.