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