From 4663b05c5c3e3c94c8813ba6c00a22ec1f3508c3 Mon Sep 17 00:00:00 2001 From: nathan Date: Sat, 16 Aug 2025 13:31:38 +0000 Subject: Changed things to my liking --- .gitignore | 1 + banner/4get-default.png | Bin 21969 -> 0 bytes data/config.php | 90 ++++++++++++++++++++++++------------------------ data/proxies/onion.txt | 2 +- favicon.ico | Bin 193 -> 5774 bytes template/about.html | 55 +++++------------------------ template/header.html | 1 - template/home.html | 5 ++- 8 files changed, 58 insertions(+), 96 deletions(-) delete mode 100644 banner/4get-default.png diff --git a/.gitignore b/.gitignore index 134e1b2..b891081 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ data/captcha/minecraft/ !banner/*default* scraper/curlie.html icons/* +php-cgi.core diff --git a/banner/4get-default.png b/banner/4get-default.png deleted file mode 100644 index c075175..0000000 Binary files a/banner/4get-default.png and /dev/null differ diff --git a/data/config.php b/data/config.php index 2fd47aa..a5469f7 100644 --- a/data/config.php +++ b/data/config.php @@ -8,20 +8,20 @@ class config{ const VERSION = 8; // Will be shown pretty much everywhere. - const SERVER_NAME = "4get"; + const SERVER_NAME = "shittyweb search"; // Will be shown in tag on home page - const SERVER_SHORT_DESCRIPTION = "4get is a proxy search engine that doesn't suck."; + const SERVER_SHORT_DESCRIPTION = "shittyweb proxy search"; // Will be shown in server list ping (null for no description) const SERVER_LONG_DESCRIPTION = null; // Add your own themes in "static/themes". Set to "Dark" for default theme. // Eg. To use "static/themes/Cream.css", specify "Cream". - const DEFAULT_THEME = "Dark"; + const DEFAULT_THEME = "Gore's shitty theme"; // Enable the API? - const API_ENABLED = true; + const API_ENABLED = false; // // BOT PROTECTION @@ -80,8 +80,8 @@ class config{ // addresses here! Must be a valid URL. Won't affect links placed on // the homepage. const ALT_ADDRESSES = [ - //"https://4get.alt-tld", - //"http://4getwebfrq5zr4sxugk6htxvawqehxtdgjrbcn2oslllcol2vepa23yd.onion" + "https://shittyweb.org", + "http://3yrbqwojymy6zhbgbt2aatxgvs6a3m5fvrpk24nfp2q3nyjz5raohoqd.onion" ]; // Known 4get instances. MUST use the https protocol if your instance uses @@ -124,45 +124,45 @@ class config{ // false = Use server's raw IP // string = will load a proxy list from data/proxies // Eg. "onion" will load data/proxies/onion.txt - const PROXY_DDG = false; // duckduckgo - const PROXY_BRAVE = false; - const PROXY_FB = false; // facebook - const PROXY_GOOGLE = false; - const PROXY_GOOGLE_API = false; - const PROXY_GOOGLE_CSE = false; - const PROXY_STARTPAGE = false; - const PROXY_QWANT = false; - const PROXY_BAIDU = false; - const PROXY_COCCOC = false; - const PROXY_GHOSTERY = false; - const PROXY_MARGINALIA = false; - const PROXY_MOJEEK = false; - const PROXY_SC = false; // soundcloud - const PROXY_SPOTIFY = false; - const PROXY_SOLOFIELD = false; - const PROXY_WIBY = false; - const PROXY_CURLIE = false; - const PROXY_YT = false; // youtube - const PROXY_SEPIASEARCH = false; - const PROXY_ODYSEE = false; - const PROXY_VIMEO = false; - const PROXY_YEP = false; - const PROXY_PINTEREST = false; - const PROXY_SANKAKUCOMPLEX = false; - const PROXY_FLICKR = false; - const PROXY_FIVEHPX = false; - const PROXY_VSCO = false; - const PROXY_SEZNAM = false; - const PROXY_NAVER = false; - const PROXY_GREPPR = false; - const PROXY_CROWDVIEW = false; - const PROXY_MWMBL = false; - const PROXY_FTM = false; // findthatmeme - const PROXY_IMGUR = false; - const PROXY_CARA = false; - const PROXY_YANDEX_W = false; // yandex web - const PROXY_YANDEX_I = false; // yandex images - const PROXY_YANDEX_V = false; // yandex videos + const PROXY_DDG = "onion"; // duckduckgo + const PROXY_BRAVE = "onion"; + const PROXY_FB = "onion"; // facebook + const PROXY_GOOGLE = "onion"; + const PROXY_GOOGLE_API = "onion"; + const PROXY_GOOGLE_CSE = "onion"; + const PROXY_STARTPAGE = "onion"; + const PROXY_QWANT = "onion"; + const PROXY_BAIDU = "onion"; + const PROXY_COCCOC = "onion"; + const PROXY_GHOSTERY = "onion"; + const PROXY_MARGINALIA = "onion"; + const PROXY_MOJEEK = "onion"; + const PROXY_SC = "onion"; // soundcloud + const PROXY_SPOTIFY = "onion"; + const PROXY_SOLOFIELD = "onion"; + const PROXY_WIBY = "onion"; + const PROXY_CURLIE = "onion"; + const PROXY_YT = "onion"; // youtube + const PROXY_SEPIASEARCH = "onion"; + const PROXY_ODYSEE = "onion"; + const PROXY_VIMEO = "onion"; + const PROXY_YEP = "onion"; + const PROXY_PINTEREST = "onion"; + const PROXY_SANKAKUCOMPLEX = "onion"; + const PROXY_FLICKR = "onion"; + const PROXY_FIVEHPX = "onion"; + const PROXY_VSCO = "onion"; + const PROXY_SEZNAM = "onion"; + const PROXY_NAVER = "onion"; + const PROXY_GREPPR = "onion"; + const PROXY_CROWDVIEW = "onion"; + const PROXY_MWMBL = "onion"; + const PROXY_FTM = "onion"; // findthatmeme + const PROXY_IMGUR = "onion"; + const PROXY_CARA = "onion"; + const PROXY_YANDEX_W = "onion"; // yandex web + const PROXY_YANDEX_I = "onion"; // yandex images + const PROXY_YANDEX_V = "onion"; // yandex videos // // Scraper-specific parameters diff --git a/data/proxies/onion.txt b/data/proxies/onion.txt index 28ab436..4e47abf 100644 --- a/data/proxies/onion.txt +++ b/data/proxies/onion.txt @@ -10,4 +10,4 @@ # raw_ip, http, https, socks4, socks5, socks4a, socks5_hostname # Local tor proxy -socks5:localhost:9050:: +socks5:127.0.0.1:9050:: diff --git a/favicon.ico b/favicon.ico index a54beb0..2e421d2 100644 Binary files a/favicon.ico and b/favicon.ico differ diff --git a/template/about.html b/template/about.html index 6398884..4446aa9 100644 --- a/template/about.html +++ b/template/about.html @@ -2,7 +2,7 @@

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 "shittyweb search"
. Then, visit about:preferences#search and select
shittyweb search
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,54 +24,17 @@ Once you're there, click the pencil on the last entry under "Search engines" (it URL with %s in place of query - https://4get.ca/web?s=%s + https://search.shittyweb.org/web?s=%s Once that's done, click
Save
. Then, on the right handside of the newly created entry, open the dropdown menu and select
Make default
. -

Frequently asked questions

-

What is this?

-This is a metasearch engine that gets results from other engines, and strips away all of the tracking parameters and Microsoft/globohomo bullshit they add. Most of the other alternatives to Google jack themselves off about being ""privacy respecting"" or whatever the fuck but it always turns out to be a total lie, and I just got fed up with their shit honestly. Alternatives like Searx or YaCy all fucking sucks so I made my own thing. -

My goal

-Provide users with a privacy oriented, extremely lightweight, ad free, free as in freedom (and free beer!) way to search for documents around the internet, with minimal, optional javascript code. My long term goal would be to build my own index (that doesn't suck) and provide users with an unbiased search engine, with no political inclinations. - -

Do you keep logs?

-I store data temporarly to get the next page of results. This might include search queries, filters and tokens. These parameters are encrypted using
libsodium
on the serber, for which I give you a decryption key (also known internally as
npt
token). When you make a request to get the next page, you supply the token, the data is decrypted and the request is fulfilled. This encrypted data is deleted after 15 minutes, or after it's used, whichever comes first.

- -I don't log IP addresses, user agents, or anything else. The
npt
tokens are the only thing that are stored (in RAM, mind you), temporarly, encrypted. - -

Do you share information with third parties?

-Your search queries and supplied filters are shared with the scraper you chose (so I can get the search results, duh). I don't share anything else (that means I don't share your IP address, location, or anything of this kind). There is no way that site can know you're the one searching for something, unless you send out a search query that de-anonymises you. For example, a search query like "hello my full legal name is jonathan gallindo and i want pictures of cloacas" would definitively blow your cover. 4get doesn't contain ads or any third party javascript applets or trackers. I don't profile you, and quite frankly, I don't give a shit about what you search on there.

- -TL;DR assume those websites can see what you search for, but can't see who you are (unless you're really dumb). - -

Where is this website hosted?

-Please head over to the 4get instances page, select an instance and click on "IP lookup". - -

Keyboard shortcuts?

-Use
/
to focus the search box.

- -When the image viewer is open, you can use the following keybinds:
-
Up
,
Down
,
Left
,
Right
to rotate the image.
-
CTRL+Up
,
CTRL+Down
,
CTRL+Left
,
CTRL+Right
to mirror the image.
-
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 trough 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 Microshit to figure out you basically just switched IP addresses. Invite your friends to use your instance! - - -Donate to me trough ko-fi: ko-fi.com/lolcat
-Please donate I sent myself a donation for testing if it works and it looks fucking dumb. Reasons to donate are listed on there. Thank you! - -

I want to report abuse or have erotic roleplay trough email

-I don't know about that second part but if you want to talk to me, just drop me an email...

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

- -Click here to contact me!

- - - Valid W3C HTML 4.01 - +

About

+Shittyweb search is just a 4get instance running on lighttpd+freebsd. The 4get developers may be fascist but they can make a dam good proxy search engine.

+To learn more about fascists read these: + diff --git a/template/header.html b/template/header.html index accd4cd..92caf28 100644 --- a/template/header.html +++ b/template/header.html @@ -15,7 +15,6 @@
- SettingsInstancesNewsAPIAboutSource
- Donate to the project + SettingsInstancesAboutSource
- ClearnetTorReport a problem
+ ClearnetTor
Running on v{%version%}!!
-- cgit v1.2.3