r/astrojs • u/go2dark • 4h ago
TenonCMS - A monolithic headless CMS for Astro, Nuxt and Tanstack-Start
Hi everyone!
Maybe you have already seen my post on r/we dev, but I figured it would also make sense to post this here.
I've been working as a freelancer for SMBs for the last few years. Often my clients asked and required a CMS and since I dislike working with Wordpress, I used a setup of Nuxt and Astro depending on clients and requirements with a headless cms.
While that worked well, it always felt like I had to choose between easy setup (3rd party hosted cms with a vendor lock-in risk) or a second service i had to run, deploy and maintain. Markdown and fully static also were not ideal for my use case. PayloadCMS is good, but I usually don't write react and Nextjs feels heavy.
This is why I built TenonCMS which is a CMS Package you can just install into your vite-based app. It's essentially a plug-and-play package that you can use with Astro, Nuxt and Tanstack Start or any other vite-based framework. It even supports being headless if you want to use it with a different language or stack.
It is entirely free and MIT licenced.
Some notable features:
* Content modeling: In Typescript (so code as a config)
* Supported Frameworks: Astro, Nuxt, Tanstack Start
* Supported DBs: SQLite, Turso, Postgres, PGlite, Durable Objects
* Supported Deployment Targets: Node, Cloudflare (DO), Vercel
* Drafts and versions: drafts, scheduled publishing and a version history
* Localization: localized content and a localized admin
* Pages and SEO: Prebuilt, extensible presets that allow nested pages, SEO fields, sitemap, robots.txt and menus
* Live preview: a visual editor and an admin bar on your own pages
* Media: a media library with image transformations (Local + S3)
* Users and access: password, passkey, magic link or email code, with roles, invites, access rules and API keys
* Operations: Email (SMTP, CF Email Service), background jobs, cron schedules, webhooks, backup and restore
* Customization: your own fields, admin pages, styles and plugins
* HTTP API: a REST API with a typed browser client, for a frontend on another origin
* CLI: Scaffold your application fast with a starter template and create backups, etc. with it
Website: TenonCMS
Repo: https://github.com/SuddenDev/TenonCMS
Astro has first class support and is one of the main frameworks I wanted to support.
Feel free to try it out! I'm happy to get some feedback and users!
If you have any feature requests, let me know. PR and contribution welcome!
