Introduction
Introduction Statistics Contact Development Disclaimer Help
Add nitter instance selector. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 575ae2a0cf6a9920a8a8948e04327e0d99f13087
parent 9c33d6d12b21344f4bd76e1eb55efe78be2c316f
Author: Annna Robert-Houdin <[email protected]>
Date: Sat, 6 Feb 2021 23:26:48 +0100
Add nitter instance selector.
Diffstat:
A modules/nitter-instances/nitter.wi… | 1 +
A nitter-instance | 13 +++++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/modules/nitter-instances/nitter.wiki b/modules/nitter-instances/ni…
@@ -0,0 +1 @@
+Subproject commit 7a9bfa3fe4215aace6ac31feac35818d17d1936d
diff --git a/nitter-instance b/nitter-instance
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Do no forget to regularily check out the wiki git for updates.
+#
+
+nitterwikibase="/home/annna/bin/modules/nitter-instances/nitter.wiki"
+cat "${nitterwikibase}"/Instances.md \
+ | grep '^\* \[' \
+ | sed 's,.*(\([^ )]*\)).*,\1,' \
+ | grep -v "\.onion\|\.i2p" \
+ | sed 's,/$,,g; s,^https://,,g;' \
+ | shuf -n 1
+
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.