|
|
|
@ -10,8 +10,9 @@ hostname = "nitter.net" |
|
|
|
|
[Cache] |
|
|
|
|
listMinutes = 240 # how long to cache list info (not the tweets, so keep it high) |
|
|
|
|
rssMinutes = 10 # how long to cache rss queries |
|
|
|
|
redisHost = "localhost" |
|
|
|
|
redisHost = "nitter-redis" |
|
|
|
|
redisPort = 6379 |
|
|
|
|
redisPassword = "" |
|
|
|
|
redisConnections = 20 # connection pool size |
|
|
|
|
redisMaxConnections = 30 |
|
|
|
|
# max, new connections are opened when none are available, but if the pool size |
|
|
|
@ -21,6 +22,9 @@ redisMaxConnections = 30 |
|
|
|
|
[Config] |
|
|
|
|
hmacKey = "secretkey" # random key for cryptographic signing of video urls |
|
|
|
|
base64Media = false # use base64 encoding for proxied media urls |
|
|
|
|
enableRSS = true # set this to false to disable RSS feeds |
|
|
|
|
proxy = "" # proxy type http/https |
|
|
|
|
proxyAuth = "" |
|
|
|
|
tokenCount = 10 |
|
|
|
|
# minimum amount of usable tokens. tokens are used to authorize API requests, |
|
|
|
|
# but they expire after ~1 hour, and have a limit of 187 requests. |
|
|
|
@ -33,7 +37,8 @@ tokenCount = 10 |
|
|
|
|
theme = "Nitter" |
|
|
|
|
replaceTwitter = "nitter.net" |
|
|
|
|
replaceYouTube = "invidio.us" |
|
|
|
|
replaceInstagram = "" |
|
|
|
|
replaceReddit = "teddit.net" |
|
|
|
|
replaceInstagram = "bibliogram.art" |
|
|
|
|
proxyVideos = true |
|
|
|
|
hlsPlayback = false |
|
|
|
|
infiniteScroll = false |
|
|
|
|