{"by":"bitterblotter","descendants":118,"id":38906989,"kids":[38908039,38910525,38907362,38909221,38910096,38982457,38908653,38918803,38908490,38908786,38917037,38909167,38909978,38911691,38907987,38907591,38910018,38907881,38925570],"score":482,"text":"I recently dug up an old project in an attempt to improve on it. It&#x27;s a code sandbox for playing around with HTMX in the browser, that runs a mock server within the sandbox iframe. The server &quot;framework&quot; is loosely based on Django, so if you&#x27;re familiar with Django, you&#x27;ll immediately understand what&#x27;s going on.<p>I recommend clicking through the examples.<p>Github repo: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;lassebomh&#x2F;htmx-playground\">https:&#x2F;&#x2F;github.com&#x2F;lassebomh&#x2F;htmx-playground</a><p>Probably my favorite part is the lack of HTMX specific code. It&#x27;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.<p>Known problems: Limited mobile support, Ace Editor (should just be Monaco) and lack of proper error outputs.<p>Feel free to give feedback, suggestions or questions.<p>I learned a lot when making it, and I hope you&#x27;ll something about HTMX! Happy tinkering.","time":1704675789,"title":"Show HN: I made a HTMX Playground 100% in the browser","type":"story","url":"https://lassebomh.github.io/htmx-playground/"}