Skip to content

Denrox/md-blog

Repository files navigation

md-blog

Simple blog platform based on md files. Can be bootstrapped in one command.

Features

  • Markdown-based content - Write posts and pages in Markdown
  • Easy Customization - Simple configuration system
  • Responsive - Works on all devices

Quick Start

Run the interactive setup script to configure your blog:

npx md-blog-setup

Or specify a directory:

npx md-blog-setup ./my-awesome-blog

Or use an absolute path:

npx md-blog-setup /path/to/your-blog

Adding Content

Blog Posts

Create new blog posts in content/blog/:

---
title: "Your Post Title"
description: "Post description"
keywords: "keyword1, keyword2"
tags: ["tag1", "tag2"]
date: "2024-01-15"
author: "Your Name"
---

Your post content here...

Static Pages

Create new pages in content/pages/:

---
title: "Page Title"
description: "Page description"
keywords: "page, keywords"
tags: ["page", "static"]
---

Your page content here...

Docker

Build Docker Image

docker build -t md-blog .

Run with Docker

docker run -p 3000:3000 md-blog

Docker Compose

Create a docker-compose.yml file:

version: '3.8'
services:
  md-blog:
    build: .
    ports:
      - "3000:3000"
    environment:
      - NODE_ENV=production

Technology Stack

  • React Router v7
  • React
  • Tailwind CSS
  • Marked - Markdown parsing
  • Gray Matter - Frontmatter parsing

License

MIT

About

Simple blog platform based on md files. Designed to be bootstrapped in one command.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors