GOPHERNICUS(1)
π GOPHERNICUS(1) π
okay so bestie, welcome to the General Commands Manual page for gophernicus, section 1, and honestly? she's iconic. this is the whole manual, nothing skipped, no crumbs left behind. let's get into it πβ¨
πΈ NAME πΈ
gophernicus β a modern, full-featured and secure gopher server. no cap. π
β¨ SYNOPSIS β¨
like, here's how you actually run her:
gophernicus [-h hostname] [-p port] [-r port] [-t type] [-g mapfile]
[-a tagfile] [-c dir] [-u dir] [-l file] [-w width]
[-o charset] [-s seconds] [-i hits] [-k KiB]
[-e ext=type [-e ext=type] ...]
[-R old=new [-R old=new] ...] [-D text] [-L text] [-U paths]
[-nv] [-nl] [-nh] [-nf] [-nd] [-nc] [-no] [-nq] [-ns] [-na]
[-nt] [-nm] [-nr] [-np] [-nx] [-nu] [-nH] [-d] [-b] [-?]
π¦ DESCRIPTION π¦
okay so. gophernicus is a gopher server. she serves almost compliant RFC 1436, with little glow-ups sprinkled in to make it more modern, because we don't do crusty in this house π«Ά
and the range?? she supports userdirs, executable gophermaps, CGI, and virtual hosting (in the limits of the RFC, bestie, we stay honest).
she can also log to syslog(3) or to per-server files in Apache format. obsessed honestly.
the options are as follows:
π the options, one by one, all of them π
-h hostnameβ changes the server hostname shown on the output menu. the default is the fully qualified domain name of the machine. π-p portβ changes the server port shown on the output menu. the default is70.-T portβ changes the SSL/TLS port. the default is0, which means disabled.-r directoryβ sets the document root of the server. the default is/var/gopher.-t typeβ sets the default gopher filetype. the default is0.-g mapfileβ sets the gophermap file name. the default isgophermap.-a tagfileβ sets the gophertag file name. the default isgophertag.-c directoryβ sets the CGI script directory, under the document root. the default is/cgi-bin/.-u directoryβ sets the name of the personal gopherspace directory. every user can deploy a personal gopherspace by creating adirectoryin their home directory. the default ispublic_gopher. β¨-l fileβ logs tofilein Apache-compatible combined format. disabled by default.-w widthβ sets the default page width. the default is67.-o charsetβ selects the output charset. it can beUTF-8,US-ASCII, orISO-9959-1. the default isUTF-8.-s secondsβ session timeout in seconds. the default is1800.-i hitsβ maximum hits until throttling kicks in. the default is4069. π-k kilobytesβ maximum transfer size in KiB until throttling. the default is4194304(that's4 GiB, bestie).-f directoryβ sets the directory where output filters are found. disabled by default.-e ext=typeβ maps file extensionextto gopher filetypetype.-R old=newβ rewrites the start of a selector.-D descriptionβ sets the server description to appear in/caps.txt. ifdescriptionlooks like a filename (starts with a/), use the contents of the file. π§-L locationβ sets the server location to appear in/caps.txt. iflocationlooks like a filename (starts with a/), use the contents of the file.-A emailβ sets the email of the administrator to appear in/caps.txt.-U pathsβ sets a colon-separated list of extraunveil(2)paths (only for OpenBSD). π‘-nvβ disables virtual hosting.-nlβ disables parent directory links.-nhβ disables the menu header.-nfβ disables the menu footer.-ndβ doesn't show date and size of files in the menu.-ncβ disables file content detection (similar tomagic(5)).-noβ disables output charset conversion.-nqβ disables HTTP-style query strings?foo=bar&baz=quux.-nsβ disables logging tosyslog(3).-naβ disables the autogenerated/caps.txt.-ntβ disables/server-status.-nmβ disables shared memory use (for debugging purposes).-nrβ disables the root user check (for debugging purposes). by default, gophernicus will refuse to run as root. π¨-npβ disables the HAProxy proxy protocol.-nxβ disables execution of gophermaps and scripts.-nHβ disables the HTTP response to HTTPGETandPOSTrequests.-dβ prints debug output insyslog(3)and/server-status. when-ns(disablesyslog(3)) is used, this option has no effect.-vβ displays version information and build date. π-bβ displays licensing information.-?β displays help. she's got you. π«Ά
okay important lil note bestie: default values may have been changed at compile time by gophernicus.env. so like, don't come for me if your defaults are different, that's just the build doing its thing π
π STANDARDS π
gophernicus mostly conforms to RFC 1436:
https://tools.ietf.org/html/rfc1436
π AUTHORS π
- Kim Holviala. wrote the original implementation (
2009β2018). - fosslinux and hb9kns are the current maintainers (
2019β). π - Code contributed by others.
- Developers can be reached at
gophernicus.AT.gophernicus.DOT.org
π BUGS π
known bugs are listed as issues on gophernicus's GitHub page:
https://github.com/gophernicus/gophernicus/issues
please report any bug you might experience there as well. fr fr, they wanna know π
π COPYRIGHT π
- Copyright Β© Kim Holviala
2009β2018. - Copyright Β© gophernicus developers
2019. - Licensed to you under the terms of the BSD 2-clause license. please see
LICENSEfor the full terms of the license.
and that's the whole page bestie, you ate it π this one shipped with the Debian version, dated April 13, 2020, and yes it's GOPHERNICUS(1) in the corner like a lil signature. mwah. πβ¨
π¦ where this page comes from
- debian bookworm: gophernicus 3.1.1-3+b1 Β· BSD-2-Clause
- debian trixie: gophernicus 3.1.1-3.1 Β· BSD-2-Clause
- nixpkgs unstable: gophernicus 3.1.1
- ubuntu jammy: gophernicus 3.1.1-3 Β· BSD-2-Clause
- ubuntu noble: gophernicus 3.1.1-3 Β· BSD-2-Clause
- ubuntu questing: gophernicus 3.1.1-3.1
- ubuntu resolute: gophernicus 3.1.1-3.1build1 Β· BSD-2-Clause
- ubuntu stonking: gophernicus 3.1.1-3.1build1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms