Personal wiki tool
Project description
SlickWiki
SlickWiki is a personal wiki tool that allows you to write your thoughts in Markdown in your favorite editor, organizing them as you like.
Quick start
Installation
To install SlickWiki, do from a terminal as root: pip3 install slickwiki.
Creating a wiki
To initialize a new wiki, create a directory (say, /home/guest/wiki).
Then do slick --init /home/guest/wiki.
Starting the wiki
To serve the wiki on the default port (8080), do slick /home/guest/wiki. Point a browser to localhost:8080, and you will
see your wiki.
Editing pages
To edit a page, follow a link to a page that does not exist or click
'Edit this page' at the bottom of an existent page. SlickWiki will
open the Markdown source of the page in a text editor. By default,
this is the default terminal text editor (usually vi or nano) in
the default terminal emulator.
Configuring the editor
Since that's almost never what the user would prefer, you should
probably edit cfg.json in your wiki directory (in the example above,
that's /home/guest/wiki/cfg.json). Change the value for the key
"editorCommand" to one of the following values:
- Emacs:
"emacs \"{{path}}\"" - vi:
"x-terminal-emulator -e vi \"{{path}}\"" - Emacs (using emacsclient):
"emacsclient -a emacs \"{{path\""
In general, the command for any editor command is "_editor_ \"{{path}}\"", where editor is the command to launch the editor
(e.g. gedit, gvim, leafpad). The pattern "{{path}}" is replaced
by the path to the file to be edited.
Altering the wiki's appearance
Each page of your wiki is wrapped in an HTML template. To change what
the template contains, edit wrapper.html in the wiki directory. Be
sure to leave the {{{content}}} tag in the body; it is replaced by
the content of the page. It is also wise to keep the Edit page link
in there somewhere.
Each page is also styled by CSS contained in the file css in the
wiki directory; the default is basic but not unattractive, and you can
alter it as you please.
Inserting images in wiki pages
Images (and other non-markdown files) can be put in the static
subdirectory of the wiki directory. For example, if you put an image
named happy.jpg in the static directory, you can reference it in a
wiki page as:

There really is no natural way to reference an image in plain text; you may wish to use plain HTML instead:
<img alt="A happy face" src="/static/happy.jpg" />
License
SlickWiki is released under the terms of the MIT license, which is included.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file SlickWiki-0.2.tar.gz.
File metadata
- Download URL: SlickWiki-0.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.3.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
268be5c11a9d9ee19082a9a9685386c625f7c22232c818ac14f08fac159030aa
|
|
| MD5 |
12c4a3d5bc24e96b38bb124c7d55d40e
|
|
| BLAKE2b-256 |
b90b0b02b31506b31ff1237097840f5abdac03b9096e965d9585e3de731e2854
|
File details
Details for the file SlickWiki-0.2-py3-none-any.whl.
File metadata
- Download URL: SlickWiki-0.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.3.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49d356b8cf7786eef3647a1715028e767a85c26f2f4e0db8852a40f41ab4b478
|
|
| MD5 |
ed16899c06ede7d76d6154b35f353e2e
|
|
| BLAKE2b-256 |
a1f3608faeccecbc7b06185c27fcaffe2070c98b1953f1daa2196383c091f7be
|