-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
21 lines (17 loc) · 976 Bytes
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# DON'T make changes here
# copy this file to `conf_local.py` and make your changes there
# recommended: only have variables in `conf_local.py` which you actually change
ACCESS_TOKEN = '<your access token HERE>' # REQUIRED
INSTANCE_DOMAIN = 'mastodon.social'
INSTANCE_USER_HANDLE = '' # REQUIRED, without @, eg: 'bison' for @[email protected]
LANGUAGE = 'en'
SHOW_TOOTS_AT_ONCE = 10
# 300 requests per 5 minutes is the limit for mastodon.social
# seconds to wait before the timeline scroller requests the next toot if there was no new toot
SCROLLER_DELAY_HAS_NO_TOOTS = 10
# time you have to read a new toot before the scroller requests the next toot
SCROLLER_DELAY_HAS_TOOTS = 5
TERMINAL_IMAGES = True # if requirements-full.txt is not installed, this will be set to False automatically
TERMINAL_IMAGE_OPTIMIZER = 'space'
TERMINAL_IMAGE_MAX_WIDTH = -1 # -1 means auto-detected width
TERMINAL_IMAGE_MAX_HEIGHT = None # None means scaled to width without limit