No description
  • Go 68.2%
  • HTML 27.4%
  • CSS 1.9%
  • Shell 1.4%
  • Makefile 1.1%
Find a file
2019-09-03 21:46:50 +02:00
pkg move index mapping to const variables 2019-08-24 18:49:16 +02:00
scripts better install scripts 2019-05-16 10:32:31 +02:00
templates better migrator and page timing 2019-08-24 18:33:13 +02:00
vendor go1.13 and vendored dependencies 2019-09-03 21:46:50 +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 go1.13 and vendored dependencies 2019-09-03 21:46:50 +02:00
go.sum updated dependencies 2019-08-23 21:23:33 +02:00
LICENSE
main.go bugfixes and updated go.mod 2019-05-15 22:52:27 +02:00
Makefile go1.13 and vendored dependencies 2019-09-03 21:46:50 +02:00
README.md added features list 2019-05-16 11:01:06 +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

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)
	"admin": true,                     // set to false to disable the default admin user
        "foreground": false,               // do not fork into the background
        "secure_cookie": false,            // enable secure cookie flag
        "debug": false                     // enable debugging
}

Features

  • Fulltext indexing of wiki pages
  • Password hashing using BCrypt
  • 2FA using TOTP
  • Content Security Policy
  • No Javascript (yet)
  • Private wiki pages

GoWiki on OpenBSD

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