summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@itinerariummentis.org>2024-06-18 09:37:30 +0000
committerroot <root@itinerariummentis.org>2024-06-18 09:37:30 +0000
commitcedb2e2b9b9cd51907989d0ccfb141a748958cd5 (patch)
tree1c97a7edefb646c8f93067a1f603c2643676b0b8
parent9182a90513e3b0679d4732d10911a488f229578b (diff)
replace searx with 4get
-rw-r--r--README.md6
-rw-r--r--api.txt2
-rw-r--r--data/config.php2
-rw-r--r--docker-compose.yaml2
-rw-r--r--docs/apache2.md16
-rw-r--r--docs/configure.md4
-rw-r--r--docs/docker.md14
-rw-r--r--template/about.html4
8 files changed, 25 insertions, 25 deletions
diff --git a/README.md b/README.md
index 114e6e8..eacaba2 100644
--- a/README.md
+++ b/README.md
@@ -4,14 +4,14 @@
**4get** is a proxy search engine that doesn't suck.
## About 4get
-https://searx.itinerariummentis.org/about
+https://4get.itinerariummentis.org/about
## Try it out
-https://searx.itinerariummentis.org
+https://4get.itinerariummentis.org
## Totally unbiased comparison between alternatives
-| | 4get | searx(ng) | librex | araa |
+| | 4get | 4get(ng) | librex | araa |
|----------------------------|-------------------------|-----------|-------------|-----------|
| RAM usage | 200-400mb~ | 2GB~ | 200-400mb~ | 2GB~ |
| Does it suck | no (debunked by snopes) | yes | yes | a little |
diff --git a/api.txt b/api.txt
index 019ef14..c97c115 100644
--- a/api.txt
+++ b/api.txt
@@ -277,7 +277,7 @@
URL should return a valid HTTP audio stream. To access the endpoint,
you must add the following prefix in your request, like so:
- https://searx.itinerariummentis.org/audio/<endpoint>?s=<url>
+ https://4get.itinerariummentis.org/audio/<endpoint>?s=<url>
+ /favicon
diff --git a/data/config.php b/data/config.php
index be72838..7521489 100644
--- a/data/config.php
+++ b/data/config.php
@@ -81,7 +81,7 @@ class config{
// To appear in the list of an instance, contact the host and if everyone added
// eachother your serber should appear everywhere.
const INSTANCES = [
- "https://searx.itinerariummentis.org",
+ "https://4get.itinerariummentis.org",
"https://4get.ca",
"https://4get.zzls.xyz",
"https://4getus.zzls.xyz",
diff --git a/docker-compose.yaml b/docker-compose.yaml
index 6038758..6f9332a 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -7,7 +7,7 @@ services:
restart: unless-stopped
environment:
- FOURGET_VERSION=6
- - FOURGET_SERVER_NAME=searx.itinerariummentis.org
+ - FOURGET_SERVER_NAME=4get.itinerariummentis.org
ports:
- "80:80"
diff --git a/docs/apache2.md b/docs/apache2.md
index d7d2fad..d83eab3 100644
--- a/docs/apache2.md
+++ b/docs/apache2.md
@@ -35,8 +35,8 @@ Now, edit the following file: `/etc/apache2/sites-available/000-default.conf`, r
1. The `VirtualHost` here instructs apache2 to redirect all **HTTP** traffic that specify an unknown `Host` header be redirected to a specific domain of your choice. Configuring this is not required but highly recommended.
```xml
<VirtualHost *:80>
- # no domain = go to searx.itinerariummentis.org
- RedirectMatch 301 ^(.*)$ https://searx.itinerariummentis.org$1
+ # no domain = go to 4get.itinerariummentis.org
+ RedirectMatch 301 ^(.*)$ https://4get.itinerariummentis.org$1
</VirtualHost>
```
@@ -95,7 +95,7 @@ Now, edit the file `/etc/apache2/sites-available/default-ssl.conf`, remove every
This ruleset will redirect all clients that specify an unknown `Host` to the domain of our choice. I recommend you uncomment the `ErrorLog` directive while setting things up in case a problem occurs with PHP. Don't worry about the invalid SSL paths, we will generate our certificates later; Just make sure you specify the right domains in there:
```xml
<VirtualHost *:443>
- RedirectMatch 301 ^(.*)$ https://searx.itinerariummentis.org$1
+ RedirectMatch 301 ^(.*)$ https://4get.itinerariummentis.org$1
ServerAdmin will@lolcat.ca
#ErrorLog ${APACHE_LOG_DIR}/error.log
@@ -116,15 +116,15 @@ This ruleset will redirect all clients that specify an unknown `Host` to the dom
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/css
- SSLCertificateFile /etc/letsencrypt/live/searx.itinerariummentis.org/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/searx.itinerariummentis.org/privkey.pem
+ SSLCertificateFile /etc/letsencrypt/live/4get.itinerariummentis.org/fullchain.pem
+ SSLCertificateKeyFile /etc/letsencrypt/live/4get.itinerariummentis.org/privkey.pem
</VirtualHost>
```
-This ruleset tells apache2 where 4get is located (`/var/www/4get`), ensures that `searx.itinerariummentis.org/settings` resolves to `searx.itinerariummentis.org/settings.php` internally and that we deny access to `/data/*`, which may contain files you might want to keep private.
+This ruleset tells apache2 where 4get is located (`/var/www/4get`), ensures that `4get.itinerariummentis.org/settings` resolves to `4get.itinerariummentis.org/settings.php` internally and that we deny access to `/data/*`, which may contain files you might want to keep private.
```xml
<VirtualHost *:443>
- ServerName searx.itinerariummentis.org
+ ServerName 4get.itinerariummentis.org
DocumentRoot /var/www/4get
@@ -201,7 +201,7 @@ service apache2 stop
Now, run `certbot`, and specify all of your domains by prepending `-d` every time. Make sure the first domain you specify is your main domain, and the same domain you specified in the configuration above! We use ECDSA encryption here as it's better than RSA.
```sh
-certbot certonly --standalone --key-type ecdsa -d searx.itinerariummentis.org -d www.searx.itinerariummentis.org -d lolcat.ca -d www.lolcat.ca
+certbot certonly --standalone --key-type ecdsa -d 4get.itinerariummentis.org -d www.4get.itinerariummentis.org -d lolcat.ca -d www.lolcat.ca
```
Certbot should ask you a few questions, just play along. At the end of the setup, certbot should tell you about the location of the certificates. Double check to make sure they correspond to the paths we specified in `default-ssl.conf`. Your certificates should now update every 2-3 months automatically.
diff --git a/docs/configure.md b/docs/configure.md
index bd3c904..d1e3bfb 100644
--- a/docs/configure.md
+++ b/docs/configure.md
@@ -39,10 +39,10 @@ sudo cp /usr/local/lib/libcurl-impersonate-ff.so /usr/lib/x86_64-linux-gnu/libcu
Make sure to restart your webserver and/or PHP daemon, otherwise it will keep using the old library. You should now be able to bypass Cloudflare's shitty checks!!
# Robots.txt
-Make sure you configure this right to optimize your search engine presence! Head over to `/robots.txt` and change the searx.itinerariummentis.org domain to your own domain.
+Make sure you configure this right to optimize your search engine presence! Head over to `/robots.txt` and change the 4get.itinerariummentis.org domain to your own domain.
# Server listing
-To be listed on https://searx.itinerariummentis.org/instances , you must contact *any* of the people in the server list and ask them to add you to their list of instances in their configuration. The instance list is distributed, and I don't have control over it.
+To be listed on https://4get.itinerariummentis.org/instances , you must contact *any* of the people in the server list and ask them to add you to their list of instances in their configuration. The instance list is distributed, and I don't have control over it.
If you see spammy entries in your instances list, simply remove the instance from your list that pushes the offending entries.
diff --git a/docs/docker.md b/docs/docker.md
index cbc2758..03f5b4a 100644
--- a/docs/docker.md
+++ b/docs/docker.md
@@ -5,7 +5,7 @@ When using docker container any environment variables prefixed with `FOURGET_` w
When lists of data is expected in [data/config.php](../data/config.php), such as `INSTANCES`, you can pass in a comma separated string via environment variable.
Example:
-`FOURGET_INSTANCES="https://searx.itinerariummentis.org,https://domain.tld"`
+`FOURGET_INSTANCES="https://4get.itinerariummentis.org,https://domain.tld"`
#### Special environment variables
@@ -47,13 +47,13 @@ For more information on configuration view [data/config.php](../data/config.php)
You can start 4get with
```
-docker run -d -p 80:80 -e FOURGET_SERVER_NAME="searx.itinerariummentis.org" -e FOURGET_PROTO="http" luuul/4get:latest
+docker run -d -p 80:80 -e FOURGET_SERVER_NAME="4get.itinerariummentis.org" -e FOURGET_PROTO="http" luuul/4get:latest
```
...Or with SSL:
```
-docker run -d -p 443:443 -e FOURGET_SERVER_NAME="searx.itinerariummentis.org" -e FOURGET_PROTO="https" -v /etc/letsencrypt/live/domain.tld:/etc/4get/certs luuul/4get:latest
+docker run -d -p 443:443 -e FOURGET_SERVER_NAME="4get.itinerariummentis.org" -e FOURGET_PROTO="https" -v /etc/letsencrypt/live/domain.tld:/etc/4get/certs luuul/4get:latest
```
@@ -74,7 +74,7 @@ services:
environment:
- FOURGET_VERSION=6
- FOURGET_PROTO=http
- - FOURGET_SERVER_NAME=searx.itinerariummentis.org
+ - FOURGET_SERVER_NAME=4get.itinerariummentis.org
ports:
- "80:80"
@@ -93,7 +93,7 @@ services:
environment:
- FOURGET_VERSION=6
- FOURGET_PROTO=https
- - FOURGET_SERVER_NAME=searx.itinerariummentis.org
+ - FOURGET_SERVER_NAME=4get.itinerariummentis.org
ports:
- "80:80"
@@ -119,7 +119,7 @@ services:
environment:
- FOURGET_VERSION=6
- FOURGET_PROTO=http
- - FOURGET_SERVER_NAME=searx.itinerariummentis.org
+ - FOURGET_SERVER_NAME=4get.itinerariummentis.org
- FOURGET_BOT_PROTECTION=1
ports:
@@ -142,7 +142,7 @@ services:
environment:
- FOURGET_VERSION=6
- FOURGET_PROTO=http
- - FOURGET_SERVER_NAME=searx.itinerariummentis.org
+ - FOURGET_SERVER_NAME=4get.itinerariummentis.org
ports:
- "80:80"
diff --git a/template/about.html b/template/about.html
index ed2c2b7..73a43d5 100644
--- a/template/about.html
+++ b/template/about.html
@@ -24,7 +24,7 @@ Once you're there, click the pencil on the last entry under "Search engines" (it
</tr>
<tr>
<td>URL with %s in place of query</td>
- <td>https://searx.itinerariummentis.org/web?s=%s</td>
+ <td>https://4get.itinerariummentis.org/web?s=%s</td>
</tr>
</table>
@@ -72,6 +72,6 @@ I don't know about that second part but if you want to talk to me, just drop me
<a href="https://lolcat.ca" rel="dofollow" class="link">Click here to contact me!</a><br><br>
-<a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fsearx.itinerariummentis.org" title="W3 Valid!">
+<a href="https://validator.w3.org/nu/?doc=https%3A%2F%2F4get.itinerariummentis.org" title="W3 Valid!">
<img src="/static/icon/w3html.png" alt="Valid W3C HTML 4.01" width="88" height="31">
</a>