a93a259ee51a38c4a79878cfb581c1c1d6ecd7ab
Reviewed-on: http://10.0.0.13:3002/rattatwinko/markdownblog/pulls/1
Markdown Blog
A modern blog system built with Next.js, Markdown, and Electron for cross-platform support.
Features
- Write blog posts in Markdown
- Responsive web design
- Desktop application support via Electron
- Mobile-friendly interface
- Tag-based organization
- Clean and modern UI
Getting Started
Prerequisites
- Node.js 18+ and npm
Installation
- Clone the repository:
git clone <repository-url>
cd markdownblog
- Install dependencies:
npm install
- Start the development server:
npm run dev
- For desktop development:
npm run electron-dev
Writing Posts
Create new blog posts by adding Markdown files to the posts/ directory. Each post should include frontmatter with the following fields:
---
title: "Your Post Title"
date: "YYYY-MM-DD"
tags: ["tag1", "tag2"]
summary: "A brief summary of your post"
---
Your post content here...
Building for Production
- Build the web version:
npm run build
- Build the desktop version:
npm run electron-build
Project Structure
markdownblog/
├── posts/ # Markdown blog posts
├── src/
│ ├── app/ # Next.js app directory
│ └── lib/ # Utility functions
├── electron/ # Desktop app code
└── public/ # Static assets
Technologies Used
- Next.js 14
- TypeScript
- Tailwind CSS
- Electron
- Markdown (remark)
- date-fns
License
MIT
Description
Markdownblog is a easy to manage, powerful, react based blogging platform. It's posts are written in a Markdown Format, which then gets parsed by the Rust Parser.
Languages
TypeScript
79.7%
Rust
14.6%
CSS
3%
Shell
1.1%
JavaScript
1%
Other
0.6%