Skip to content

m1kryn/secondwheel-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secondwheel-engine

Minimal PHP blog engine that reads Markdown files from posts/ and renders index + post pages. No database, no admin UI.

Quick start

  1. Place your posts in posts/ as either:
    • posts/your-slug.md
    • posts/YYYY/MM/your-slug/index.md

Each file may start with front matter:

---
title: My First Post
date: 2025-08-07
summary: Optional one-liner for the index.
---
  1. Edit config.php and set base_url if deploying to a domain.

  2. Serve index.php and post.php from your document root, or move everything under public/ and adjust paths accordingly. For pretty URLs, use public/.htaccess and route /post/<slug> to post.php?slug=<slug>.

Parsedown

This engine uses Parsedown for Markdown rendering. The library is included in lib/Parsedown.php, so no extra installation steps are required.

About

micro blogging-engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages