Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/luckyshot/picowiki

PicoWiki is a super tiny and simple file-based Wiki system where you can take notes, documentation, use as a blog, knowledge center or more
https://github.com/luckyshot/picowiki

easy file-based hacktoberfest markdown minimal mit-license nodb php simple tiny wiki

Last synced: about 2 months ago
JSON representation

PicoWiki is a super tiny and simple file-based Wiki system where you can take notes, documentation, use as a blog, knowledge center or more

Awesome Lists containing this project

README

        

# PicoWiki

**_PicoWiki is a super tiny and simple file-based Wiki system._**

Screenshot of the main page of PicoWiki

## Features

- **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

## Setup

See [Setup](files/setup.md) for instructions.

## Plugins

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`).

### Hooks

- `init`: Initialized the PicoWiki Class, just before loading `$config`
- `config_loaded`: Configuration loaded
- `plugins_loaded`: Plugins loaded
- `run_init`: Initialized `run()` method
- `url_loaded`: URL parsed
- `list_loaded`: File list loaded
- `template_header`: Add HTML code before the closing `` HTML tag
- `view_after`: The file view has been loaded, just before echoing it
- `template_footer`: Add HTML code before the closing `