summary refs log tree commit diff stats
path: root/doc/tools
Commit message (Collapse)AuthorAgeFilesLines
* linting: pylint: Enable `broad-except`, Improve loggingnfnty2017-01-211-2/+2
| | | | | | | Handle exceptions explicitly to prevent unexpected errors from causing problems. Improve exception and notification logging.
* Python 3 division: Import `division` from `__future__`nfnty2017-01-213-3/+3
|
* linting: Python 2 compat: Import from `__future__`nfnty2017-01-173-0/+6
|
* linting: pylint and flake8nfnty2017-01-173-23/+23
|
* Use 'except Exception:' instead of 'except:'stepshal2016-06-221-2/+2
|
* Merge branch 'W931' of https://github.com/stepshal/rangerhut2016-06-181-1/+0
|\
| * Remove blank lines at end of filestepshal2016-06-161-1/+0
| |
* | Add two blank lines where is expectedstepshal2016-06-163-0/+3
|/
* doc/tools/print_colors.py: remove trailing newlinestepshal2016-06-071-1/+0
| | | | remove trailing newline
* doc/tools/print_keys.py: print mouse events toohut2015-09-201-1/+7
|
* add .paperinfo->.metadata.json conversion scripthut2015-01-171-0/+69
|
* doc/tools/print_colors.py: more stable in unfriendly environmentshut2013-11-121-4/+12
|
* move doc/print_{colors,keys}.py to doc/tools/hut2013-03-092-0/+37
'/gbmor/getwtxt/blame/getwtxt.yml?h=v0.3.1&id=daa48539f5ad8b444637f948b98996d35852b1e8'>^
daa4853 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86







                                                             





                                                             









                                                             

                                                  

                     


                                                


                              




                                                   









                                                             
                    























                                                            

                                     

                       
                       



                                                       
                                                                       

 
#############################################################
##  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 type of database you want to use. Currently,
# the following are supported:
#   leveldb (default)
#   sqlite
DatabaseType: "leveldb"

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

# The path to the assets directory, which contains:
#     style.css
#     tmpl/index.html
AssetsDirectory: "assets"

#############################################################
##  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: false

# 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!"