about summary refs log tree commit diff stats
path: root/img.mu
Commit message (Expand)AuthorAgeFilesLines
* .Kartik K. Agaram2021-07-121-28/+28
* .Kartik K. Agaram2021-07-111-2/+2
* .Kartik K. Agaram2021-07-111-5/+2
* forget HSL conversion for now, stick to RGBKartik K. Agaram2021-07-111-13/+4
* .Kartik K. Agaram2021-07-111-42/+42
* .Kartik K. Agaram2021-07-111-33/+39
* .Kartik K. Agaram2021-07-111-32/+30
* .Kartik K. Agaram2021-07-111-20/+20
* .Kartik K. Agaram2021-07-111-1/+11
* dither 256-level greyscale to 8-level greyscaleKartik K. Agaram2021-07-111-2/+157
* .Kartik K. Agaram2021-07-101-24/+24
* .Kartik K. Agaram2021-07-101-3/+3
* .Kartik K. Agaram2021-07-101-2/+3
* .Kartik K. Agaram2021-07-101-88/+47
* increase precision for dithering computationsKartik K. Agaram2021-07-101-3/+8
* .Kartik K. Agaram2021-07-101-29/+53
* .Kartik K. Agaram2021-07-101-4/+4
* dithering greyscale using black/whiteKartik K. Agaram2021-07-101-24/+265
* reorder a few functionsKartik K. Agaram2021-07-081-126/+128
* .Kartik K. Agaram2021-07-081-0/+12
* scaling ppm imagesKartik K. Agaram2021-07-081-26/+76
* scaling pgm imagesKartik K. Agaram2021-07-081-21/+65
* .Kartik K. Agaram2021-07-081-3/+2
* .Kartik K. Agaram2021-07-081-3/+3
* scaling pbm imagesKartik K. Agaram2021-07-081-30/+67
* .Kartik K. Agaram2021-07-081-18/+18
* better greyscaleKartik K. Agaram2021-07-081-2/+8
* .Kartik K. Agaram2021-07-081-14/+14
* .Kartik K. Agaram2021-07-081-1/+0
* ppm colors are weird, thoughKartik K. Agaram2021-07-081-1/+5
* ppm supportKartik K. Agaram2021-07-071-3/+32
* .Kartik K. Agaram2021-07-071-9/+9
* render ppm/pgmKartik K. Agaram2021-07-071-7/+106
* load ppm/pgm/ppm on demandKartik K. Agaram2021-07-071-8/+113
* initial image renderingKartik K. Agaram2021-07-071-0/+140
or: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#############################################################
##  This config file can live in the following locations:  ##
##                                                         ##
##      ./                                                 ##
##      /usr/local/getwtxt/                                ##
##      /etc/                                              ##
##      /usr/local/etc/                                    ##
##                                                         ##
##  The first location found wins. The default filename    ##
##  is getwtxt.yml. This can be configured via command     ##
##  line flags:                                            ##
##                                                         ##
##  For "myconfig.json"                                    ##
##    ./getwtxt -config myconfig -type json                ##
##                                                         ##
#############################################################

#############################################################
##  Changing the following options requires a restart.     ##
#############################################################

# This is the port that getwtxt will bind to.
ListenPort: 9001

# The location of the LevelDB database structure. Can be
# a relative or absolute path.
DatabasePath: "getwtxt.db"

#############################################################
##  The following options may be changed at any time.      ##
##  getwtxt will automatically reload the config when      ##
##  changes are detected.                                  ##
#############################################################

# If true, getwtxt will send all log messages, including
# requests, to stdout. It will ignore any set log file.
# Useful for debugging, but you probably want to keep
# logs.
StdoutLogging: true

# The file getwtxt will append log messages to. Can be a
# relative or absolute path.
LogFile: "getwtxt.log"

# This is the interval between data pushes from the 
# in-memory cache to the on-disk database. 
DatabasePushInterval: "5m"

# The time getwtxt will wait between attempts to scrape
# users' statuses from their twtxt.txt files
StatusFetchInterval: "1h"

# The following options pertain to your particular instance.
# They are used in the default page shown when you visit
# getwtxt in a web browser.
Instance:

  # The name of your instance.
  SiteName: "getwtxt"

  # Your instance's web address.
  URL: "https://twtxt.example.com"

  # Your name. 
  OwnerName: "Anonymous Microblogger"
  
  # Your email address.
  Email: "nobody@knows"

  # A short description of your instance, or your site.
  # This is shown at the top of the default web page
  # below your instance's name.
  Description: "A fast, resilient twtxt registry server written in Go!"