Yet another static markdown personal wiki!
481
Have you ever woke up sweating in the middle of the night trying to recall the deploy procedure of an application you started two years ago on your server only to find out that you irreparably forgot it?
Have you ever been tired of having to fire up an instance of MediaWiki to document all your personal deploys/drafts/thoughts/recipes/< put-something-here >?
Have you ever cried while googling for some obscure MediaWiki syntax rule?
Yeah, we all atleast once did the things listed up there.
But here comes Markiki, a static markdown personal wiki!
Easy as:
markiki executable somewhere in your path. (e.g. ~/bin)$ markiki [options] /path/to/source/markdown/files/
Then serve the folder /path/to/source/markdown/files/_output/ with your favourite webserver!
.
+-- _config.yml // this is optional
+-- _posts
| +-- some-random-file.md
| +-- a-category
| | +-- this-is-ignored.jpg
| | +-- a-categorized-file.md
| | +-- a-subcategory // you can nest categories as needed
| | | +-- subcategorized-text.md
+-- _output // here there will be your html to serve
+-- _static
+-- an-image-you-will-link.jpg
/path/to/source/markdown/files/_output/ folder_static will be ignored, as the name is reserved for hosting static assets..md extension, a big title (single #) that will become the article title, and their filesystem name will become the article path into the wiki.-h, --help : print out the help text
-w, --watch : watch the source folder for changes
[Link description](#/internal/path)_static folder, and can be linked like [Link description](_static/static-image.jpg)_config.yml optionsSample config:
title: My fancy Wiki
description: *Wow, markdown works also here*
cd markiki./scripts/watch to start the cljs autobuilding (or ./scripts/build for a one-time build)lein run -- /path/to/source/markdown/files/ everytime you want an updated version, and point your browser to file:///path/to/source/markdown/files/_output/index.html (or refresh the page)lein bin && target/markiki /path/to/source/markdown/files/ etc.For bugs, questions, comments, anything really, please open an issue!
docker run --name $CONTAINER_NAME -v $SOURCE_PATH:/home/markiki -p $HOST_BIND_IP_PORT:80 -d nilrecurring/markiki
In this case the variable $HOST_BIND_IP_PORT should be in the form IP:PORT (e.g. 0.0.0.0:80)
To build from the local Dockerfile just docker build -t nilrecurring/markiki ., to get it from the Docker Hub instead type docker pull nilrecurring/markiki
Content type
Image
Digest
sha256:1e5d05a12…
Size
355.5 MB
Last updated
almost 11 years ago
docker pull nilrecurring/markiki