serendwiki

command module
v0.0.0-...-9170afc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2017 License: MIT Imports: 17 Imported by: 0

README

Status: Abandoned. I'm still looking for something that fills this use case, but I'm not willing to maintain this particular implementation anymore.

Serendwiki

Serendwiki is a static site generator / wiki compiler written in Go.

It takes a folder full of markdown articles (or symlinks to them) and converts them into HTML files. Contrary to a normal wiki, where all links between articles are explicit, serendwiki is auto-linking or serendipitous (hence the name). If you have an article file foo (no extension), then any instance of the word foo in any other article will link to that article.

Currently serendwiki only supports a single flat directory, as I use : to namespace my personal wiki within a single directory. Non-hidden files and directories that serendwiki does not recognize as wiki files will be copied to the output directory verbatim, so that you can, for example, link image files within your wiki.

Inspiration

Serendwiki was inspired by the Vim plugin VimBoy.

Quickstart

Installation
  • Install golang
  • go get -u -v github.com/DataWraith/serendwiki
Creating a Wiki
  • mkdir $HOME/wiki/
  • Add some markdown files to ~/wiki/ -- the files should have no extension
  • serendwiki $HOME/wiki/ $HOME/wiki-out/

NOTE: serendwiki will refuse to run if the wiki-out directory already exists in order to avoid overwriting existing files.

License

serendwiki is MIT-licensed. See the accompanying LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL