Self-hosted TinaCMS, now powered by Vercel KV & NextAuth!

June 30, 2023

By Kelly Davis

Earlier this year, we released the first iteration of self-hosted TinaCMS. The initial demo relied on Tina Cloud for auth and used MongoDB for the data layer. That was the first step in freeing TinaCMS users from vendor lock-in, but there were limitations, such as requiring a custom auth implementation when not using Tina Cloud and requiring MongoDB for the data layer.

Since then, we've been hard at work on improving our self-hosted offering to make it easier to get started and less dependent on other vendor services (including our own). Today we are excited to announce the next iteration of our self-hosted Tina demo, leveraging Vercel KV for the data layer and NextAuth.js for auth. It is now possible for a developer to setup a fully functioning Next.js site running TinaCMS relying on only GitHub for source control and Vercel for hosting, auth, and data management.

What is Vercel KV

Vercel KV is a durable Redis database that enables you to store and retrieve JSON data and is available on both hobby (free) and paid plans. The service is provided in partnership with Upstash and does not require a separate account. Because of it's flexibility and performance, Vercel KV is a great fit for powering the TinaCMS data layer.

How is TinaCMS using Vercel KV for the data layer

How is TinaCMS using NextAuth.js

Internally Tina uses LevelDB as an abstraction over the

Last Edited: June 30, 2023

Stay in touch 👉