A 2nd IOPCC Winner
Author:
- Mindiell ([email protected])
Judges' Comments
Very cool that a tool with such features can fit into such a small footprint. It's usage of deprecated software is perfectly audacious.Author's Comments
This source code runs a wiki based on principles explained here: http://wiki.c2.com/?WikiPrinciples
- Automatic link generation You just have to enter a TwoWords in CamelCase and you got a link to another page
- Content editable by all No password, no account, simplification!
- Easy text input A simple Textarea and you can even enter some HTML tags
- Back links Efficient linking between pages
Since this wiki is minimalist, it should enter in the (not so) famous Shortest Wiki Contest: http://wiki.c2.com/?ShortestWikiContest
Its name comes from french word "riquiqui" which means tiny, poky. It's usually a children word.
As far as I know, this is the smallest source code for a Python wiki (495 bytes, less than 512 bytes).
Even if its UX/UI is far from perfect, web site is totally responsive!
Last but not least, this wiki is self contained: no external library, just pure python (and an efficient and obsolete cgi-bin mechanism).
Help and acknowledgments
Thanks goes to Ward Cunningham for being such a mentor and an inspiration.
Usage
YOU SHALL NOT USE THIS CODE IN PRODUCTION!
This code is NOT SECURE and is based onto CGI technology which is OBSOLETE for production (and whatever you can think of).
To run this wiki you need python3 only:
- Create a folder named "wiki"
- Create a sub-folder named "cgi-bin"
- Copy
rikiki.py
inside the "cgi-bin" folder - chmod +x on
rikiki.py
- Run this command from the wiki folder:
PYTHONWARNINGS="ignore" python -m http.server --cgi
Now, you can go and visit your wiki: http://localhost:8000/cgi-bin/rikiki.py?p=HomePage
Compatibility
No external library is necessary to run it.
Python versions
It should work on all Python 3.8+ but has been tested only on Python3.12.
OS
It has been succesfully launched on Debian.