Skip to content

antonmedv/wiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Wiki ๐Ÿ“

A minimalist, single-file wiki engine powered by PHP and SQLite. Designed to be simple, fast, and easy to deploy.

Features

  • Single File: The entire application logic, styling, and scripting are contained within wiki.php.
  • SQLite Backend: Data is stored in a local db/wiki.db file. No database server configuration required.
  • Smart Editor: A custom-built editor with live syntax highlighting for a seamless writing experience.
  • Version Control: Full history of changes for every page, including diff views and one-click restoration.
  • Wiki Links: Easily connect your thoughts using [[Page Name]] syntax.
  • Responsive & Dark Mode: Beautifully themed for both light and dark system preferences.

Getting Started

Requirements

  • PHP 7.4 or higher
  • PHP sqlite3 extension
  • PHP mbstring extension

Running Locally

The easiest way to get started is using PHP's built-in development server. By using wiki.php as the router, it will handle all page requests automatically:

php -S localhost:8000 wiki.php

Once started, navigate to http://localhost:8000 in your web browser.

Deployment

To deploy, simply upload wiki.php to any PHP-enabled web server. Ensure the server has write permissions to the directory so it can create and update the wiki.db file.

For production servers like Nginx or Apache, you should configure them to route all non-existent file requests to wiki.php.

License

MIT

About

Single PHP file Wiki engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages