Next →Greedy Developer?Context # A recent blog post titled HTMX, Datastar, greedy developer and several Hacker News threads raised concerns about Datastar Pro, pricing, and whether features were “moved behind a paywall”. Here’s what has changed, who Pro is for, and how to achieve some of the same things with the free version.The facts # Datastar remains MIT-licensed and free. For v1, we moved a handful of convenience plugins into Datastar Pro. The old code is tagged in the repo. Fork if you want. The same outcomes are possible with the freely available version using standard APIs. We use the same API that everyone else does. Nothing you can build was taken from you; we set a support boundary. Judge the work by results: smaller bundles, faster apps, and lower egress and compute.Here’s how you can replicate two Pro attributes using the free version:1<!-- Replaces the current URL on load and whenever $page changes. --> 2<div data-effect="window.history.replaceState({}, '', '/page/' + $page)"></div> 3 4<!-- Scrolls the element into view. --> 5<div data-on-load="el.scrollIntoView()"></div> Timeline and philosophy # Datastar was available under the MIT license since the beginning.Mostly a solo project until Ben, and later Johnny, joined.We rewrote the code from scratch at least three times to achieve a rock-solid foundation that will last many years. No Datastar v2 is planned or necessary.Started life as a tiny ~3 KB core with docs on writing plugins.It still is plugin-first. The v1 line defines what we will support long-term.Who is Pro for? # Hobbyist, student, solo tinkerer? Keep using the free core. You don’t need Pro to build real apps. Pro makes sense if:The Datastar Inspector will save you time.You want the convenience that the Pro plugins provide, even if we don’t think you need them.You want to support the project and prefer to purchase over donating (donations are tax deductible in the US).You don’t want to write or maintain plugins yourself.Pro is a one-time lif...
First seen: 2025-10-11 23:16
Last seen: 2025-10-12 00:16