An attempt to create a basic static blog generator in PHP.
Wrok in progress, already functional.
Create a new post
$ php pboy post
Generate blog
$php pboy generate
Generates full blog from input
Input may be text files with restructuredText or markdown for example. Plugin mechnism allow to add differents sources and formats
Items fetching :
- File system
- ?
Items parsing :
- restructuredText (going to be hard with PHP)
- markdown
- wiki ?
- BBcode ?
- Other ?
Rendering :
- raw PHP
- Twig ?
- Other ?
Syntax highlighting
- JS based ?
Versionning
- Git plugin ?
- SVN plugin ?
Assets optimisation : Join + Minification
- ?
Multiple outputs for
- item list (HTML, RSS, whatever)
- item view (blog post)
Allows you to generate :
- home / index page
- tags pages
- ?
- Try being complient with PSR
- Keep this basic but extensible (but basic)
- Really easy setup
- Minimize dependencies