No description
  • Go 68.2%
  • HTML 27.4%
  • CSS 1.9%
  • Shell 1.4%
  • Makefile 1.1%
Find a file
2023-04-01 19:50:50 +02:00
cmd/gowiki some updates 2021-12-04 17:53:19 +01:00
pkg updated dependencies 2023-04-01 19:50:50 +02:00
scripts updated dependencies 2023-04-01 19:50:50 +02:00
vendor updated dependencies 2023-04-01 19:50:50 +02:00
.gitignore some updates 2021-12-04 17:53:19 +01:00
COPYRIGHT bump copyright 2021-02-18 22:53:49 +01:00
go.mod updated dependencies 2023-04-01 19:50:50 +02:00
go.sum updated dependencies 2023-04-01 19:50:50 +02:00
LICENSE initial commit 2016-09-05 22:49:40 +02:00
Makefile updated dependencies 2023-01-15 16:24:38 +01:00
README.md bump copyright 2021-02-18 22:52:28 +01:00
sri.sh bump copyright 2021-02-18 22:52:28 +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.16

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).