commit f494edce592c04ac388bc84daaf5c793960c8f36 Author: noury Date: Fri Mar 1 14:12:41 2024 -0800 init commit diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..415321b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +version: "3.7" +services: + fourget: + image: luuul/4get:latest + restart: unless-stopped + environment: + - FOURGET_SERVER_NAME=4get.ch + - FOURGET_SERVER_ADMIN_EMAIL=contact@4get.ch + ports: + - "127.0.0.1:6969:80" + volumes: + - ./template/home.html:/var/www/html/4get/template/home.html + - ./template/about.html:/var/www/html/4get/template/about.html diff --git a/template/about.html b/template/about.html new file mode 100644 index 0000000..62dfd7d --- /dev/null +++ b/template/about.html @@ -0,0 +1,78 @@ +< Go back + +

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. + +

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.

+ +Once you're there, click the pencil on the last entry under "Search engines" (it's probably DuckDuckGo). Once you do that, a popup will appear. Populate it with the following information: + + + + + + + + + + + + + + + + + + +
FieldValue
Search engine{%server_name%}
Shortcut{%server_name%}
URL with %s in place of queryhttps://4get.ch/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, tokens and other parameters. These parameters are encrypted using
aes-256-gcm
on the serber, for which I give you a 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?

+This website is hosted on a Contabo shitbox in the United States. + +

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 + + diff --git a/template/header.html b/template/header.html new file mode 100644 index 0000000..fcdbb13 --- /dev/null +++ b/template/header.html @@ -0,0 +1,29 @@ + + + + + {%title%} + + + {%style%} + + + + + + +
+ +
+ {%tabs%} +
+
+ {%filters%} +
+
diff --git a/template/header_nofilters.html b/template/header_nofilters.html new file mode 100644 index 0000000..116eef6 --- /dev/null +++ b/template/header_nofilters.html @@ -0,0 +1,14 @@ + + + + + {%title%} + + + {%style%} + + + + + + diff --git a/template/home.html b/template/home.html new file mode 100644 index 0000000..4666250 --- /dev/null +++ b/template/home.html @@ -0,0 +1,40 @@ + + + + + {%server_name%} + + + + + {%style%} + + + + + +
+
+ + +
+ SettingsInstancesAPIAboutSourceDonate +
+ TorClearnetModificationsReport a problem
+ Running on v{%version%}!! +
+
+ + + + diff --git a/template/images.html b/template/images.html new file mode 100644 index 0000000..a19ddeb --- /dev/null +++ b/template/images.html @@ -0,0 +1,7 @@ +
+ {%images%} +
+ {%nextpage%} + + + diff --git a/template/instances.html b/template/instances.html new file mode 100644 index 0000000..06752c0 --- /dev/null +++ b/template/instances.html @@ -0,0 +1,37 @@ + + + + + Instance browser + + + {%style%} + + + + + + +

Instance browser

+ Learn how to setup your own instance here! https://git.lolcat.ca/lolcat/4get + + < Go back + + + + + diff --git a/template/search.html b/template/search.html new file mode 100644 index 0000000..d7f73a5 --- /dev/null +++ b/template/search.html @@ -0,0 +1,16 @@ +
+
+
+ {%right-right%} +
+
+ {%right-left%} +
+
+
+ {%left%} +
+
+ + +