by MatthewPhillips on 3/12/24, 5:34 PM with 41 comments
by snide on 3/12/24, 6:50 PM
This looks like a pretty simple data solution that might work for Astro's audience (content sites and hobbyists). They've split the hosting into their studio product to provide a way to earn revenue. Essentially you host the DB with them and can access it remotely, but could also host it however you want, you'd just lose the Studio editor.
The Studio editor itself is pretty basic at the moment with a table view and a way to check SQL calls. You can't build schemas in the UI yet and what you get is mostly a dev wrap of existing tools (like Drizzle) that let you interact with your DB. Their demo shows the limitations here, with things like "email" not being able to validate in the studio editor. My guess is that's coming later, but I might have missed it in the docs. Either way, it's nice that your config is stored at the code layer.
Most of these small websites that Astro is great fit need small CMS systems, and studio doesn't look to provide any way to deal with images (at least on first check) so that's sort of a bummer. You'd need to wire up some references with Cloudflare I guess. Still reading here, but it'd be cool if that came natively. Storing, retrieving and resizing images is a pain. The column types allowed are pretty small (text, number, bool, date, json).
While simple. It looks like it'll be relatively speedy with retrieval because of it.
Right now though, as an actual CMS editor (which my guess is what most Astro folks really want) Studio feels way to simple to tell a client to use. I'm interested to see whether they go more in the direction of a generic database store (implied from the name) or more of a CMS to compete with the natural pairings of Contentful, Statamic and others. Webhooks as a launch feature is great! That'll help folks out.
Either way. I love this team and their perspective. They build cool stuff, open source a lot of it (check out Starlight for docs), and I'm excited to see where this one goes over time. Congrats on the launch.
Now I need to update my Astro site to 4.5 :)
by drewda on 3/12/24, 7:31 PM
But I do wonder how this type of thing will actually compete against a billion headless CMSes and a million PaaSes already on the market...
by amadeuspagel on 3/12/24, 7:00 PM
by MatthewPhillips on 3/12/24, 7:58 PM
by davepeck on 3/12/24, 7:34 PM
As an aside: there are days when I wish I could avoid using the Astro component model entirely, do everything in Preact (or whatever), and still use the `client:*` directives when appropriate. I realize this is easier said than done and also probably not a reasonable thing for Astro itself to try and target -- but moving between Astro components and framework components always has just enough friction that it's something I think I'd enjoy using.
by DrDroop on 3/12/24, 9:05 PM
by ssernikk on 3/12/24, 6:36 PM
- 4.5 release
- Volar $10,000 grant
- Astro Studio/DB
by dfreire on 3/12/24, 6:11 PM
by byt3h3ad on 3/12/24, 7:43 PM
by LostLocalMan on 3/12/24, 8:00 PM
by seabass on 3/12/24, 7:47 PM
by tutfbhuf on 3/12/24, 7:32 PM
by gigatexal on 3/12/24, 7:20 PM
I only wish this wasn't a javascript heavy thing and that I could interface with it in my language of choice. But as it says on the tin this is integrated well for the greater Astro ecosystem.
by oDot on 3/12/24, 7:44 PM
Edit: I've read the readme, hoping for a take from anyone who gave it a try
by dosplatos on 3/12/24, 7:13 PM
by factormeta on 3/12/24, 8:09 PM
by nsonha on 3/13/24, 7:56 AM
by pmcf on 3/12/24, 10:13 PM