massa-wiki

1.0.0 • Public • Published

massa-wiki

This is a simple file-based markdown wiki. Existing tools were too complex and/or too broken to for my use.

wiki = require 'massa-wiki'
 
docPath = "#{__dirname}/docs"
port = 8000
wiki.start portdocPath

The code found herein isn't great. Use it at your own risk!

to do

  • sort dirs/files (dirs first, then files; alpha sort)
  • autoselect index.md when navigating to a dir
  • fix error when creating new file at root (navigates without root url)
  • auto git commit + git push

to don't

  • delete file/dir
  • move file/dir

license

MIT

/massa-wiki/

    Package Sidebar

    Install

    npm i massa-wiki

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • endangeredmassa