Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

drfrederson

A simple static site generator powered by PHP, YAML, markdown extra and mustache. Licensed under MIT License

features

There are many other and better staticsitegenerators, but I missed these:

writesource.php

  • edit without texteditor or ssh access. Using webedit on your browser and get a textarea or markdown-WYSIWM to change and create pages.

make.php

  • meta information for rendering (template, menue etc) or html metatags are at the bottom of the page and only optional (tried to use my own standard PROSErial).
  • use source directories as namespace, with customizing namespaceseperators (namespace:pagetitle).
  • include sourcefiles as areas in templates (for menus, sidebars, trackingpixels).
  • if there is no <title> set in meta, drfrederson uses the first heading as pagetitle.
  • wikistyle internal links ([[MyPage]]).
  • txt-files get rendered with newlines as breaks (<br>).
  • render markdown to html pages and json.

All about editing, admin, setup and templates in the wiki.

Demo (use user a and password a. There is no further protection, so all changes will be deleted sporadic for cleanup.)

drf users

Sites made with drfrederson:

similar projects

  • Hacker CMS has a webinterface. The filetree, is a feature, drfrederson is missing at all. But it uses the common ssg jekyll, so users have to deal with frontmatter and not PROSErial.
  • prose.io is a writing orientated webinterface for github

TODO

  • version source etc
  • meta to client, need for
    • for new pages (drf-write.jquery.js)
      • sourcepath (from config.yml)
      • prefill
      • source extension for new
    • metaseperator for live preview without meta
    • area, for edit link ?
    • template ?
    • secure passwords for upload etc, extra config.secure.yml ?
  • Hooks
  • plugins
    • Drf automatic ID for headimgs
  • live preview without meta
  • const public
  • bloggish posttemplate (date, archivcat) for webedit
  • lasttest
  • doku images timestamp

2.0

Nice2Have

  • minfy als webservice?
  • trailing slash
  • etherpad
  • redirects with page

Refactor

You can’t perform that action at this time.