Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

klml/drfrederson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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