All Projects → lithammer → Go Wiki

lithammer / Go Wiki

Licence: mit
A simple HTTP server rendering Markdown styled documents

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Go Wiki

OpenCL
The content of the OpenCL.org website
Stars: ✭ 18 (-93.9%)
Mutual labels:  wiki
bitnami-docker-dokuwiki
Bitnami Docker Image for DokuWiki
Stars: ✭ 98 (-66.78%)
Mutual labels:  wiki
Mapnik
Mapnik is an open source toolkit for developing mapping applications
Stars: ✭ 3,067 (+939.66%)
Mutual labels:  wiki
King.Azure.Imaging
Image API & processing for Azure Web Apps
Stars: ✭ 20 (-93.22%)
Mutual labels:  wiki
emailkit
EmailKit for Android - This is a powerful, excellent and simple Email framework💌.
Stars: ✭ 99 (-66.44%)
Mutual labels:  wiki
yeswiki
YesWiki is a wiki system written in PHP, including extensions making collaboration more simple (databases, maps, easy editing, bootstrap themes,...).
Stars: ✭ 74 (-74.92%)
Mutual labels:  wiki
WikkaWiki
This version (1.4.2) marks the end-of-life for WikkaWiki (see README.md for details).
Stars: ✭ 41 (-86.1%)
Mutual labels:  wiki
Til
Today I Learned. 그날 그날 모든 활동들을 정리
Stars: ✭ 281 (-4.75%)
Mutual labels:  wiki
vimwiki-skel
Skeleton for seeding new Vimwiki instances
Stars: ✭ 18 (-93.9%)
Mutual labels:  wiki
Octopus
🐙 Octopus - Internal wiki with diagrams for software and product teams
Stars: ✭ 274 (-7.12%)
Mutual labels:  wiki
wiki
Free and Open Source Wiki built on top of Frappe
Stars: ✭ 63 (-78.64%)
Mutual labels:  wiki
wiki
Open-source Wiki documentation app.
Stars: ✭ 14 (-95.25%)
Mutual labels:  wiki
sqlmap-wiki-zhcn
可能是最完整的 sqlmap 中文文档。
Stars: ✭ 51 (-82.71%)
Mutual labels:  wiki
wikicr
Wiki in crystal, using Markdown and Git, inspired by dokuwiki. Last features to build are pretty hard, if you have some time to help... :)
Stars: ✭ 20 (-93.22%)
Mutual labels:  wiki
Gitit Bigger
Gitit Bigger: 超棒的个人、团队Wiki/文档方案(Git、Markdown、Bootstrap、Ace、Docker)
Stars: ✭ 279 (-5.42%)
Mutual labels:  wiki
arwiki
A decentralized and permanent wiki for Arweave docs.
Stars: ✭ 13 (-95.59%)
Mutual labels:  wiki
blockchainer-roadmap
Roadmap of learning blockchain technology and business knowledge summarized by ZJUBCA(浙大区块链协会总结的区块链知识学习路线). Welcome to contribute!!!
Stars: ✭ 167 (-43.39%)
Mutual labels:  wiki
Roadkill
A modern .NET Wiki
Stars: ✭ 294 (-0.34%)
Mutual labels:  wiki
Pentest Book
Stars: ✭ 266 (-9.83%)
Mutual labels:  wiki
Swoole Wiki
📖Swoole全量Markdown文档, Swoole-Doc, Swoole-Wiki
Stars: ✭ 261 (-11.53%)
Mutual labels:  wiki

Go Wiki

A simple HTTP server rendering Markdown styled documents on the fly and optionally shows its git history including diffs.

NOTE This is toy project to help me learn Go, so don't run this on anything publically available.

Screenshot1

Installation

$ go get github.com/renstrom/go-wiki
$ $GOPATH/bin/go-wiki <path to wiki directory>

Customize

It's only possible to customize the CSS. Put all your customizations in a file of your choosing and point to it using the --custom-css flag.

$ go-wiki ~/www/wiki --custom-css=<path to custom css>

Usage

Create git repository containing your Markdown formatted wiki pages.

On the server

Create an empty repository.

$ mkdir -p ~/www/wiki && cd $_
$ git init
$ git config core.worktree ~/www/wiki
$ git config receive.denycurrentbranch ignore

Setup a post-receive hook.

$ cat > .git/hooks/post-receive <<EOF
#!/bin/sh
git checkout --force
EOF
$ chmod +x .git/hooks/post-receive

Start the server.

$ go-wiki ~/www/wiki

On your local machine

Replace <user> and <host> with credentials for your specific machine.

$ git init
$ git remote add origin \
    ssh://<user>@<host>/home/<user>/www/wiki

Now create some Markdown file and push.

$ git add index.md
$ git commit -m 'Add index page'
$ git push origin master

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].