A lightweight CMS-like editor built with Next.js and TinyMCE that allows users to write articles in a rich-text editor and export them as YAML.
This is useful for writing blog posts, documentation, or structured content that needs to be stored in YAML format.
🌐 Live Demo: https://taskcall-article-cms-tinymce.vercel.app/
- ✅ Rich text editing with TinyMCE
- ✅ Comprehensive metadata fields (title, author, category, category ID, meta description, blog image, blog URL, tags)
- ✅ Automatic YAML export with structured output
- ✅ Multiple export options (copy to clipboard, download as .yaml file)
- ✅ Copy-friendly YAML output for static sites or APIs
- ✅ Deployable on Vercel (no backend required)
- ✅ Pre-configured similar content for blog recommendations
taskcall-article-cms-tinymce/
├── pages/ # Next.js pages (Pages Router)
│ └── index.js # Main editor page with full CMS functionality
├── public/ # Static assets (Next.js icons)
├── img/ # Project screenshots
│ └── screencapture-taskcall-article-cms-tinymce-vercel-app-2025-08-30-12_35_55.png
├── .env.example # Environment variables template
├── .gitignore # Git ignore rules
├── eslint.config.mjs # ESLint configuration
├── jsconfig.json # JavaScript configuration
├── next.config.mjs # Next.js configuration
├── package.json # Dependencies & scripts
├── package-lock.json # Locked dependency versions
├── LICENSE # MIT license
└── README.md # Project documentation
git clone https://github.com/FahimFBA/taskcall-article-cms-tinymce.git
cd taskcall-article-cms-tinymcenpm installCopy the example environment file and configure it:
cp .env.example .env.localThen edit .env.local with your TinyMCE API key:
NEXT_PUBLIC_TINYMCE_API_KEY=your_tinymce_api_key_here👉 Get a free API key from TinyMCE Cloud.
npm run devNow open: http://localhost:3000
-
Push your repo to GitHub.
-
Go to Vercel, import the project.
-
Add the environment variable in Vercel Dashboard → Settings → Environment Variables:
NEXT_PUBLIC_TINYMCE_API_KEY=your_tinymce_api_key_here -
Deploy 🚀
-
Fill in metadata fields:
- Title and Author
- Category and Category ID (slug)
- Meta Description for SEO
- Blog Image URL and canonical Blog URL
- Tags (comma-separated)
-
Write your article in the TinyMCE editor with full rich-text capabilities.
-
Export your content:
- 📤 Export YAML - Generate and preview YAML output
- 💾 Download .yaml - Download as a file
- 📋 Copy YAML - Copy to clipboard for immediate use
-
Use the generated YAML in your static site generators, APIs, or content management workflows.
- Frontend Framework: Next.js 15.5.2 with React 19.1.0
- Rich Text Editor: TinyMCE with React integration
- YAML Processing: js-yaml for serialization
- Code Quality: ESLint with Next.js configuration
- Deployment: Optimized for Vercel with Turbopack
npm run dev- Start development server with Turbopacknpm run build- Build for production with Turbopacknpm run start- Start production servernpm run lint- Run ESLint code quality checks
Contributions are welcome! Feel free to open issues or submit PRs.
MIT License © 2025 Fahim Bin Amin
