Support teddit, piped, and simplytranslate

- teddit (https://teddit.net/about)
  A free and open source alternative Reddit front-end focused on
  privacy. Inspired by the Nitter project.

- Piped (https://github.com/TeamPiped/Piped)
  An alternative privacy-friendly YouTube frontend which is efficient
  by design.

- SimplyTranslate (https://simple-web.org/projects/simplytranslate.html)
  We aim to provide fast and private translations to the user without
  wasting much overhead for extensive styling or JavaScript

___

Also adds SimplyTranslate to the github pipeline, since they provide a
list of the service's public instances.

Closes #4
This commit is contained in:
Ben Busby 2021-12-15 17:09:00 -07:00
parent c675aa7477
commit 919dd6f602
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1
2 changed files with 60 additions and 6 deletions

View file

@ -61,6 +61,19 @@ jobs:
apply_update
# ==============================================================
# Simply Translate update
# ==============================================================
curl -s https://simple-web.org/instances/simplytranslate | sort > st-out
sed -i -e 's/^/https:\/\//' st-out
jq -ncR '[inputs]' <<< "$(cat st-out)" > st-tmp.json
jq --slurpfile simplytranslate st-tmp.json \
'( .[] | select(.type == "simplytranslate") )
.instances |= $simplytranslate[0]' services.json > services-tmp.json
apply_update
# ==============================================================
# TODO: Update instances for other services
# ==============================================================

View file

@ -34,6 +34,27 @@
"https://libreddit.de"
]
},
{
"type": "teddit",
"test_url": "/r/popular",
"fallback": "https://teddit.net",
"instances": [
"https://teddit.ggc-project.de",
"https://teddit.kavin.rocks",
"https://teddit.zaggy.nl",
"https://teddit.namazso.eu",
"https://teddit.nautolan.racing",
"https://teddit.tinfoil-hat.net",
"https://teddit.domain.glass",
"https://snoo.ioens.is",
"https://teddit.httpjames.space",
"https://teddit.alefvanoon.xyz",
"https://incogsnoo.com",
"https://teddit.pussthecat.org",
"https://reddit.lol",
"https://teddit.sethforprivacy.com"
]
},
{
"type": "bibliogram",
"test_url": "/u/officialrickastley",
@ -69,6 +90,14 @@
"https://invidious.namazso.eu"
]
},
{
"type": "piped",
"test_url": "/watch?v=eBGIQ7ZuuiU",
"fallback": "https://piped.kavin.rocks",
"instances": [
"https://piped.kavin.rocks"
]
},
{
"type": "nitter",
"test_url": "/twitter",
@ -122,6 +151,18 @@
"https://scribe.citizen4.eu"
]
},
{
"type": "simplytranslate",
"test_url": "/?engine=google&text=simplicado",
"fallback": "https://simplytranslate.org",
"instances": [
"https://simplytranslate.org",
"https://st.alefvanoon.xyz",
"https://translate.josias.dev",
"https://translate.namazso.eu",
"https://translate.riverside.rocks"
]
},
{
"type": "whoogle",
"test_url": "/search?cookies_disabled=1&q=<%=query%>",