Skip to content

mikeshultz/wikionastick

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Wiki On A Stick

Build Status

A wiki that runs on, and renders markdown documents from a thumbdrive.

Screenshot

Install

Automagic Install

WOS_INSTALL_PATH=/mnt/thumb-drive bash <(curl -s https://raw.githubusercontent.com/mikeshultz/wikionastick/master/install_usb.sh)

You can review the installer script ahead of time, but this is the easiest way to install WikiOnAStick to a mounted thumbdrive.

If you only need a specific OS supported, set WOS_OS to one of the following: linux64, darwin64, freebsd64 or win64.

Manual

  1. Grab a copy of the release from the releases page.
  2. Create a directory on your thumbdrive that will contain your docs
  3. Unzip/untar files to that directory
  4. Create documentation files, with index.md or README.md as the default page. All links are relative.

See the Example below for more information.

Usage

Usage:
  wikionastick [OPTIONS]

Application Options:
  -t, --template= Path to a template directory
  -l, --loglevel= Log level. ['debug', 'info', 'warning', 'error']

Help Options:
  -h, --help      Show this help message

Templates

You can create your own HTML/CSS/JS templates. Just copy the directory templates/default to templates/mytemplate and modify files as necessary.
You will have to invoke wikionastick with the new template path:

wikionastick -t templates/mytemplate

Example

Thumbdrive layout:

/mnt/thumbdrive
    wikionastick
    templates/
        default/
            base_template.html
            main.css
    README.md
    docs/
        example.md

README.md:

# Hello!

World.  See my [example notes](docs/example.md).

About

A wiki that runs on, and renders markdown documents from a thumbdrive

Resources

License

Stars

Watchers

Forks

Packages

No packages published