sumnerevans / webfortune

A simple website that shows a random quote from a quotesfile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A simple website that shows a random quote from a quotesfile

License:Apache License 2.0


Languages

Language:Go 85.2%Language:Nix 14.8%