webfortune

command module
v0.0.0-...-d46d95b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

README

webfortune

A simple website that shows a random quote from a quotesfile.

screenshot of the webfortune interface

Usage

Use the following environment variables to configure webfortune:

  • LOG_CONSOLE --- enable pretty console logging from zerolog
  • LISTEN_ADDR --- the address to listen on.
  • QUOTESFILE --- the quotesfile to read quotes from. Should be formatted in the same way as strfile.
  • HOST_ROOT --- the root URL at which webfortune is hosted.
  • QUOTESFILE_SOURCE_URL --- a URL pointing to the source of the quotesfile (optional).
  • GOATCOUNTER_DOMAIN --- the data-goatcounter value for GoatCounter analytics.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL