Turso Cloud

Turso Cloud is a hosted, distributed database based on libSQL, and it works seamlessly with Headcode CMS. It’s a great choice for production environments where you need scalability and remote access.

Installation

Turso support is included in Headcode CMS out of the box. You just need to connect your project to your Turso database using environment variables.

Configuration

Set the following values in your environment file (e.g., .env.local):

.env.local
TURSO_DATABASE_URL=<your-turso-database-url>TURSO_AUTH_TOKEN=<your-turso-auth-token>