3 ms·
+1 for datastar. It lets you do really dumb push based streaming html stuff where HTMX isnt quite fast enough (great for multiplayer apps).[1] Super excited ab
by andersmurphy 1y ago
+1 for datastar. It lets you do really dumb push based streaming html stuff where HTMX isnt quite fast enough (great for multiplayer apps).[1]
Super excited about triptych too! Thanks for pushing that.
- [1] https://checkboxes.andersmurphy.com https://checkboxes.andersmurphy.com
- stepbeek 1y agoYour recent post on using datastar with SSE to power game of life [1] was excellent. Thanks for writing it! [1] https://andersmurphy.com/2025/04/07/clojure-realtime-collaborative-web-apps-without-clojurescript.html https://andersmurphy.com/2025/04/07/clojure-realtime-collabo...
- andersmurphy 1y agoThank you! I've been meaning to write one on the nitty gritty of virtual scroll, hopefully I'll find some time next month.
- nchmy 1y agoThat would be great to see. Likewise more details about your custom compression settings.
- HiPhish 1y agoI was quite excited for Datastart until I saw that they keep a good chunk of the functionality behind a proprietary license [1]. It's not even about the price (it is a bit steep though, but I guess if you use it in a commercial project it will pay for itself), it's the proprietary part. [1] https://data-star.dev/reference/datastar_pro https://data-star.dev/reference/datastar_pro
- andersmurphy 1y agoA "good chunk of functionality" is a mischaracterisation. I don't use anything from pro and I use datastar at work. I do believe in making open source maintainable though so bought the license. The pro stuff is mostly a collection of foot guns you shouldn't use and are a support burden for the core team. In some niche corporate context they are useful. You can also implement your own plugins with the same functionality if you want it's just going to cost you time in instead of money. I find devs complaining about paying for things never gets old. A one off life time license? How scandalous! Sustainable open source? Disgusting. Oh a proprietary AI model that is built on others work without their concent and steals my data? Only 100$ a month? Take my money!
- HiPhish 1y agoIt's not about the money, it's about the fact that I would depend on vendor-locked functionality. I cannot maintain my own fork of it if for whatever reason I had to. I don't want to fork datastar if I don't have to, but I want to be able to do so if I have to. Alpine does have a "pro" version as well, but it's just copy&paste code examples. I am not complaining about Alpine, and I even got my employer to pay the maintainer more than what the datastart guys are charging for their pro version. So again, this is not about money.
- andersmurphy 1y agoYou get the entire source with pro. Nothing is stopping you maintaining your own private fork for use in your commercial product. If datastar the non profit disappear tomorrow you would still have the source. So where is the problem?
- HiPhish 1y ago> your own private fork That right there is the problem, it's maintainer lock-in, I cannot share my improvements with anyone else or benefit from other people's improvements.
- andersmurphy 1y agoSo you'd prefer if it was free and GPL?
- icedchai 1y agoHTMX does have web socket support! I've been experimenting with it...
- andersmurphy 1y agoDatastar uses SSE. In practice you almost always want SSE rather than websockets or your own UDP protocol. Websockets are an operational nightmare once you get off the happy path.
- icedchai 1y agoHTMX also has a SSE extension. I’m working on a multiplayer game as a hobby project and am not too far along.
- the_arun 1y agoDatastar folks have some cool videos - https://data-star.dev/videos https://data-star.dev/videos