PicoWiki is a super tiny and simple file-based Wiki system.
- Markdown Formatting, links, etc.
- Install in 2 seconds Just place a folder in your server
- File-based Easily editable
- Tiny Less than 100 lines of the core code
- Extensible through Plugins
- Fast Uses very low bandwidth
- Powerful You can use PHP code anywhere
See Setup for instructions.
Plugins use Event Hooks to attach new features and alter functionality on the run, a new plugin must have a run()
method that will be executed whenever you specify. Check out /backend/plugins/
to find available plugins.
To disable a plugin, simply move it away from the plugins
folder (also in a subfolder such as plugins/deactivated
).
init
: Initialized the PicoWiki Class, just before loading$config
config_loaded
: Configuration loadedplugins_loaded
: Plugins loadedrun_init
: Initializedrun()
methodurl_loaded
: URL parsedlist_loaded
: File list loadedtemplate_header
: Add HTML code before the closingheader
HTML tagview_after
: The file view has been loaded, just before echoing ittemplate_footer
: Add HTML code before the closingbody
HTML tag
© Xavi Esteve. Licensed under MIT.
Parsedown by Emanuil Rusev also licensed under a MIT License.
PicoWiki is a single PHP class with 7 methods, all in less than 100 lines of code, ready to be extended. New features I can think of right (through plugins) now are:
- Report for checking for broken links (links to pages that don't exist yet), Orphan pages, etc.
- Code snippets to load YouTube videos or Google Maps, etc.
- Web-based file editor to edit files directly via browser
- Themes
- Auto-translate
- Sitemap generator
If you'd like to contribute please do, I am quite active on Github and usually merge Pull Requests in a few hours or days.
When I say it's tiny I mean this, the whole app is just this code: