Description
A lightweight Markdown-powered blogging platform. Framework-agnostic, no CMS or database required.
npx boilerapp mdxpressDocumentation
đ MDXpress Blog - CNP (Compiled N' Portable)
MDXpress Blog - CNP is a serverless-friendly version of the original MDXpress Blog, reworked to deploy seamlessly on platforms like Vercel using Serverless Functions.
Itâs a markdown-powered, minimal blogging platform that compiles content on-the-fly without any backend server, database, or complex setup.
âš What's New in CNP?
- â Serverless Architecture: Powered by Vercel Serverless Functions.
- đȘ Vercel-Ready: No
server.js, works natively withvercel devand on production deploys. - đ /api Directory Support: Each route is handled through functions inside the
/api/folder. - âïž Markdown Compilation: Still powered by
marked, now running serverlessly. - đ Same UI, Better Delivery: No compromises on theming, dark mode, or user experience.
đ Project Structure
mdxpress-blog-cnp/
âââ api/ # Serverless function handlers
â âââ index.js # Homepage rendering
â âââ blog.js # Blog listing route
â âââ blog/[slug].js # Dynamic blog rendering
âââ public/
â âââ blogs/ # Markdown files for each blog post
â âââ styles/ # CSS with dark mode support
â âââ views/ # HTML templates
âââ vercel.json # Vercel routing and config
âââ package.json # Metadata and dependencies
âââ README.md # This file
đ§Ș How to Run Locally
-
Clone the Repository
git clone https://github.com/eshan-singh78/MDXpress-Blog cd MDXpress-Blog-CNP -
Install Dependencies
npm install -
Run Locally with Vercel
vercel dev -
Visit the App Open http://localhost:3000 in your browser.
đ How It Works on Vercel
- All backend logic is handled via Serverless Functions in
/api. - Static assets (styles, markdown files) are served from
/public. - HTML templates are combined with rendered Markdown and returned as HTML.
đââïž About the Creator
Crafted by Eshan Singh, a full-stack developer & cybersecurity enthusiast exploring the balance of performance and simplicity in web apps.
Looking to contribute, request features, or report issues? Feel free to open a PR or issue!
Prix
Gratuit