Analysis updated 2026-05-18
Run your own CMS for a blog or product site without paying for a cloud CMS subscription.
Migrate an existing Sanity project to a self-hosted setup using the one-click import tool.
Fetch and update structured content from a Next.js or SvelteKit app using GROQ queries and the JavaScript client.
| crumbleerp/clarity | atomicstrata/atomicmemory | azerdsq131/mcpm | |
|---|---|---|---|
| Stars | 6 | 6 | 6 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | hard | moderate | easy |
| Complexity | 4/5 | 4/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Docker and a running PostgreSQL instance, S3-compatible storage is optional but needed for media uploads.
Clarity is an open-source content management system (CMS) you can run on your own server instead of relying on a third-party cloud service. It is designed to work as a drop-in replacement for Sanity CMS, meaning projects already built around Sanity's API can switch to Clarity with minimal code changes. At its core, Clarity stores all your content in a PostgreSQL database that you control. You query that content using GROQ, the same query language Sanity uses, so blog posts, product pages, images, or any other structured data can be fetched with familiar syntax. A built-in web dashboard lets you define your content schemas (the shapes of your documents), edit individual documents, browse your media library, and run test queries directly in the browser. Getting started involves Docker. You download a Docker Compose file, fill in a few environment variables such as your database credentials, a session secret, and optionally an S3-compatible storage endpoint for images, then run one command to start the service. Once running, you log in to the dashboard and can immediately begin creating content. If you are migrating from Sanity, there is a one-click import tool in the settings that pulls all your existing documents, schemas, and media files into Clarity. To read content from your application, you install the official JavaScript client package and point it at your Clarity server. The client works with Next.js, Nuxt, SvelteKit, Astro, or plain Node.js. You write GROQ queries to filter, sort, and shape the data you want, and the client fetches it over HTTP. The API surface closely follows Sanity's own endpoints, so much of the same client code will work without changes. Clarity is in alpha, meaning it is actively being developed and some features or APIs may change. It is released under the MIT license, which allows free use in personal and commercial projects.
An open-source, self-hosted CMS that replaces Sanity by storing your content in your own PostgreSQL database and answering the same GROQ queries Sanity uses.
Mainly TypeScript. The stack also includes TypeScript, PostgreSQL, Docker.
MIT license, use freely in any project, including commercial ones, as long as you keep the copyright notice.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.