Compare commits

...

5 Commits

3 changed files with 28 additions and 18 deletions

View File

@ -1,5 +1,14 @@
# teddit
## teddit is no more actively maintained!
[Due to Reddit's API changes](https://en.wikipedia.org/wiki/2023_Reddit_API_controversy), this project is no more actively maintained.
Feel free to fork the project if you like, or contribute to other alternative Reddit front-ends, such as Libreddit, which are trying to come up with circumventions.
This project is still maintained, but just not actively. You can create PRs, but don't expect them to be merged right away.
---
[teddit.net](https://teddit.net)
A free and open source alternative Reddit front-end focused on privacy.
@ -36,7 +45,6 @@ Community instances:
| [teddit.pussthecat.org](https://teddit.pussthecat.org) | | | Operated by [PussTheCat.org](https://pussthecat.org/) |
| [reddit.lol](https://reddit.lol) | [http://dawtyi5e2cfyfmoht...onion](http://dawtyi5e2cfyfmoht4izmczi42aa2zwh6wi34zwvc6rzf2acpxhrcrad.onion) | [http://vzeiwzi7ogwl3i...b32.i2p](http://vzeiwzi7ogwl3ijrfek4fbtwhvamxcpyqoc3s4vcgnhlp54s5clq.b32.i2p) | Operated by https://liberta.casa | |
| [teddit.sethforprivacy.com](https://teddit.sethforprivacy.com/) | [qtpvyiaqhmwccx...onion/](http://qtpvyiaqhmwccxwzsqubd23xhmmrt75tdyw35kp43w4hvamsgl3x27ad.onion/) | | For more similar hosted tools, see [blog.sethforprivacy.com](https://blog.sethforprivacy.com/about/#my-community-resources) |
| [teddit.totaldarkness.net](https://teddit.totaldarkness.net) | | | |
| [teddit.adminforge.de](https://teddit.adminforge.de) | | | Operated by https://adminforge.de |
| [teddit.bus-hit.me](https://teddit.bus-hit.me) | | | Operated by https://bus-hit.me |
| [teddit.froth.zone](https://teddit.froth.zone) | | | |
@ -45,7 +53,6 @@ Community instances:
| [i.opnxng.com](https://i.opnxng.com) | | | |
| [teddit.tokhmi.xyz](https://teddit.tokhmi.xyz) | | | |
| [teddit.garudalinux.org](https://teddit.garudalinux.org) | | | Managed by https://garudalinux.org |
| [tedd.it](https://tedd.it) | | | |
| [teddit.privacytools.io](https://teddit.privacytools.io) | [jnuonmf2n36sfdmyksqq....onion](http://jnuonmf2n36sfdmyksqqqyab3w63cq4kx24olyjleh5z6zzfvyt7uqqd.onion) | | Part of [PrivacyTools.io](https://www.privacytools.io/) and hosted by [Privex](https://www.privex.io/) |
| [td.vern.cc](https://td.vern.cc) | [td.vernccvbvyi5qhfzyqen...onion](http://td.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion) | [td.vern.i2p](http://verncco2oaxjikammz4pi7umzp673cme6zuemx7yeeewspwrw3va.b32.i2p) | Operated by https://vern.cc |
| [teddit.rawbit.ninja](https://teddit.rawbit.ninja) | [yqu4yj5lju7bmlwpzpml...onion](http://yqu4yj5lju7bmlwpzpmltb5gsu6cw7nnbcxxx4iqemwa56nxjiggf4qd.onion) | | Operated by https://rawbit.ninja |

View File

@ -50,9 +50,6 @@
"onion": "http://qtpvyiaqhmwccxwzsqubd23xhmmrt75tdyw35kp43w4hvamsgl3x27ad.onion",
"notes": "For more similar hosted tools, see blog.sethforprivacy.com"
},
{
"url": "https://teddit.totaldarkness.net"
},
{
"url": "https://teddit.adminforge.de",
"notes": "Operated by https://adminforge.de"
@ -81,29 +78,26 @@
"url": "https://teddit.garudalinux.org",
"notes": "Managed by https://garudalinux.org"
},
{
"url": "https://tedd.it"
},
{
"url": "https://teddit.privacytools.io",
"onion": "http://jnuonmf2n36sfdmyksqqqyab3w63cq4kx24olyjleh5z6zzfvyt7uqqd.onion",
"notes": "Part of: https://www.privacytools.io"
},
{
"url":"https://td.vern.cc",
"onion":"http://td.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion",
"i2p":"http://verncco2oaxjikammz4pi7umzp673cme6zuemx7yeeewspwrw3va.b32.i2p",
"notes":"Operated by https://vern.cc"
"url": "https://td.vern.cc",
"onion": "http://td.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion",
"i2p": "http://verncco2oaxjikammz4pi7umzp673cme6zuemx7yeeewspwrw3va.b32.i2p",
"notes": "Operated by https://vern.cc"
},
{
"url":"https://teddit.rawbit.ninja",
"onion":"http://yqu4yj5lju7bmlwpzpmltb5gsu6cw7nnbcxxx4iqemwa56nxjiggf4qd.onion",
"notes":"Operated by https://rawbit.ninja"
"url": "https://teddit.rawbit.ninja",
"onion": "http://yqu4yj5lju7bmlwpzpmltb5gsu6cw7nnbcxxx4iqemwa56nxjiggf4qd.onion",
"notes": "Operated by https://rawbit.ninja"
},
{
"url":"https://teddit.artemislena.eu",
"onion":"http://teddit.lpoaj7z2zkajuhgnlltpeqh3zyq7wk2iyeggqaduhgxhyajtdt2j7wad.onion",
"notes":"Operated by https://artemislena.eu"
"url": "https://teddit.artemislena.eu",
"onion": "http://teddit.lpoaj7z2zkajuhgnlltpeqh3zyq7wk2iyeggqaduhgxhyajtdt2j7wad.onion",
"notes": "Operated by https://artemislena.eu"
},
{
"url": "https://teddit.hostux.net",

View File

@ -206,6 +206,15 @@ userRoutes.get('/u/:user/:kind?', (req, res, next) => {
}
}
);
}).catch(error => {
console.error(`Something went wrong while fetching data from Reddit API: invalid or non-JSON data was returned.`);
return res.render('frontpage', {
json: null,
http_status_code: 500,
http_statustext: "Invalid response from Reddit",
user_preferences: req.cookies,
instance_config: config,
});
});
} else {
console.error(