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 Main code has less than 100 lines
- Extensible via 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 (i.e. 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 closing</header>
HTML tagview_after
: The file view has been loaded, just before echoing ittemplate_footer
: Add HTML code before the closing</body>
HTML tag
- PHP 5.4 or above
© 2018-2019 Xavi Esteve. Licensed under MIT.
Parsedown by Emanuil Rusev also licensed under a MIT License.
Some plugins made by their respective authors.
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/days. Any code submitted will follow the same license as PicoWiki.
It's easy to contribute! When I say PicoWiki is tiny I mean it 😊 The whole app is just this code: