Skip to content

g4vroche/Pboy

Repository files navigation

PBoy

Pboy

An attempt to create a basic static blog generator in PHP.

Wrok in progress, already functional.

Scrutinizer Quality Score

Code Coverage

Quick start :

Create a new post

$ php pboy post

Generate blog

$php pboy generate

Features aimed :

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
  • ?

Constraints

  • Try being complient with PSR
  • Keep this basic but extensible (but basic)
  • Really easy setup
  • Minimize dependencies

About

An attempt to provide a static blog engine in PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published