doc
[nikiroo-utils.git] / bundles / config.properties
... / ...
CommitLineData
1# Configuration options
2#
3
4
5# The language (example: en-GB, fr-BE...) or nothing for default system language (can be overwritten with the variable $LANG)
6# (FORMAT: LOCALE)
7#LANG =
8# The default reader type to use to read stories:
9# CLI = simple output to console
10# TUI = a Text User Interface with menus and windows, based upon Jexer
11# GUI = a GUI with locally stored files, based upon Swing
12# (FORMAT: FIXED_LIST)
13# ALLOWED VALUES: "CLI", "GUI", "TUI"
14#READER_TYPE = GUI
15# The type of output for the Local Reader for non-images documents
16# (FORMAT: FIXED_LIST)
17# ALLOWED VALUES: "INFO_TEXT", "EPUB", "HTML", "TEXT"
18#NON_IMAGES_DOCUMENT_TYPE = INFO_TEXT
19# The type of output for the Local Reader for non-images documents
20# (FORMAT: FIXED_LIST)
21# ALLOWED VALUES: "CBZ", "HTML"
22#IMAGES_DOCUMENT_TYPE = CBZ
23# The directory where to store temporary files; any relative path uses the applciation config directory as base, $HOME notation is supported, / is always accepted as directory separator
24# (FORMAT: DIRECTORY)
25#CACHE_DIR = tmp/
26# The delay in hours after which a cached resource that is thought to change ~often is considered too old and triggers a refresh delay (or 0 for no cache, or -1 for infinite time)
27# (FORMAT: INT)
28#CACHE_MAX_TIME_CHANGING = 24
29# The delay in hours after which a cached resource that is thought to change rarely is considered too old and triggers a refresh delay (or 0 for no cache, or -1 for infinite time)
30# (FORMAT: INT)
31#CACHE_MAX_TIME_STABLE = 720
32# The user-agent to use to download files
33# (FORMAT: STRING)
34#USER_AGENT = Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 -- ELinks/0.9.3 (Linux 2.6.11 i686; 80x24) -- Fanfix (https://github.com/nikiroo/fanfix/)
35# The directory where to get the default story covers; any relative path uses the applciation config directory as base, $HOME notation is supported, / is always accepted as directory separator
36# (FORMAT: DIRECTORY)
37#DEFAULT_COVERS_DIR = covers/
38# The default library to use (KEY:SERVER:PORT), or empty for the local library
39# (FORMAT: STRING)
40#DEFAULT_LIBRARY =
41# The port on which we can start the server (must be a valid port, from 1 to 65535)
42# (FORMAT: INT)
43#SERVER_PORT = 58365
44# The encryption key for the server (NOT including a subkey), it cannot contain the pipe character "|" but can be empty (it is *still* encrypted, but with an empty, easy to guess key)
45# (FORMAT: PASSWORD)
46#SERVER_KEY =
47# Allow write access to the clients (download story, move story...) without RW subkeys
48# (FORMAT: BOOLEAN)
49#SERVER_RW = true
50# If not empty, only the EXACT listed sources will be available for clients without BL subkeys
51# (FORMAT: STRING)
52# (This item accepts a list of escaped comma-separated values)
53#SERVER_WHITELIST =
54# The subkeys that the server will allow, including the modes
55# (FORMAT: STRING)
56# (This item accepts a list of escaped comma-separated values)
57#SERVER_ALLOWED_SUBKEYS =
58# The directory where to store the library (can be overriden by the envvironment variable "BOOKS_DIR"; any relative path uses the applciation config directory as base, $HOME notation is supported, / is always accepted as directory separator
59# (FORMAT: DIRECTORY)
60#LIBRARY_DIR = $HOME/Books/
61# Show debug information on errors
62# (FORMAT: BOOLEAN)
63#DEBUG_ERR = false
64# Show debug trace information
65# (FORMAT: BOOLEAN)
66#DEBUG_TRACE = false
67# Image format to use for cover images
68# (FORMAT: FIXED_LIST)
69# ALLOWED VALUES: "PNG", "JPG", "BMP"
70#IMAGE_FORMAT_COVER = PNG
71# Image format to use for content images
72# (FORMAT: FIXED_LIST)
73# ALLOWED VALUES: "PNG", "JPG", "BMP"
74#IMAGE_FORMAT_CONTENT = jpg
75#
76# This item is used as a group, its content is not expected to be used.
77#LATEX_LANG =
78# LaTeX output language (full name) for "English"
79# (FORMAT: STRING)
80#LATEX_LANG_EN = english
81# LaTeX output language (full name) for "French"
82# (FORMAT: STRING)
83#LATEX_LANG_FR = french
84# other 'by' prefixes before author name, used to identify the author
85# (FORMAT: STRING)
86# (This item accepts a list of escaped comma-separated values)
87#BYS = "by","par","de","©","(c)"
88# List of languages codes used for chapter identification (should not be changed)
89# (FORMAT: STRING)
90# (This item accepts a list of escaped comma-separated values)
91#CHAPTER = "EN","FR"
92# Chapter identification string in English, used to identify a starting chapter in text mode
93# (FORMAT: STRING)
94#CHAPTER_EN = Chapter
95# Chapter identification string in French, used to identify a starting chapter in text mode
96# (FORMAT: STRING)
97#CHAPTER_FR = Chapitre
98# Login for YiffStar to have access to all the stories (should not be necessary anymore, but can still be used)
99# (FORMAT: STRING)
100#LOGIN_YIFFSTAR_USER =
101# Password for YiffStar to have access to all the stories (should not be necessary anymore, but can still be used)
102# (FORMAT: PASSWORD)
103#LOGIN_YIFFSTAR_PASS =
104# If the last update check was done at least that many days ago, check for updates at startup (-1 for 'no checks')
105# (FORMAT: INT)
106#UPDATE_INTERVAL = 1
107# The proxy server to use under the format 'user:pass@proxy:port', 'user@proxy:port', 'proxy:port' or ':' alone (system proxy); an empty String means no proxy
108# (FORMAT: STRING)
109#USE_PROXY =
110# FimFiction APIKEY credentials
111# FimFiction can be queried via an API, but requires an API key to do that. One has been created for this program, but if you have another API key you can set it here. You can also set a login and password instead, in that case, a new API key will be generated (and stored) if you still haven't set one.
112# This item is used as a group, its content is not expected to be used.
113#LOGIN_FIMFICTION_APIKEY =
114# The login of the API key used to create a new token from FimFiction
115# (FORMAT: STRING)
116#LOGIN_FIMFICTION_APIKEY_CLIENT_ID =
117# The password of the API key used to create a new token from FimFiction
118# (FORMAT: PASSWORD)
119#LOGIN_FIMFICTION_APIKEY_CLIENT_SECRET =
120# Do not use the new API, even if we have a token, and force HTML scraping
121# (FORMAT: BOOLEAN)
122#LOGIN_FIMFICTION_APIKEY_FORCE_HTML = false
123# The token required to use the beta APIv2 from FimFiction (see APIKEY_CLIENT_* if you want to generate a new one from your own API key)
124# (FORMAT: PASSWORD)
125#LOGIN_FIMFICTION_APIKEY_TOKEN = Bearer WnZ5oHlzQoDocv1GcgHfcoqctHkSwL-D