Skip to main content

small wiki engine based on static reST files in a directory and git for versionning

Project description

attowiki is a very small wiki engine for personal use.

It’s main features are:

  • can be started in any directory

  • uses all .rst files in directory structure as “wiki” files

  • uses git for revision control

  • automatic background saving

  • history view of old version of pages, including source and diff views

  • added 2 new directives: ‘todo’ and ‘done’

  • some meta pages, including:

    • /__index__: gives a list of all meta pages and normal pages

    • /__cheatsheet__: docutils reStructuredText cheat sheet

    • /__todo__: gives a list of all todo found in all pages

    • /__done__: gives a list of all done found in all pages

    • /__xxxxxxx__: gives a list of all xxxxxxx found in all pages, xxxxxxx represent any reStructure node, like all admonitions:

      • __todo__

      • __done__

      • __attention__

      • __caution__

      • __danger__

      • __error__

      • __hint__

      • __important__

      • __note__

      • __tip__

      • __warning__

      • __admonition__

    • “admonition” meta pages for one page only using this kind of url: /name of the doc.__admonitionname__

usage

Launching a wiki

$ attowiki

that’s all.

attowiki will start a small server (by default, serving to http://localhost:8080)

all the .rst files inside the current directory will be used for the wiki

installation

$ pip install attowiki

project dependencies

  • bottle

  • docutils

  • gitpython

Version History

current

  • added a ‘view diff’ button when viewing a previous version of a file

  • added a ‘view source’ button when viewing a previous version of a file

  • added an history view of previous versions of a file

  • added __todo__ meta page which scan all the directory for todo directives and display it in one page

  • added more generic __xxxxxxxx__ meta page which scan all the directory for the xxxxxxxx admnonition. This may work with any registered node, especially admonitions:

    • __todo__

    • __done__

    • __attention__

    • __caution__

    • __danger__

    • __error__

    • __hint__

    • __important__

    • __note__

    • __tip__

    • __warning__

    • __admonition__

  • added possibility to use the “admonition” meta pages for one page only using this kind of url: /name of the doc.__admonition_name__

  • added __cheatsheet__ meta page which provides locally a docutils reST cheatsheet

  • added ‘done’ directive, in order to work with todo: when a task is done, edit the page and change ‘todo’ to ‘done’ (it will remove it from __todo__ meta page)

  • removed iframe

  • improved docutils css

  • some other refactors

v0.3

  • added todo directive support in rest files (now display correctly a todo)

  • changed a little bit the default docutils css

  • added background saving feature

v0.2

  • start in a dir, looks for .rst files and serve them in html

  • looks for index.rst at first and serve it

  • if index.rst not found serve a page with the list of files

  • simple edition (text area). Save and Cancel buttons

  • git commit when saving

v0.1

  • first (non-working) version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

attowiki-v0.4.tar.gz (18.8 kB view details)

Uploaded Source

File details

Details for the file attowiki-v0.4.tar.gz.

File metadata

  • Download URL: attowiki-v0.4.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for attowiki-v0.4.tar.gz
Algorithm Hash digest
SHA256 506ae3ccdcbd4b8acefbc72068cfca7df592122752ab013021329f5e663d6316
MD5 4aa80b9fb80d40b3e451f42c743f8430
BLAKE2b-256 04b160706bce58a09697721e017cd7ee4b0dd9c8e9596af5000f169707268db4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page