mirror of
https://git.bakhai.co.in/FbIN/4Get.git
synced 2025-11-03 11:31:32 +05:30
Removed profanity
This commit is contained in:
parent
e677514cb6
commit
274aa1b8d0
12 changed files with 23 additions and 23 deletions
12
README.md
12
README.md
|
|
@ -1,5 +1,5 @@
|
|||
# 4Get Search
|
||||
**4Get** is a proxy search engine that doesn't suck.
|
||||
**4Get** is a proxy search engine that works.
|
||||
|
||||
## About 4Get
|
||||
https://4g.flossboxin.org.in/about
|
||||
|
|
@ -9,7 +9,7 @@ https://4g.flossboxin.org.in/about
|
|||
| | 4Get | searx(ng) | FbIN-LibreY | araa | hearch.co |
|
||||
|----------------------------|-------------------------|-----------|-------------|-----------|-------------------|
|
||||
| RAM usage | 200-400mb~ | 2GB~ | 200-400mb~ | 2GB~ | idk |
|
||||
| Does it suck | no (debunked by snopes) | yes | yes | a little | better than searx |
|
||||
| Does it work | no (debunked by snopes) | yes | yes | a little | better than searx |
|
||||
| Does it work | ye | sometimes | sometimes | sometimes | yes |
|
||||
|
||||
## Features
|
||||
|
|
@ -18,9 +18,9 @@ https://4g.flossboxin.org.in/about
|
|||
3. Bot protection that *actually* filters out the bots (when configured)
|
||||
4. Interface doesn't require javascript
|
||||
5. Favicon fetcher with caching support & image proxy
|
||||
6. Bunch of other shits
|
||||
6. Bunch of other stuff
|
||||
|
||||
tl;dr 4Get is the best way to browse for shit.
|
||||
tl;dr 4Get is the best way to browse for stuff.
|
||||
|
||||
# Supported websites
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ tl;dr 4Get is the best way to browse for shit.
|
|||
Refer to the <a href="https://git.flossboxin.org.in/FbIN/4Get/src/branch/main/docs/">documentation index</a>. I recommend following the <a href="https://git.flossboxin.org.in/FbIN/4Get/src/branch/main/docs/apache2.md">apache2 guide</a>.
|
||||
|
||||
## Contact
|
||||
Shit breaks all the time but I repair it all the time too. Email me here: <b>dev(at)flossboxin(dot)org(dot)in</b> or create an issue.
|
||||
Stuff breaks all the time but I repair it all the time too. Email me here: <b>dev(at)flossboxin(dot)org(dot)in</b> or create an issue.
|
||||
|
||||
## License
|
||||
AGPL
|
||||
AGPL
|
||||
|
|
@ -34,7 +34,7 @@ Caddy deals with SSL certificates automatically so you don't have to mess with a
|
|||
`sudo systemctl restart caddy`
|
||||
|
||||
# Encryption setup
|
||||
I'm schizoid (as you should) so I'm gonna setup 4096bit key encryption. To complete this step, you need a domain or subdomain in your possession. Make sure that the DNS shit for your domain has propagated properly before continuing, because certbot is a piece of shit that will error out the ass once you reach 5 attempts under an hour.
|
||||
I'm schizoid (as you should) so I'm gonna setup 4096bit key encryption. To complete this step, you need a domain or subdomain in your possession. Make sure that the DNS stuff for your domain has propagated properly before continuing, because certbot is a piece of stuff that will error out the ass once you reach 5 attempts under an hour.
|
||||
|
||||
## Encryption setup on Apache
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
Initialize random shit
|
||||
Initialize random stuff
|
||||
*/
|
||||
include "data/config.php";
|
||||
|
||||
|
|
|
|||
|
|
@ -631,7 +631,7 @@ class proxy{
|
|||
){
|
||||
|
||||
// format could not be found, but imagemagick can
|
||||
// sometimes detect it? shit's fucked
|
||||
// sometimes detect it? stuff just do not work
|
||||
$format = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
Initialize random shit
|
||||
Initialize random stuff
|
||||
*/
|
||||
include "data/config.php";
|
||||
|
||||
|
|
|
|||
2
news.php
2
news.php
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
Initialize random shit
|
||||
Initialize random stuff
|
||||
*/
|
||||
include "data/config.php";
|
||||
|
||||
|
|
|
|||
|
|
@ -508,7 +508,7 @@ class baidu{
|
|||
//
|
||||
$proxy = $this->backend->get_ip();
|
||||
|
||||
// running this will give us shit in $this->cookie
|
||||
// running this will give us stuff in $this->cookie
|
||||
// @TODO probably not needed? I get blocked anyways ffs
|
||||
//$this->get($proxy, "https://www.baidu.com", []);
|
||||
|
||||
|
|
@ -1417,7 +1417,7 @@ class baidu{
|
|||
}
|
||||
|
||||
// get URL
|
||||
// handle http://fakeurl.baidu.com bullshit
|
||||
// handle http://fakeurl.baidu.com stuff
|
||||
$url =
|
||||
$this->fuckhtml
|
||||
->getTextContent(
|
||||
|
|
@ -1431,7 +1431,7 @@ class baidu{
|
|||
)
|
||||
){
|
||||
|
||||
// we got some bullshit, get jumpUrl instead
|
||||
// we got some stuff, get jumpUrl instead
|
||||
$as =
|
||||
$this->fuckhtml
|
||||
->getElementsByTagName(
|
||||
|
|
@ -1468,7 +1468,7 @@ class baidu{
|
|||
"div"
|
||||
);
|
||||
|
||||
// remove "read more" bullshit
|
||||
// remove "read more" stuff
|
||||
foreach($rows as $row){
|
||||
|
||||
if(strpos($row["attributes"]["class"], "op-xueshu-links-more") !== false){
|
||||
|
|
@ -2051,7 +2051,7 @@ class baidu{
|
|||
$parts = explode("src=", $url);
|
||||
if(count($parts) !== 2){
|
||||
|
||||
// shits fucked
|
||||
// stuff
|
||||
return $url;
|
||||
}
|
||||
|
||||
|
|
@ -2062,7 +2062,7 @@ class baidu{
|
|||
|
||||
if(count($q) !== 2){
|
||||
|
||||
// shits fucked, again
|
||||
// stuff
|
||||
return $url;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2062,7 +2062,7 @@ class ddg{
|
|||
$start = $tag["endPos"];
|
||||
}
|
||||
|
||||
// shit out remainder
|
||||
// stuff out remainder
|
||||
$description[] = [
|
||||
"type" => "text",
|
||||
"value" =>
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ class spotify{
|
|||
$this->get(
|
||||
$ip,
|
||||
"https://clienttoken.spotify.com/v1/clienttoken",
|
||||
[ // !! that shit must be sent as json data
|
||||
[ // !! that stuff must be sent as json data
|
||||
"client_data" => [
|
||||
"client_id" => $client_id,
|
||||
"client_version" => "1.2.27.93.g7aee53d4",
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ class vimeo{
|
|||
|
||||
public function video($get){
|
||||
|
||||
// parse shit
|
||||
// parse stuff
|
||||
if($get["npt"]){
|
||||
|
||||
[$npt, $proxy] =
|
||||
|
|
@ -594,7 +594,7 @@ class vimeo{
|
|||
//
|
||||
// get jwt token
|
||||
// it's probably safe to cache this across proxies, cause the jwt doesnt contain an userID
|
||||
// only an appID, whatever shit that is
|
||||
// only an appID, whatever stuff that is
|
||||
// we can only cache it for 5 minutes though, otherwise vimeo cries about it
|
||||
//
|
||||
if($proxy === null){
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ When the image viewer is open, you can use the following keybinds:<br>
|
|||
<div class="code-inline">Escape</div> to exit the image viewer.
|
||||
|
||||
<a href="#schizo"><h2 id="schizo">How can I trust you?</h2></a>
|
||||
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 <a href="https://git.flossboxin.org.in/FbIN/4get/" class="link">git page</a> 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!
|
||||
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 <a href="https://git.flossboxin.org.in/FbIN/4get/" class="link">git page</a> 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!
|
||||
|
||||
<a href="#contact"><h2 id="contact">I want to report abuse trough email</h2></a>
|
||||
If you want to talk to me, just drop me an email...<br><br>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
Initialize random shit
|
||||
Initialize random stuff
|
||||
*/
|
||||
include "data/config.php";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue