Skip to content

Commit

Permalink
Merge pull request #28 from iv-org/update-static-list
Browse files Browse the repository at this point in the history
Update static instances list
  • Loading branch information
SamantazFox authored Jul 26, 2023
2 parents 7eed9d5 + 16741a2 commit 0298590
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
33 changes: 19 additions & 14 deletions src/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -37,33 +37,38 @@ html(lang="en")
table
thead
tr
th(scope="col") Region
th(scope="col") Domain
th(scope="col") Health
th(scope="col") Action
tbody#instances-tbody
tr.loading
td(colspan="3" data-loading-message="Loading instances...").loading-td Trying to run scripts...
td(colspan="4" data-loading-message="Loading instances...").loading-td Trying to run scripts...

noscript
.instances-list
h2 Available instances
ul.list
-
const instances = [
"invidious.snopyta.org",
"yewtu.be",
"invidious.kavin.rocks",
"invidious-us.kavin.rocks",
"invidious-jp.kavin.rocks",
"vid.puffyan.us",
"invidious.namazso.eu",
"inv.riverside.rocks",
"vid.mint.lgbt",
"invidious.osi.kr",
"invidio.xamh.de",
"yt.artemislena.eu",
{url: "yewtu.be", flag: "๐Ÿ‡ณ๐Ÿ‡ฑ"},
{url: "vid.puffyan.us", flag: "๐Ÿ‡บ๐Ÿ‡ธ"},
{url: "invidious.flokinet.to", flag: "๐Ÿ‡ท๐Ÿ‡ด"},
{url: "invidious.projectsegfau.lt", flag: "๐Ÿ‡ซ๐Ÿ‡ท"},
{url: "inv.bp.projectsegfau.lt", flag: "๐Ÿ‡ฑ๐Ÿ‡บ"},
{url: "inv.in.projectsegfau.lt", flag: "๐Ÿ‡ฎ๐Ÿ‡ณ"},
{url: "invidious.tiekoetter.com", flag: "๐Ÿ‡ฉ๐Ÿ‡ช"},
{url: "invidious.slipfox.xyz", flag: "๐Ÿ‡บ๐Ÿ‡ธ"},
{url: "invidious.privacydev.net", flag: "๐Ÿ‡ซ๐Ÿ‡ท"},
{url: "vid.priv.au", flag: "๐Ÿ‡ธ๐Ÿ‡ฌ"},
{url: "iv.ggtyler.dev", flag: "๐Ÿ‡จ๐Ÿ‡ฆ"},
{url: "invidious.0011.lt", flag: "๐Ÿ‡ฑ๐Ÿ‡น"},
{url: "inv.zzls.xyz", flag: "๐Ÿ‡จ๐Ÿ‡ฑ"},
{url: "invidious.protokolla.fi", flag: "๐Ÿ‡ซ๐Ÿ‡ฎ"},
]
for instance in instances
li: a(href=`https://${instance}`)= instance
li
= `${instance.flag} `
a(href=`https://${instance.url}`)= instance.url

include footer.pug
1 change: 1 addition & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
const health = entry.healthKnown ? entry.health.toFixed(0) : "(unknown)"
q("#instances-tbody").appendChild(
createElement("tr", {}, [
createElement("td", {textContent: `${entry.details.flag} ${entry.details.region}`}),
createElement("td", {textContent: entry.name}),
createElement("td", {className: "column-center "+healthUnknown, textContent: health}),
createElement("td", {className: "column-center"}, [
Expand Down

0 comments on commit 0298590

Please sign in to comment.