076→オワコン

このコミットが含まれているのは:
守矢諏訪子 2023-03-18 17:05:28 +09:00
コミット bf6a627ead
4個のファイルの変更18行の追加18行の削除

ファイルの表示

@ -5,7 +5,7 @@ https = false # disable to enable cookies when not using https
httpMaxConnections = 100
staticDir = "./public"
title = "nitter"
hostname = "twitter.076.ne.jp"
hostname = "twitter.owacon.moe"
[Cache]
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
[Preferences]
theme = "Loli"
replaceTwitter = "twitter.076.ne.jp"
replaceYouTube = "youtube.076.ne.jp"
replaceTwitter = "twitter.owacon.moe"
replaceYouTube = "youtube.owacon.moe"
replaceReddit = "teddit.net"
replaceInstagram = ""
replaceOdysee = "odysee.076.ne.jp"
replaceOdysee = "odysee.owacon.moe"
proxyVideos = true
hlsPlayback = 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
<https://github.com/zedeus/nitter>
テクニカル諏訪子に編集したソースコードはこちらで御座います→ <https://git.076.ne.jp/TechnicalSuwako/Nitter-mod>
テクニカル諏訪子に編集したソースコードはこちらで御座います→ <https://gitler.moe/TechnicalSuwako/Nitter-mod>
* No JavaScript or ads
* 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"),
title: cfg.get("Server", "title", "076ツイッター"),
hostname: cfg.get("Server", "hostname", "twitter.076.ne.jp"),
hostname: cfg.get("Server", "hostname", "twitter.owacon.moe"),
# Cache
listCacheTime: cfg.get("Cache", "listMinutes", 120),
@ -34,8 +34,8 @@ proc getConfig*(path: string): (Config, parseCfg.Config) =
redisMaxConns: cfg.get("Cache", "redisMaxConnections", 30),
redisPassword: cfg.get("Cache", "redisPassword", ""),
replaceYouTube: cfg.get("Preferences", "replaceYouTube", "youtube.076.ne.jp"),
replaceOdysee: cfg.get("Preferences", "replaceOdysee", "odysee.076.ne.jp"),
replaceYouTube: cfg.get("Preferences", "replaceYouTube", "youtube.owacon.moe"),
replaceOdysee: cfg.get("Preferences", "replaceOdysee", "odysee.owacon.moe"),
# Config
hmacKey: cfg.get("Config", "hmacKey", "secretkey"),

ファイルの表示

@ -95,25 +95,25 @@ genPrefs:
"自動的にGIFの再生"
"Link replacements (blank to disable)":
replaceTwitter(input, "twitter.076.ne.jp"):
replaceTwitter(input, "twitter.owacon.moe"):
"ツイッター → Nitter"
placeholder: "twitter.076.ne.jp"
placeholder: "twitter.owacon.moe"
replaceYouTube(input, "youtube.076.ne.jp"):
replaceYouTube(input, "youtube.owacon.moe"):
"ユーチューブ → Invidious"
placeholder: "youtube.076.ne.jp"
placeholder: "youtube.owacon.moe"
replaceReddit(input, "reddit.076.ne.jp"):
replaceReddit(input, "reddit.owacon.moe"):
"Reddit → Teddit/Libreddit"
placeholder: "reddit.076.ne.jp"
placeholder: "reddit.owacon.moe"
replaceInstagram(input, "instagram.076.ne.jp"):
replaceInstagram(input, "instagram.owacon.moe"):
"インスタグラム → Bibliogram"
placeholder: "instagram.076.ne.jp"
placeholder: "instagram.owacon.moe"
replaceOdysee(input, "odysee.076.ne.jp"):
replaceOdysee(input, "odysee.owacon.moe"):
"オディシー → Librarian"
placeholder: "odysee.076.ne.jp"
placeholder: "odysee.owacon.moe"
iterator allPrefs*(): Pref =
for k, v in prefList: