summarylogtreecommitdiffstats
path: root/config.patch
blob: b655b8a6efd6e1c76dfafd8ae71fddb2c1d8e8de (plain)
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
diff --git a/nitter.conf b/nitter.conf
index 0d4deb7..8ea2797 100644
--- a/nitter.conf
+++ b/nitter.conf
@@ -1,11 +1,11 @@
 [Server]
-hostname = "nitter.net"  # for generating links, change this to your own domain/ip
-title = "nitter"
-address = "0.0.0.0"
-port = 8080
+hostname = "nitter.net"  # Change this
+title = "nitter"  # Change this?
+address = "localhost"  # Change this?
+port = 13500  # Change this?
 https = false  # disable to enable cookies when not using https
 httpMaxConnections = 100
-staticDir = "./public"
+staticDir = "/usr/share/nitter/public"
 
 [Cache]
 listMinutes = 240  # how long to cache list info (not the tweets, so keep it high)
@@ -20,8 +20,8 @@ redisMaxConnections = 30
 # you receive tons of requests per second
 
 [Config]
-hmacKey = "secretkey"  # random key for cryptographic signing of video urls
-base64Media = false  # use base64 encoding for proxied media urls
+hmacKey = "43179cf305cda132874f7a4d3fa4831a01528e516780157bebd564b0ca0297c2"  # Regenerate e.g. `head -c 25 </dev/urandom | sha256sum`
+base64Media = true  # use base64 encoding for proxied media urls
 enableRSS = true  # set this to false to disable RSS feeds
 enableDebug = false  # enable request logs and debug endpoints (/.tokens)
 proxy = ""  # http/https url, SOCKS proxies are not supported
@@ -35,10 +35,10 @@ tokenCount = 10
 
 # Change default preferences here, see src/prefs_impl.nim for a complete list
 [Preferences]
-theme = "Nitter"
-replaceTwitter = "nitter.net"
-replaceYouTube = "piped.video"
-replaceReddit = "teddit.net"
+theme = "twitter_dark"  # Change this?
+replaceTwitter = "nitter.net"  # Use the same "hostname" as above
+replaceYouTube = ""  # Default: piped.kavin.rocks
+replaceReddit = ""   # Default: teddit.net
 proxyVideos = true
 hlsPlayback = false
 infiniteScroll = false