📜 ⬆️ ⬇️

Simple zen-wiki engine

This is a post about a simple wiki engine designed for keeping personal notes.

Features


What is
What not



')

Idea


The basic idea is to make it as simple as possible and at the same time functional enough for a wiki engine for perverted minimalists like me.

Technology


The whole thing works on Google App Engine , the embedded system of google accounts is used as the authentication system. Parsing Markdown and highlighting the code is done on the client side using javascript, which uses the PageDown and prettify libraries .

Questions about the use of


Creating a wiki

For each user, a wiki is created (immediately after logging in) at an address of the form zen-wiki.appspot.com/%username% . Then the user can freely edit it.

All wikis are public (you can hide individual pages), but only owners can edit.

Creating a page

To create a new page, you just need to go to the future url of the page, and if you have the right to create a page using this url, you will immediately get into the edit form, otherwise you will get error 404.

Code highlighting

All code is highlighted automatically, the language does not need to be specified - it is determined automatically. You just need to use the Markdown syntax to create a block of code - indent 4 spaces, or backquotes (`). You can also simply use the pre html tag.

Menu

The menu is formed automatically during the creation of your pages.

Links


zen-wiki.appspot.com - main link
source codes (you can add / install yourself / just rummage in the code)
My wiki (please do not pay attention to the content, this is just an example of a slightly filled wiki)

Source: https://habr.com/ru/post/128020/


All Articles