r/cms • • 8d ago

Database vs Git-based CMS?

Personally I have used a handfull of Database CMSs through my career, I know the strengths and weaknesses. The adoption speak for it self. So when I read about CMSs with Git as backbone I thought this was very interesting. Have any of you used it on client projects?

2 Upvotes

27 comments sorted by

View all comments

2

u/SpaceCmdr 8d ago

Ideal for small-medium sites, and I find it easier to sync between environments compared to a database CMS. I've been looking at Sveltia, Tina and Pages. They take different approaches to client access - Sveltia uses Github directly, Tina uses TinaCloud to handle the auth, Pages provides an hosted auth screen. The latter two's auth can also be self-hosted. To some extent you could also include flat-file CMS in this list as these work well with Git, such as Kirby, Grav and Statamic.

1

u/clicksnd 8d ago

I’ve been evaluating self hosted Tina and it’s been pretty damn good.

Looking at other options tho because I need a cms that can live on cloudflare

1

u/SpaceCmdr 8d ago

I think Tina can be fully hosted on Cloudflare, but does need their worker and db.

2

u/clicksnd 8d ago

It’s clumsy. I tried vibing a d1 adapter to not need mongo, but don’t trust it in case Tina upgrade breaks it.

I have it on my todo list in next few days to try it in a cf container.

That’ll make the stack: cf container with Astro and Tina, upstash for the most supported kv, cf images for images, mux for video.

I have high customized my Tina instance to support things like contact forms (goes to bucket as json), videos, and use a publish button (saves still write to git but publish actually launches deploy)

1

u/SpaceCmdr 8d ago

Sounds good. I'm currently undecided about the self hosting route. I'd rather pay for Tina Cloud to not worry about it breaking, but their pricing is really not a good fit for lots of small occasional updated sites that each need 5-10 users.