From 81df7ba3ed5c1497c1172187e06f9b7b429a605c Mon Sep 17 00:00:00 2001 From: Revvy Date: Thu, 18 May 2023 21:54:30 -0400 Subject: [PATCH 1/3] ~vern instance --- README.md | 1 + instances.json | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 9a88f7f..5297837 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ |-|-|-|-| | [librex.zzls.xyz](https://librex.zzls.xyz/) | [βœ…](http://librex.zzlsghu6mvvwyy75mvga6gaf4znbp3erk5xwfzedb4gg6qqh2j6rlvid.onion/) | [βœ…](http://7huurwog32tny663wkglrhozfoyqyqmsuxjbd7dtudccx44awjda.b32.i2p) | πŸ‡¨πŸ‡± CL | | [librex.me](https://librex.me/) | [βœ…](http://librex.revvybrr6pvbx4n3j4475h4ghw4elqr4t5xo2vtd3gfpu2nrsnhh57id.onion/) | [βœ…](http://revekebotog64xrrammtsmjwtwlg3vqyzwdurzt2pu6botg4bejq.b32.i2p/) | πŸ‡¨πŸ‡¦ CA | +| [lx.vern.cc](https://lx.vern.cc/) | [βœ…](http://lx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion/) | [βœ…](http://vernziqfqvweijfaacmwazohgpdo2bt2ib2jlupt2pwwu27bhgxq.b32.i2p/) | πŸ‡ΊπŸ‡Έ US | | [librex.mikata.ru](https://librex.mikata.ru/) | [βœ…](http://f7ssz7l3biu4fugwctfpcx4txg5yq4gqhrt473ledsuc3ivtd3omniid.onion/) | ❌ | πŸ‡ΊπŸ‡Έ US | | [search.milivojevic.in.rs](https://search.milivojevic.in.rs/) | [βœ…](http://librex2xsek6qnh2i4yufuzqjumfdwtw7io7omgmimpzna6llqudqzyd.onion/) | ❌ | πŸ‡³πŸ‡± NL | | [search.ahwx.org](https://search.ahwx.org/) | [βœ…](http://cosrpybbddzdfjquer3zfmb2h5avtacnctnbu4gucwocdb42s63gcqqd.onion/) | ❌ | πŸ‡³πŸ‡± NL | diff --git a/instances.json b/instances.json index e710af1..893d683 100644 --- a/instances.json +++ b/instances.json @@ -12,6 +12,12 @@ "i2p": "http://revekebotog64xrrammtsmjwtwlg3vqyzwdurzt2pu6botg4bejq.b32.i2p/", "country": "CA" }, + { + "clearnet": "https://lx.vern.cc/", + "tor": "http://lx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion/", + "i2p": "http://vernziqfqvweijfaacmwazohgpdo2bt2ib2jlupt2pwwu27bhgxq.b32.i2p/", + "country": "US" + }, { "clearnet": "https://librex.mikata.ru/", "tor": "http://f7ssz7l3biu4fugwctfpcx4txg5yq4gqhrt473ledsuc3ivtd3omniid.onion/", From f3b9badfbc04a0aecd87c03ae572b9bd2d017b23 Mon Sep 17 00:00:00 2001 From: Revvy Date: Sun, 21 May 2023 10:50:53 -0400 Subject: [PATCH 2/3] spaceint instance --- README.md | 2 +- instances.json | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5297837..1e92538 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ | [librex.mikata.ru](https://librex.mikata.ru/) | [βœ…](http://f7ssz7l3biu4fugwctfpcx4txg5yq4gqhrt473ledsuc3ivtd3omniid.onion/) | ❌ | πŸ‡ΊπŸ‡Έ US | | [search.milivojevic.in.rs](https://search.milivojevic.in.rs/) | [βœ…](http://librex2xsek6qnh2i4yufuzqjumfdwtw7io7omgmimpzna6llqudqzyd.onion/) | ❌ | πŸ‡³πŸ‡± NL | | [search.ahwx.org](https://search.ahwx.org/) | [βœ…](http://cosrpybbddzdfjquer3zfmb2h5avtacnctnbu4gucwocdb42s63gcqqd.onion/) | ❌ | πŸ‡³πŸ‡± NL | +| [search.spaceint.fr](https://search.spaceint.fr/) | [βœ…](http://6d4nqt2rndvmhogpwrbqfvj2ur6e6nm2r6dzi7ny4wj6ai3j5hnvbhyd.onion/) | ❌ | πŸ‡«πŸ‡· FR | | [search.davidovski.xyz](https://search.davidovski.xyz/) | ❌ | ❌ | πŸ‡¬πŸ‡§ UK | | [search.madreyk.xyz](https://search.madreyk.xyz/) | ❌ | ❌ | πŸ‡©πŸ‡ͺ DE | | [search.pabloferreiro.es](https://search.pabloferreiro.es/) | ❌ | ❌ | πŸ‡©πŸ‡ͺ DE | @@ -32,7 +33,6 @@ | [search.zeroish.xyz](https://search.zeroish.xyz/) | ❌| ❌ | πŸ‡ΊπŸ‡Έ US | | [librex.baczek.me](https://librex.baczek.me/) | ❌| ❌ | πŸ‡΅πŸ‡± PL | | [librex.yogeshlamichhane.com.np](https://librex.yogeshlamichhane.com.np/) | ❌| ❌ | πŸ‡ΊπŸ‡Έ US | -| [search.spaceint.fr](https://search.spaceint.fr/) | ❌ | ❌ | πŸ‡©πŸ‡ͺ DE | | [lx.benike.monster](https://lx.benike.monster/) | ❌ | ❌ | πŸ‡©πŸ‡ͺ DE |
diff --git a/instances.json b/instances.json index 893d683..10a0ca0 100644 --- a/instances.json +++ b/instances.json @@ -30,6 +30,12 @@ "i2p": null, "country": "NL" }, + { + "clearnet": "https://search.spaceint.fr/", + "tor": "http://6d4nqt2rndvmhogpwrbqfvj2ur6e6nm2r6dzi7ny4wj6ai3j5hnvbhyd.onion/", + "i2p": null, + "country": "FR" + }, { "clearnet": "https://search.davidovski.xyz/", "tor": null, @@ -114,12 +120,6 @@ "i2p": null, "country": "US" }, - { - "clearnet": "https://search.spaceint.fr/", - "tor": null, - "i2p": null, - "country": "DE" - }, { "clearnet": "https://lx.benike.monster/", "tor": null, From b7776f0c7c6ea787cff30dbc337136534af9182b Mon Sep 17 00:00:00 2001 From: Revvy Date: Sun, 28 May 2023 17:47:35 -0400 Subject: [PATCH 3/3] stackexchange support with anonymousoverflow --- misc/tools.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/misc/tools.php b/misc/tools.php index 19f36cb..6735220 100644 --- a/misc/tools.php +++ b/misc/tools.php @@ -56,6 +56,12 @@ $gist_path = explode("gist.github.com", $url)[1]; $url = $frontend . "/gist" . $gist_path; } + else if (strpos($url, "stackexchange.com") !== false) + { + $se_domain = explode(".", explode("://", $url)[1])[0]; + $se_path = explode("stackexchange.com", $url)[1]; + $url = $frontend . "/exchange" . "/" . $se_domain . $se_path; + } else { $url = $frontend . explode($original, $url)[1]; @@ -85,6 +91,11 @@ $url = try_replace_with_frontend($url, $frontend, $original); break; } + else if (strpos($url, "stackexchange.com")) + { + $url = try_replace_with_frontend($url, "anonymousoverflow", "stackexchange.com"); + break; + } } return $url;