ultrawiki

0.3.1 • Public • Published

UltraWiki

A lightweight MediaWiki alternative written in Node.js.

Installation

The easy way using bash (Linux / Mac):

cd my-awesome-wiki
echo 'Installing UltraWiki...' && if [[ ! -f package.json ]]; then echo '{ "private":true }' >> package.json; fi; npm install --save ultrawiki ultrawiki-skin-default express > /dev/null && mkdir wiki && curl -fsSL https://github.com/nanalan/ultrawiki/raw/master/example.js >> wiki.js && perl -pi -e "s/\'\.\/lib\/ultra\'/\'ultrawiki\'/g" wiki.js && mkdir wiki/en && echo '# Welcome to [My Wiki](/)!' >> wiki/en/welcome.md && node wiki.js
# visit http://localhost:9999 in a web browser 

The hard way using manual labor (Windows):

  • Open up a folder (say, my-awesome-wiki) in Files, Finder, or My Documents
  • Make a package.json file
  • In Command Prompt or Terminal, navigate to that folder and run npm install --save ultrawiki ultrawiki-skin-default express
  • Copy this file into wiki.js
  • Make a folder, wiki, and put another folder, en, inside it
  • Inside wiki/en, create welcome.md and put "Hello"
  • Replace "./lib/ultra" in wiki.js with "ultrawiki" (near the top)
  • Run node wiki.js
  • Visit this page and profit!

Package Sidebar

Install

npm i ultrawiki

Weekly Downloads

0

Version

0.3.1

License

GPL-3.0

Last publish

Collaborators

  • nanalan