076→オワコン
このコミットが含まれているのは:
コミット
bf6a627ead
|
@ -5,7 +5,7 @@ https = false # disable to enable cookies when not using https
|
||||||
httpMaxConnections = 100
|
httpMaxConnections = 100
|
||||||
staticDir = "./public"
|
staticDir = "./public"
|
||||||
title = "nitter"
|
title = "nitter"
|
||||||
hostname = "twitter.076.ne.jp"
|
hostname = "twitter.owacon.moe"
|
||||||
|
|
||||||
[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)
|
||||||
|
@ -36,11 +36,11 @@ tokenCount = 10
|
||||||
# Change default preferences here, see src/prefs_impl.nim for a complete list
|
# Change default preferences here, see src/prefs_impl.nim for a complete list
|
||||||
[Preferences]
|
[Preferences]
|
||||||
theme = "Loli"
|
theme = "Loli"
|
||||||
replaceTwitter = "twitter.076.ne.jp"
|
replaceTwitter = "twitter.owacon.moe"
|
||||||
replaceYouTube = "youtube.076.ne.jp"
|
replaceYouTube = "youtube.owacon.moe"
|
||||||
replaceReddit = "teddit.net"
|
replaceReddit = "teddit.net"
|
||||||
replaceInstagram = ""
|
replaceInstagram = ""
|
||||||
replaceOdysee = "odysee.076.ne.jp"
|
replaceOdysee = "odysee.owacon.moe"
|
||||||
proxyVideos = true
|
proxyVideos = true
|
||||||
hlsPlayback = false
|
hlsPlayback = false
|
||||||
infiniteScroll = false
|
infiniteScroll = false
|
||||||
|
|
|
@ -4,7 +4,7 @@ Nitter is a free and open source alternative Twitter front-end focused on
|
||||||
privacy and performance. The source is available on GitHub at
|
privacy and performance. The source is available on GitHub at
|
||||||
<https://github.com/zedeus/nitter>
|
<https://github.com/zedeus/nitter>
|
||||||
|
|
||||||
テクニカル諏訪子に編集したソースコードはこちらで御座います→ <https://git.076.ne.jp/TechnicalSuwako/Nitter-mod>
|
テクニカル諏訪子に編集したソースコードはこちらで御座います→ <https://gitler.moe/TechnicalSuwako/Nitter-mod>
|
||||||
|
|
||||||
* No JavaScript or ads
|
* No JavaScript or ads
|
||||||
* All requests go through the backend, client never talks to Twitter
|
* All requests go through the backend, client never talks to Twitter
|
||||||
|
|
|
@ -22,7 +22,7 @@ proc getConfig*(path: string): (Config, parseCfg.Config) =
|
||||||
|
|
||||||
staticDir: cfg.get("Server", "staticDir", "./public"),
|
staticDir: cfg.get("Server", "staticDir", "./public"),
|
||||||
title: cfg.get("Server", "title", "076ツイッター"),
|
title: cfg.get("Server", "title", "076ツイッター"),
|
||||||
hostname: cfg.get("Server", "hostname", "twitter.076.ne.jp"),
|
hostname: cfg.get("Server", "hostname", "twitter.owacon.moe"),
|
||||||
|
|
||||||
# Cache
|
# Cache
|
||||||
listCacheTime: cfg.get("Cache", "listMinutes", 120),
|
listCacheTime: cfg.get("Cache", "listMinutes", 120),
|
||||||
|
@ -34,8 +34,8 @@ proc getConfig*(path: string): (Config, parseCfg.Config) =
|
||||||
redisMaxConns: cfg.get("Cache", "redisMaxConnections", 30),
|
redisMaxConns: cfg.get("Cache", "redisMaxConnections", 30),
|
||||||
redisPassword: cfg.get("Cache", "redisPassword", ""),
|
redisPassword: cfg.get("Cache", "redisPassword", ""),
|
||||||
|
|
||||||
replaceYouTube: cfg.get("Preferences", "replaceYouTube", "youtube.076.ne.jp"),
|
replaceYouTube: cfg.get("Preferences", "replaceYouTube", "youtube.owacon.moe"),
|
||||||
replaceOdysee: cfg.get("Preferences", "replaceOdysee", "odysee.076.ne.jp"),
|
replaceOdysee: cfg.get("Preferences", "replaceOdysee", "odysee.owacon.moe"),
|
||||||
|
|
||||||
# Config
|
# Config
|
||||||
hmacKey: cfg.get("Config", "hmacKey", "secretkey"),
|
hmacKey: cfg.get("Config", "hmacKey", "secretkey"),
|
||||||
|
|
|
@ -95,25 +95,25 @@ genPrefs:
|
||||||
"自動的にGIFの再生"
|
"自動的にGIFの再生"
|
||||||
|
|
||||||
"Link replacements (blank to disable)":
|
"Link replacements (blank to disable)":
|
||||||
replaceTwitter(input, "twitter.076.ne.jp"):
|
replaceTwitter(input, "twitter.owacon.moe"):
|
||||||
"ツイッター → Nitter"
|
"ツイッター → Nitter"
|
||||||
placeholder: "twitter.076.ne.jp"
|
placeholder: "twitter.owacon.moe"
|
||||||
|
|
||||||
replaceYouTube(input, "youtube.076.ne.jp"):
|
replaceYouTube(input, "youtube.owacon.moe"):
|
||||||
"ユーチューブ → Invidious"
|
"ユーチューブ → Invidious"
|
||||||
placeholder: "youtube.076.ne.jp"
|
placeholder: "youtube.owacon.moe"
|
||||||
|
|
||||||
replaceReddit(input, "reddit.076.ne.jp"):
|
replaceReddit(input, "reddit.owacon.moe"):
|
||||||
"Reddit → Teddit/Libreddit"
|
"Reddit → Teddit/Libreddit"
|
||||||
placeholder: "reddit.076.ne.jp"
|
placeholder: "reddit.owacon.moe"
|
||||||
|
|
||||||
replaceInstagram(input, "instagram.076.ne.jp"):
|
replaceInstagram(input, "instagram.owacon.moe"):
|
||||||
"インスタグラム → Bibliogram"
|
"インスタグラム → Bibliogram"
|
||||||
placeholder: "instagram.076.ne.jp"
|
placeholder: "instagram.owacon.moe"
|
||||||
|
|
||||||
replaceOdysee(input, "odysee.076.ne.jp"):
|
replaceOdysee(input, "odysee.owacon.moe"):
|
||||||
"オディシー → Librarian"
|
"オディシー → Librarian"
|
||||||
placeholder: "odysee.076.ne.jp"
|
placeholder: "odysee.owacon.moe"
|
||||||
|
|
||||||
iterator allPrefs*(): Pref =
|
iterator allPrefs*(): Pref =
|
||||||
for k, v in prefList:
|
for k, v in prefList:
|
||||||
|
|
新しいイシューから参照