Change the default invidio.us (EoL) to snopyta's.

This commit is contained in:
jtagcat 2020-08-04 04:17:52 +03:00 committed by Zed
parent e177759722
commit 75fea828cb
4 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@
[![Build Status](https://travis-ci.org/zedeus/nitter.svg?branch=master)](https://travis-ci.org/zedeus/nitter) [![Build Status](https://travis-ci.org/zedeus/nitter.svg?branch=master)](https://travis-ci.org/zedeus/nitter)
A free and open source alternative Twitter front-end focused on privacy. \ A free and open source alternative Twitter front-end focused on privacy. \
Inspired by the [invidio.us](https://github.com/omarroth/invidious) project. Inspired by the [Invidious](https://github.com/iv-org/invidious) project.
- 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

View file

@ -32,7 +32,7 @@ tokenCount = 10
[Preferences] [Preferences]
theme = "Nitter" theme = "Nitter"
replaceTwitter = "nitter.net" replaceTwitter = "nitter.net"
replaceYouTube = "invidio.us" replaceYouTube = "invidious.snopyta.org"
replaceInstagram = "" replaceInstagram = ""
proxyVideos = true proxyVideos = true
hlsPlayback = false hlsPlayback = false

View file

@ -54,7 +54,7 @@ genPrefs:
"Replace Twitter links with Nitter (blank to disable)" "Replace Twitter links with Nitter (blank to disable)"
placeholder: "Nitter hostname" placeholder: "Nitter hostname"
replaceYouTube(input, "invidio.us"): replaceYouTube(input, "invidious.snopyta.org"):
"Replace YouTube links with Invidious (blank to disable)" "Replace YouTube links with Invidious (blank to disable)"
placeholder: "Invidious hostname" placeholder: "Invidious hostname"

View file

@ -63,7 +63,7 @@
#end proc #end proc
# #
#proc renderTimelineRss*(timeline: Timeline; profile: Profile; hostname: string; multi=false): string = #proc renderTimelineRss*(timeline: Timeline; profile: Profile; hostname: string; multi=false): string =
#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidio.us") #let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidious.snopyta.org")
#result = "" #result = ""
#let user = (if multi: "" else: "@") & profile.username #let user = (if multi: "" else: "@") & profile.username
#var title = profile.fullname #var title = profile.fullname
@ -94,7 +94,7 @@
#end proc #end proc
# #
#proc renderListRss*(tweets: seq[Tweet]; list: List; hostname: string): string = #proc renderListRss*(tweets: seq[Tweet]; list: List; hostname: string): string =
#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidio.us") #let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidious.snopyta.org")
#let link = &"https://{hostname}/{list.username}/lists/{list.name}" #let link = &"https://{hostname}/{list.username}/lists/{list.name}"
#result = "" #result = ""
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
@ -112,7 +112,7 @@
#end proc #end proc
# #
#proc renderSearchRss*(tweets: seq[Tweet]; name, param, hostname: string): string = #proc renderSearchRss*(tweets: seq[Tweet]; name, param, hostname: string): string =
#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidio.us") #let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidious.snopyta.org")
#let link = &"https://{hostname}/search" #let link = &"https://{hostname}/search"
#let escName = xmltree.escape(name) #let escName = xmltree.escape(name)
#result = "" #result = ""