Free Plugin - Content Exporter
1 posts by 1 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: Yesterday at 10:53am (RSS)
Hi everyone,
I'm releasing a free plugin that exports your CMS Builder content straight from the database in nine formats - ready to hand to a developer or paste into an AI assistant like Claude or ChatGPT. I've been using it across my own sites and think it's ready for others to try.
The Problem
Every so often you need to get content out of CMS Builder - to hand a section off to a developer, migrate data, or give an AI assistant the full context of a site so it can answer questions or help you write. Copying records by hand is tedious, and a raw database dump is full of noise you don't want to share.
The Solution
Content Exporter gives you an admin dashboard where you pick any combination of tables, choose a format, and get clean, formatted output you can copy to the clipboard or download in one click. It runs entirely server-side inside your existing admin login - there's no API endpoint and no external service, so the data never leaves your server until you copy or download it. It's admin-only, and the download endpoint is CSRF-protected.
Features
- Nine output formats - JSON (compact + pretty), Markdown, CSV, XML, YAML, SQL INSERT, HTML, and plain text — pick what fits the task
- Pick any combination of tables - a single section, several, or the whole site
- Per-export filters - skip hidden records, system fields, and upload metadata; strip HTML to make wysiwyg content AI-friendly
- Schema summary - optionally include a field-type/label map so the consumer knows the structure
- AI Prompt mode - wrap the output in a customizable preamble ({site} and {date} placeholders) for direct paste into Claude/ChatGPT
- Public URL injection - adds _publicUrl to records with a permalink so an AI can cite or link back
- Token count + size estimate - know whether the output will fit a context window before you paste it
- Copy or download - one-click clipboard copy, or a dated .json / .md / .csv (etc.) download
- Available-table picker in Settings - choose which tables appear on the dashboard; system, session, log, and account tables are skipped by default
- Security and accessibility are top-of-mind with all plugins we develop
Download
- GitHub: https://github.com/sagentic/cmsb-plugin-content-exporter
- Screenshots & direct download: https://public.sagentic.dev/plugins/
Installation
- Copy the contentExporter folder to /cmsb/plugins/
- Log into CMS admin and activate the plugin
- Access via Admin > Plugins > Content Exporter
Requirements
- CMS Builder 3.50+
- PHP 7.1+
Feedback Welcome
I built this because I kept needing to feed site content to AI assistants and other developers in a clean, structured form. I'd love to hear your feedback, bug reports, or feature suggestions. MIT licensed - modify as needed.
Kenny H