No description
  • Go 68.2%
  • HTML 27.4%
  • CSS 1.9%
  • Shell 1.4%
  • Makefile 1.1%
Find a file
2019-05-16 10:32:31 +02:00
pkg fixed TOC alignment 2019-05-15 23:01:27 +02:00
scripts better install scripts 2019-05-16 10:32:31 +02:00
templates fixed TOC alignment 2019-05-15 23:01:08 +02:00
vendor bugfixes and updated go.mod 2019-05-15 22:52:27 +02:00
.gitignore first working version 2018-09-14 00:14:49 +02:00
COPYRIGHT bump copyright year 2019-01-21 20:06:44 +01:00
go.mod bugfixes and updated go.mod 2019-05-15 22:52:27 +02:00
go.sum bugfixes and updated go.mod 2019-05-15 22:52:27 +02:00
LICENSE initial commit 2016-09-05 22:49:40 +02:00
main.go bugfixes and updated go.mod 2019-05-15 22:52:27 +02:00
Makefile bugfixes and updated go.mod 2019-05-15 22:52:27 +02:00
README.md better install scripts 2019-05-16 10:32:31 +02:00
sri.sh added initial favicon 2019-01-23 00:37:51 +01:00
templates.sh working sections version 2019-03-27 23:08:59 +01:00
VERSION major changes 2018-02-07 21:41:54 +01:00

GoWiki - a simple wiki engine written in Go

Building

Requirements:

  • Go (golang) >= 1.12

Linux:

make

or offline

make vendor

OpenBSD:

GOOS=openbsd make

or offline

GOOS=openbsd make vendor

Install

See the scripts/ directory on how to install gowiki on Linux or OpenBSD.

Config

{
        "data_dir": "/var/lib/gowiki",     // running directory. data will be stored here
        "user": "wiki",                    // drop privileges to user
        "group": "wiki",                   // drop privileges to group
        "listen_addr": "127.0.0.1:8080",   // listening <address>:<port>
        "log_file": "gowiki.log",          // log file (use - for stdout, this only works in combination with 'foreground: true')
        "secret": "",                      // static hmac secret (at least 64 chars, used for JWT signing)
        "foreground": false,               // do not fork into the background
        "secure_cookie": false,            // enable secure cookie flag
        "debug": false                     // enable debugging
}

GoWiki on OpenBSD

GoWiki makes use of the OpenBSD native security features pledge(2) and unveil(2).