From aaa853f5a0da2a044296587fce0a50264d6d988a Mon Sep 17 00:00:00 2001 From: vdbhb59 Date: Sat, 20 Dec 2025 23:08:36 +0530 Subject: [PATCH] Switched to new domain FOSS-Q is the new domain for this search. --- README.md | 14 ++++---- api.txt | 14 ++++---- data/config.php | 14 ++++---- docs/apache2-example.md | 54 +++++++++++++++---------------- docs/apache2.md | 70 ++++++++++++++++++++-------------------- docs/caddy.md | 14 ++++---- docs/configure.md | 6 ++-- docs/nginx.md | 28 ++++++++-------- docs/tor.md | 6 ++-- favicon.ico | Bin 3772 -> 4544 bytes favicon.php | 2 +- lib/frontend.php | 6 ++-- lib/type-todo.php | 4 +-- robots.txt | 4 +-- scraper/greppr.php | 4 +-- scraper/imgur.php | 2 +- scraper/yandex.php | 6 ++-- template/about.html | 16 ++++----- template/home.html | 4 +-- template/instances.html | 2 +- 20 files changed, 135 insertions(+), 135 deletions(-) diff --git a/README.md b/README.md index b272385..080baee 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# 4Get Search -**4Get** is a proxy search engine that works. +# FOSS-Q Search +**FOSS-Q** is a proxy search engine that works. -## About 4Get -https://4g.flossboxin.org.in/about +## About FOSS-Q +https://fossq.com/about ## Totally unbiased comparison between alternatives -| | 4Get | searx(ng) | FbIN-LibreY | araa | hearch.co | +| | FOSS-Q | searx(ng) | FbIN-LibreY | araa | hearch.co | |----------------------------|-------------------------|-----------|-------------|-----------|-------------------| | RAM usage | 200-400mb~ | 2GB~ | 200-400mb~ | 2GB~ | idk | | Does it work | no (debunked by snopes) | yes | yes | a little | better than searx | @@ -20,7 +20,7 @@ https://4g.flossboxin.org.in/about 5. Favicon fetcher with caching support & image proxy 6. Bunch of other stuff -tl;dr 4Get is the best way to browse for stuff. +tl;dr FOSS-Q is the best way to browse for stuff. # Supported websites @@ -45,7 +45,7 @@ tl;dr 4Get is the best way to browse for stuff. | Curlie | | | | | | # Installation -Refer to the documentation index. I recommend following the apache2 guide. +Refer to the documentation index. I recommend following the apache2 guide. ## Contact Stuff breaks all the time but I repair it all the time too. Email me here: dev(at)flossboxin(dot)org(dot)in or create an issue. diff --git a/api.txt b/api.txt index a167519..c51561b 100644 --- a/api.txt +++ b/api.txt @@ -12,7 +12,7 @@ 4444 44 - + Welcome to the 4Get API documentation + + + Welcome to the FOSS-Q API documentation + + Terms of use Do NOT misuse the API. Misuses can include... :: @@ -33,7 +33,7 @@ If you wish to engage in the activities listed under "misuses", feel - free to download the source code of the project and running 4get + free to download the source code of the project and running FOSS-Q under your own terms. Please respect the terms of use listed here so that this website may be available to all in the far future. @@ -41,7 +41,7 @@ lol!!!! Get your instance running here :: - https://git.bakhai.co.in/FbIN/4get + https://git.flossboxin.org.in/FbIN/fossq Thanks! @@ -93,7 +93,7 @@ array position on the serber's memory. The second part is an encryption key used to decode the data at that position. This way, it is impossible to supply invalid pagination data and it is - impossible for a 4get operator to peek at the private data of the + impossible for a FOSS-Q operator to peek at the private data of the user after a request has been made. The tokens will expire as soon as they are used or after a 15 @@ -106,7 +106,7 @@ + API Parameters - To construct a valid request, you can use the 4get web interface + To construct a valid request, you can use the FOSS-Q web interface to craft a valid request, and replace "/web" with "/api/v1/web". @@ -127,7 +127,7 @@ /_/ + /ami4get - Tells you basic information about the 4get instance. CORS requests + Tells you basic information about the FOSS-Q instance. CORS requests are allowed on this endpoint. @@ -284,7 +284,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://4g.flossboxin.org.in/audio/?s= + https://fossq.com/audio/?s= + /favicon diff --git a/data/config.php b/data/config.php index 2c01766..d010b5e 100644 --- a/data/config.php +++ b/data/config.php @@ -1,20 +1,20 @@ tag on home page - const SERVER_SHORT_DESCRIPTION = "4G is a proxy search engine that just works."; + const SERVER_SHORT_DESCRIPTION = "FOSS-Q is a proxy search engine that just works."; // Will be shown in server list ping (null for no description) - const SERVER_LONG_DESCRIPTION = FbIN; + const SERVER_LONG_DESCRIPTION = "FOSS-Q by FbIN"; // Add your own themes in "static/themes". Set to "Dark" for default theme. // Eg. To use "static/themes/Cream.css", specify "Cream". @@ -66,7 +66,7 @@ class config{ // Block SSL ciphers used by CLI tools used for botting // Basically a primitive version of Cloudflare's browser integrity check // ** If curl can still access the site (with spoofed headers), please make sure you use the new apache2 config ** - // https://git.bakhai.co.in/FbIN/4Get/docs/apache2.md + // https://git.flossboxin.org.in/FbIN/fossq/docs/apache2.md const DISALLOWED_SSL = [ // "TLS_AES_256_GCM_SHA384" // used by WGET and CURL ]; @@ -84,7 +84,7 @@ class config{ //"http://4getwebfrq5zr4sxugk6htxvawqehxtdgjrbcn2oslllcol2vepa23yd.onion" ]; - // Known 4Get instances. MUST use the https protocol if your instance uses + // Known FOSS-Q instances. MUST use the https protocol if your instance uses // it. Is used to generate a distributed list of instances. // To appear in the list of an instance, contact the host and if everyone added // eachother your serber should appear everywhere. diff --git a/docs/apache2-example.md b/docs/apache2-example.md index 25169ad..9452f70 100644 --- a/docs/apache2-example.md +++ b/docs/apache2-example.md @@ -1,25 +1,25 @@ # Sample Apache2 configuration -This is the apache2 configuration file used on the 4g.flossboxin.org.in official instance, in hopes that it's useful to you! +This is the apache2 configuration file used on the fossq.com official instance, in hopes that it's useful to you! -Looking for the apache2 guide? go here.. +Looking for the apache2 guide? go here.. ```xml - ServerName www.4g.flossboxin.org.in + ServerName www.fossq.com SSLEngine On - SSLCertificateFile /etc/letsencrypt/live/4g.flossboxin.org.in/fullchain.pem - SSLCertificateKeyFile /etc/letsencrypt/live/4g.flossboxin.org.in/privkey.pem - SSLCertificateChainFile /etc/letsencrypt/live/4g.flossboxin.org.in/chain.pem + SSLCertificateFile /etc/letsencrypt/live/fossq.com/fullchain.pem + SSLCertificateKeyFile /etc/letsencrypt/live/fossq.com/privkey.pem + SSLCertificateChainFile /etc/letsencrypt/live/fossq.com/chain.pem - RedirectMatch 301 ^(.*)$ https://4g.flossboxin.org.in$1 + RedirectMatch 301 ^(.*)$ https://fossq.com$1 - ServerName 4g.flossboxin.org.in + ServerName fossq.com ServerAdmin dev@flossboxin.org.in - DocumentRoot /var/www/4get + DocumentRoot /var/www/fossq SSLEngine On SSLOptions +StdEnvVars @@ -33,11 +33,11 @@ Looking for the apache2 guide? # deny access to private resources - + Order Deny,allow Deny from all @@ -59,9 +59,9 @@ Looking for the apache2 guide? Options -MultiViews @@ -146,7 +146,7 @@ Looking for the apache2 guide? + Options -MultiViews AllowOverride All Require all granted @@ -102,40 +102,40 @@ Now, edit the following file: `/etc/apache2/sites-available/000-default.conf`, r # deny access to private resources - + Order Deny,allow Deny from all ``` -To make the above snippet work, please refer to our tor site guide. +To make the above snippet work, please refer to our tor site guide. ## default-ssl.conf Now, edit the file `/etc/apache2/sites-available/default-ssl.conf`, remove everything and, again, add each rule while modifying the relevant fields: -First, append the following redirect rule to point traffic from `www.4g.flossboxin.org.in` to `4g.flossboxin.org.in`: +First, append the following redirect rule to point traffic from `www.fossq.com` to `fossq.com`: ```xml - ServerName www.4g.flossboxin.org.in + ServerName www.fossq.com SSLEngine On - SSLCertificateFile /etc/letsencrypt/live/4g.flossboxin.org.in/fullchain.pem - SSLCertificateKeyFile /etc/letsencrypt/live/4g.flossboxin.org.in/privkey.pem - SSLCertificateChainFile /etc/letsencrypt/live/4g.flossboxin.org.in/chain.pem + SSLCertificateFile /etc/letsencrypt/live/fossq.com/fullchain.pem + SSLCertificateKeyFile /etc/letsencrypt/live/fossq.com/privkey.pem + SSLCertificateChainFile /etc/letsencrypt/live/fossq.com/chain.pem - RedirectMatch 301 ^(.*)$ https://4g.flossboxin.org.in$1 + RedirectMatch 301 ^(.*)$ https://fossq.com$1 ``` -This ruleset tells apache2 where 4get is located (`/var/www/4get`), ensures that `4g.flossboxin.org.in/settings` resolves to `4g.flossboxin.org.in/settings.php` internally and that we deny access to `/data/*`, which may contain files you might want to keep private. `StdEnvVArs+` will make it so that PHP can view if the connection uses HTTPS, and which cipher was used. Useful for basic bot protection. +This ruleset tells apache2 where fossq is located (`/var/www/fossq`), ensures that `fossq.com/settings` resolves to `fossq.com/settings.php` internally and that we deny access to `/data/*`, which may contain files you might want to keep private. `StdEnvVArs+` will make it so that PHP can view if the connection uses HTTPS, and which cipher was used. Useful for basic bot protection. -Make sure to replace `4g.flossboxin.org.in` with your own domain under the `SSLCertificate*` directives! +Make sure to replace `fossq.com` with your own domain under the `SSLCertificate*` directives! ```xml - ServerName 4g.flossboxin.org.in + ServerName fossq.com ServerAdmin dev@flossboxin.org.in - DocumentRoot /var/www/4get + DocumentRoot /var/www/fossq Protocols h2 http/1.1 SSLEngine On @@ -154,11 +154,11 @@ Make sure to replace `4g.flossboxin.org.in` with your own domain under the `SSLC SetHandler "proxy:unix:/run/php/php8.1-fpm.sock|fcgi://localhost/" - SSLCertificateFile /etc/letsencrypt/live/4g.flossboxin.org.in/fullchain.pem - SSLCertificateKeyFile /etc/letsencrypt/live/4g.flossboxin.org.in/privkey.pem - SSLCertificateChainFile /etc/letsencrypt/live/4g.flossboxin.org.in/chain.pem + SSLCertificateFile /etc/letsencrypt/live/fossq.com/fullchain.pem + SSLCertificateKeyFile /etc/letsencrypt/live/fossq.com/privkey.pem + SSLCertificateChainFile /etc/letsencrypt/live/fossq.com/chain.pem - + Options -MultiViews AllowOverride All Require all granted @@ -170,14 +170,14 @@ Make sure to replace `4g.flossboxin.org.in` with your own domain under the `SSLC # deny access to private resources - + Order Deny,allow Deny from all ``` -By default, the first rule dictates where traffic should be redirected to in case the client specifies an unknown domain name. Don't forget your webserver's other rules! For a complete real-world example, please check out my real-world config file I use on 4g.flossboxin.org.in. +By default, the first rule dictates where traffic should be redirected to in case the client specifies an unknown domain name. Don't forget your webserver's other rules! For a complete real-world example, please check out my real-world config file I use on fossq.com. ## security.conf If you enabled the `headers` module, you can head over to `/etc/apache2/conf-enabled/security.conf` and edit: @@ -215,12 +215,12 @@ 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 4g.flossboxin.org.in -d www.4g.flossboxin.org.in -d flossboxin.org.in -d www.flossboxin.org.in +certbot certonly --standalone --key-type ecdsa -d fossq.com -d www.fossq.com -d fossq.com -d www.fossq.com ``` 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. -After this is complete, create a directory in `/var/www/4get`. +After this is complete, create a directory in `/var/www/fossq`. Now, start `apache2`. ```sh @@ -232,11 +232,11 @@ Congratulations! You now have a... 404 error on your webserver, if everything we # Import the fun junk Run these commands: ``` -cd /var/www/4get -git clone https://git.bakhai.co.in/FbIN/4get +cd /var/www/fossq +git clone https://git.flossboxin.org.in/FbIN/fossq chmod 777 -R icons/ ``` -... And try accessing your webserver. You should now have a working 4get instance! +... And try accessing your webserver. You should now have a working fossq instance! -Please make sure to check out how to further configure 4get to your liking! \ No newline at end of file +Please make sure to check out how to further configure fossq to your liking! \ No newline at end of file diff --git a/docs/caddy.md b/docs/caddy.md index 652bb61..0fd33c9 100644 --- a/docs/caddy.md +++ b/docs/caddy.md @@ -6,17 +6,17 @@ 2. Clone this repository where you want to host this from: -`cd /var/www && sudo git clone https://git.konakona.moe/diowo/4get` +`cd /var/www && sudo git clone https://git.flossboxin.org.in/FbIN/fossq` -3. Set permission on the `icons` directory inside `4get` +3. Set permission on the `icons` directory inside `fossq` -`cd /var/www/4get/ && sudo chmod 777 -R icons/` +`cd /var/www/fossq/ && sudo chmod 777 -R icons/` -4. Add an entry for 4get on your Caddyfile at `/etc/caddy/Caddyfile` +4. Add an entry for fossq on your Caddyfile at `/etc/caddy/Caddyfile` ```sh -4get.konakona.moe { - root * /var/www/4get +fossq.com { + root * /var/www/fossq file_server encode gzip php_fastcgi unix//var/run/php/php8.2-fpm.sock { @@ -47,7 +47,7 @@ Edit `000-default-le-ssl.conf` Add this at the end: ```xml - + RewriteEngine On RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule (.*) $1.php [L] diff --git a/docs/configure.md b/docs/configure.md index 3c68f96..7e421e0 100644 --- a/docs/configure.md +++ b/docs/configure.md @@ -1,6 +1,6 @@ -# 4get configuation options +# FOSS-Q configuation options -Welcome! This guide assumes that you have a working 4get instance. This will help you configure your instance to the best it can be! +Welcome! This guide assumes that you have a working fossq instance. This will help you configure your instance to the best it can be! # Files location 1. The main configuration file is located at `data/config.php` @@ -57,7 +57,7 @@ To be listed on https://4get.ca/instances , you must contact *any* of the people If you see spammy entries in your instances list, simply remove the instance from your list that pushes the offending entries. # Proxies -4get supports rotating proxies for scrapers! Configuring one is really easy. +FOSS-Q supports rotating proxies for scrapers! Configuring one is really easy. 1. Head over to the **proxies** folder. Give it any name you want, like `myproxy`, but make sure it has the `txt` extension. 2. Add your proxies to the file. Examples: diff --git a/docs/nginx.md b/docs/nginx.md index fcfb2af..e14c2e2 100644 --- a/docs/nginx.md +++ b/docs/nginx.md @@ -1,8 +1,8 @@ -

Installation of 4get in NGINX

+

Installation of FOSS-Q in NGINX

-> NOTE: As the previous version stated, it is better to follow the Apache2 guide instead of the Nginx one. +> NOTE: As the previous version stated, it is better to follow the Apache2 guide instead of the Nginx one. > NOTE: This is going to guess that you're using either a Arch-based system or a Debian-based system, although you can still follow it with minor issues. @@ -13,7 +13,7 @@ * On Arch-based, run `pacman -Syu`. * On Debian-based, run `apt update`, then `apt upgrade`. 3. Install the following dependencies: - * `git`: So you can clone this repository. + * `git`: So you can clone this repository. * `nginx`: So you can run Nginx. * `php-fpm`: This is what allows Nginx to run *(and show)* PHP files. * `php-imagick`, `imagemagick`: Image manipulation. @@ -42,15 +42,15 @@ # If it does not, run: mkdir conf.d ``` -5. Make a file inside `conf.d/` called `4get.conf` and place the following content: - * First run `touch conf.d/4get.conf` then `nano conf.d/4get.conf` to open the nano editor: *(Install it if it is not, or use another editor.)* +5. Make a file inside `conf.d/` called `fossq.conf` and place the following content: + * First run `touch conf.d/fossq.conf` then `nano conf.d/fossq.conf` to open the nano editor: *(Install it if it is not, or use another editor.)* ```sh server { access_log /dev/null; # Search log file. Do you really need to? error_log /dev/null; # Error log file. - # Change this if you have 4get in another folder. - root /var/www/4get; + # Change this if you have fossq in another folder. + root /var/www/fossq; # Change 'yourdomain' to your domain. server_name www.yourdomain.com yourdomain.com; # Port to listen to. @@ -121,7 +121,7 @@ dinitctl restart nginx ``` 6. Clone the repository to `/var/www`: - * `git clone --depth 1 https://git.bakhai.co.in/FbIN/4get 4get` - It clones the repository with the depth of one commit *(so it takes less time to download)* and saves the cloned repository as '4get'. + * `git clone --depth 1 https://git.flossboxin.org.in/FbIN/fossq fossq` - It clones the repository with the depth of one commit *(so it takes less time to download)* and saves the cloned repository as 'fossq'. 7. That should be it! There are some extra steps you can take, but it really just depends on you.

Encryption setup

@@ -131,7 +131,7 @@ ```sh certbot --nginx --key-type ecdsa -d www.yourdomain.com -d yourdomain.com ``` -2. After that, certbot will deploy the certificate automatically to your 4get conf file; It should be ready to use from there. +2. After that, certbot will deploy the certificate automatically to your fossq conf file; It should be ready to use from there.

Tor Setup

@@ -151,8 +151,8 @@ access_log /dev/null; # Search log file. Do you really need to? error_log /dev/null; # Error log file. - # Change this if you have 4get in another folder. - root /var/www/4get; + # Change this if you have fossq in another folder. + root /var/www/fossq; # Change 'onionadress.onion' to your onion link. server_name onionadress.onion; # Port to listen to. @@ -179,12 +179,12 @@ } ``` A real world example is present in [^2]. -5. Once done, check the configuration with `nginx -t`. If everything's fine and dandy, refer to the Tor guide to setup your onion site. +5. Once done, check the configuration with `nginx -t`. If everything's fine and dandy, refer to the Tor guide to setup your onion site.

Other important things

-1. Configuration guide: Things to do after setup. -2. Apache2 guide: Fallback to this if you couldn't get something to work, or you don't know something. +1. Configuration guide: Things to do after setup. +2. Apache2 guide: Fallback to this if you couldn't get something to work, or you don't know something.

Known issues

diff --git a/docs/tor.md b/docs/tor.md index 9f9dafb..0724dc5 100644 --- a/docs/tor.md +++ b/docs/tor.md @@ -1,16 +1,16 @@ # Tor setup -This guide assumes that there is already a configured webserver sitting on port 80 waiting for localhost connections. The apache2 guide guides you through this. +This guide assumes that there is already a configured webserver sitting on port 80 waiting for localhost connections. The apache2 guide guides you through this. 1. Login as `root`. 2. Install `tor`. 3. Edit `/etc/tor/torrc` 4. Go to the line that contains `HiddenServiceDir` and `HiddenServicePort`, uncomment those 2 lines and set them like this: ``` - HiddenServiceDir /var/lib/tor/4get + HiddenServiceDir /var/lib/tor/fossq HiddenServicePort 80 127.0.0.1:80 ``` 5. Restart the tor service using `service tor restart` 6. Wait for a while... -7. Run `cat /var/lib/tor/4get/hostname`. That is your onion address! +7. Run `cat /var/lib/tor/fossq/hostname`. That is your onion address! # Specify your own tor address diff --git a/favicon.ico b/favicon.ico index cb741a79ea725e5d0e382fd4ee3e01fa3f58985c..514beaf06de50eeb6e5b2281283bc55cf66e75a8 100644 GIT binary patch literal 4544 zcmeHLdo&x^){nN@tBQ6^85A>ZX%*E{Q4}?3QID3Qgs4~5BS|IR@n~y?L75Ut1kv$o zwV?wRQmjB+SIa>Td_cGrgluNHIttTyFjhs2x7FC>9O{TRK_-0QJ91 z@A^rKWvNHDo(KRyw(}oDq8Iim5CAygW@l}AHx|sD9D;1LD5p*@vNv-sGHpx>OZcA1 zg`Yh_|g*EnSVB+VLBOq>^#raxs_b9GyA(mQ%8qW z^{4&4JvqS1Ifai_PzkgD1`big>(~c;JwlY+d=9!U_aFHGq5$8|6>?S*gsXxeeiSp2 ze68e2Biubposp=DwQv^l37rkA>?zi^dL32y;*x>8@ap)&Y-FsjP9`g4*4=+5V#gY4zQ zCxZu<))7d$uJ+_@6gS!8Wb@u2Wo2VL{=8*@ct2n5UVj0QWAMO+Mub?v6tWU4RNO%1vgUL0&ns~n}~_Y z@lPH?%gxox#2d$ritU#XDrX(V`gLrpU58oofC1iBLb637`nUJ-N8lqL%?|mo`>M=^+CX zw4wy=(GkJj_p<6`ozqoKkm})47xJ+$l0w%3LOl?-kOGmcewj9yY2wW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lq1JD98g7lWXc9N27qh^TPXD4{2RA0Atn3vszE$1VJ-A?ZkOQ zb)>zfP7<25cW3Y%(W3H1IZ#x4+fc=BzIUYjX@9o(P3<1A>E$6O-7uV#J|nW3^h?;Y`c@!@jX*oW33+ z6XCOa$mx+VQkcWG(5yYzQ2Xk0$R&S7oFgaon$jCTOiXBxmmv1+{Jk)XaU^T(V7!-5 zp9Fppf^&Y*@KeD49FQla8>8T8k&f?YLHYY4+z|hfH*oH8iH?7*%=gKIIuPAeom z?ADfmS?4}W@TkiJM%Hgno!?Rjr>ZL-jN!2}b93iyQ|w3H0XLEo1|S*zDhW0(m}CUE z<+N8Yzwg}ecy}3T%I%{8FoE<}I26-$q?)?Hc9G&L2SJW+2}z^;cDNM4ly-TjQMrO7xAk)Z4vy^p~m$ zL&_O7AejQ%i4s`brM@68UowaakgKiOA4JFXm~s|_j)$)V)Z z6@db|aaR@xN$3C)vTXJk?uLyVW7od>bz}@@K*)oT2qpvmwS3{};Pq-c`qs z4-@$gs|Om=w(Gi`eV}$BwNw(mYdm|?iBIbiYrZ5Tj2ED9u%#ZPR`0w_8fLdzq-$Pxksv@_y7rXWQQ}Lx~07@6zgy zY>BVrBx-9J>QaBX%)GrDnmf@;v8kMXqUzARy07e$s~&Gj%m@<}Az`v>NaW@VO@olc zIGn;-RcQ0j2jv%RyJ~;*nU4#9lPxwJwJIbwn{<`8t6zl)tH~I*FQ4l# zkmCP>xNxyXAz_fwOwoUV-lQ03o;cpG{3L0gH~4A?kn--O(;_|M#CUo5xIf$za^c^u Cm>^03 diff --git a/favicon.php b/favicon.php index eff3e66..4aebbcf 100644 --- a/favicon.php +++ b/favicon.php @@ -205,7 +205,7 @@ class favicon{ /* Download the favicon */ - //$href = "https://git.bakhai.co.in/assets/img/logo.svg"; + //$href = "https://git.flossboxin.org.in/assets/img/logo.svg"; try{ $payload = diff --git a/lib/frontend.php b/lib/frontend.php index 5a19b85..ce42d98 100644 --- a/lib/frontend.php +++ b/lib/frontend.php @@ -135,7 +135,7 @@ class frontend{ $this->drawerror( "Tshh, blocked!", - 'Your browser, IP or IP range has been blocked from this 4get instance. If this is an error, please contact the administrator.' + 'Your browser, IP or IP range has been blocked from this FOSS-Q instance. If this is an error, please contact the administrator.' ); die(); } @@ -178,7 +178,7 @@ class frontend{ '
' . 'If the error persists, please contact the administrator.', $timetaken @@ -1350,7 +1350,7 @@ class frontend{ return htmlspecialchars($image); } - //return "https://4g.flossboxin.org.in/proxy?i=" . urlencode($image) . "&s=" . $format; + //return "https://fossq.com/proxy?i=" . urlencode($image) . "&s=" . $format; return "/proxy?i=" . urlencode($image) . "&s=" . $format; } diff --git a/lib/type-todo.php b/lib/type-todo.php index f813543..4a6eea5 100644 --- a/lib/type-todo.php +++ b/lib/type-todo.php @@ -9,7 +9,7 @@ if(!empty($bang)){ // !youtube - $conn = pg_connect("host=localhost dbname=4get user=postgres password=postgres"); + $conn = pg_connect("host=localhost dbname=fossq user=postgres password=postgres"); pg_prepare($conn, "bang_get", "SELECT bang,name FROM bangs WHERE bang LIKE $1 ORDER BY bang ASC LIMIT 8"); $q = pg_execute($conn, "bang_get", ["$bang%"]); @@ -77,7 +77,7 @@ if(!empty($bang)){ // check if the bang exists - $conn = pg_connect("host=localhost dbname=4get user=postgres password=postgres"); + $conn = pg_connect("host=localhost dbname=fossq user=postgres password=postgres"); pg_prepare($conn, "bang_get_single", "SELECT bang,name FROM bangs WHERE bang = $1 LIMIT 1"); $q = pg_execute($conn, "bang_get_single", [$bang]); diff --git a/robots.txt b/robots.txt index bd64f1c..ef791d0 100644 --- a/robots.txt +++ b/robots.txt @@ -24,5 +24,5 @@ User-agent: * Disallow: -Host: 4g.flossboxin.org.in -Sitemap: https://4g.flossboxin.org.in/sitemap +Host: fossq.com +Sitemap: https://fossq.com/sitemap diff --git a/scraper/greppr.php b/scraper/greppr.php index 3b97433..43b3c44 100644 --- a/scraper/greppr.php +++ b/scraper/greppr.php @@ -1,6 +1,6 @@ Set as default search engine

On Firefox and other Gecko based browsers

-To set this as your default search engine on Firefox, right click the URL bar and select
Add "4get"
. Then, visit about:preferences#search and select
4get
in the dropdown menu. +To set this as your default search engine on Firefox, right click the URL bar and select
Add "FOSS-Q"
. Then, visit about:preferences#search and select
FOSS-Q
in the dropdown menu.

On Chromium and Blink based browsers

Click the 3 superpositioned dots at the top right of the screen and click on
Settings
, then search for
default search engine
, or visit chrome://settings/searchEngines.

@@ -24,7 +24,7 @@ Once you're there, click the pencil on the last entry under "Search engines" (it URL with %s in place of query - https://4g.flossboxin.org.in/web?s=%s + https://fossq.com/web?s=%s @@ -32,15 +32,15 @@ Once that's done, click
Save
. Then, on the right

Frequently asked questions

What is this?

-4get is a metasearch engine built by lolcat. It retrieves search results from other well known search engines and then strips away all of the tracking parameters that these search engines put in and which are unnessary as-well-as invasive. Most other alternatives to large search engines claim to be "Privacy Respecting" but fail on this promise very badly. The developer, lolcat, was fed up with this situation and decided to build 4get, as other open source alternatives don't live up to their their own goals. +FOSS-Q is a metasearch engine built by lolcat. It retrieves search results from other well known search engines and then strips away all of the tracking parameters that these search engines put in and which are unnessary as-well-as invasive. Most other alternatives to large search engines claim to be "Privacy Respecting" but fail on this promise very badly. The developer, lolcat, was fed up with this situation and decided to build FOSS-Q, as other open source alternatives don't live up to their their own goals.

Goal

-The goal of 4get is aiming to provide end-users with a privacy-oriented, extremely lightweight, ad-free (free as in freedom)" way to search for documents around the world wide web with mimimal optional JavaScript. The long-term goal would to eventfully get 4get to build it's own and provide users with an unbiased search engine, with no political inclinations. +The goal of FOSS-Q is aiming to provide end-users with a privacy-oriented, extremely lightweight, ad-free (free as in freedom)" way to search for documents around the world wide web with mimimal optional JavaScript. The long-term goal would to eventfully get FOSS-Q to build it's own and provide users with an unbiased search engine, with no political inclinations.

Do you share information with third parties?

-Your search queries and supplied filters are shared with the scraper you chose. FbIN 4G does not share anything else like your IP address or location.There is no way for a site to know you're the one searching for the query you put in. FbIN 4G does not and never will serve advertisements or 3rd-party JavaScript applets or trackers on it's instance(s). +Your search queries and supplied filters are shared with the scraper you chose. FOSS-Q does not share anything else like your IP address or location.There is no way for a site to know you're the one searching for the query you put in. FOSS-Q does not and never will serve advertisements or 3rd-party JavaScript applets or trackers on it's instance(s). -When you submit a search query through 4get, the scraper see's our server as the person sending the search, not you. +When you submit a search query through FOSS-Q, the scraper see's our server as the person sending the search, not you.

Where is this website hosted?

My instance is hosted in Germany. @@ -54,13 +54,13 @@ When the image viewer is open, you can use the following keybinds:
Escape
to exit the image viewer.

How can I trust you?

-You just sort of have to take my word for it right now. If you'd rather trust yourself instead of me (I believe in you!!), all of the code on this website is available through my git page for you to host on your own machines. Just a reminder: if you're the sole user of your instance, it doesn't take immense brain power for Microsoft to figure out you basically just switched IP addresses. Invite your friends to use your instance! +You just sort of have to take my word for it right now. If you'd rather trust yourself instead of me (I believe in you!!), all of the code on this website is available through my git page for you to host on your own machines. Just a reminder: if you're the sole user of your instance, it doesn't take immense brain power for Microsoft to figure out you basically just switched IP addresses. Invite your friends to use your instance!

I want to report abuse through email

If you want to talk to me, just drop me an email: dev(at)flossboxin(dot)org(dot)in

Message to all DMCA enforcers: I don't host any of the content. Everything you see here is proxied through my serverbox with no moderation. Please reach out to the people hosting the infringing content instead.

- + Valid W3C HTML 4.01 \ No newline at end of file diff --git a/template/home.html b/template/home.html index 9002b60..75cb37b 100644 --- a/template/home.html +++ b/template/home.html @@ -23,9 +23,9 @@
- SettingsAboutSource
+ SettingsAboutSource
- ClearnetReport a problem
+ ClearnetReport a problem
Running on v{%version%}!!
diff --git a/template/instances.html b/template/instances.html index ede7742..5cfcc66 100644 --- a/template/instances.html +++ b/template/instances.html @@ -13,7 +13,7 @@

Instance browser

- Learn how to setup your own instance here! https://git.bakhai.co.in/FbIN/4get + Learn how to setup your own instance here! https://git.flossboxin.org.in/FbIN/fossq