mirror of
				https://git.bakhai.co.in/FbIN/4Get.git
				synced 2025-11-04 12:01:31 +05:30 
			
		
		
		
	Removed profanity
This commit is contained in:
		
					parent
					
						
							
								e677514cb6
							
						
					
				
			
			
				commit
				
					
						274aa1b8d0
					
				
			
		
					 12 changed files with 23 additions and 23 deletions
				
			
		
							
								
								
									
										10
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
# 4Get Search
 | 
					# 4Get Search
 | 
				
			||||||
**4Get** is a proxy search engine that doesn't suck.
 | 
					**4Get** is a proxy search engine that works.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## About 4Get
 | 
					## About 4Get
 | 
				
			||||||
https://4g.flossboxin.org.in/about
 | 
					https://4g.flossboxin.org.in/about
 | 
				
			||||||
| 
						 | 
					@ -9,7 +9,7 @@ https://4g.flossboxin.org.in/about
 | 
				
			||||||
|                            | 4Get                    | searx(ng) | FbIN-LibreY | araa      | hearch.co         |
 | 
					|                            | 4Get                    | searx(ng) | FbIN-LibreY | araa      | hearch.co         |
 | 
				
			||||||
|----------------------------|-------------------------|-----------|-------------|-----------|-------------------|
 | 
					|----------------------------|-------------------------|-----------|-------------|-----------|-------------------|
 | 
				
			||||||
| RAM usage                  | 200-400mb~              | 2GB~      | 200-400mb~  | 2GB~      | idk               |
 | 
					| 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               |
 | 
					| Does it work               | ye                      | sometimes | sometimes   | sometimes | yes               |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Features
 | 
					## Features
 | 
				
			||||||
| 
						 | 
					@ -18,9 +18,9 @@ https://4g.flossboxin.org.in/about
 | 
				
			||||||
3. Bot protection that *actually* filters out the bots (when configured)
 | 
					3. Bot protection that *actually* filters out the bots (when configured)
 | 
				
			||||||
4. Interface doesn't require javascript
 | 
					4. Interface doesn't require javascript
 | 
				
			||||||
5. Favicon fetcher with caching support & image proxy
 | 
					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
 | 
					# 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>.
 | 
					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
 | 
					## 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
 | 
					## 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`
 | 
					`sudo systemctl restart caddy`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Encryption setup
 | 
					# 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
 | 
					## Encryption setup on Apache
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
<?php
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
	Initialize random shit
 | 
						Initialize random stuff
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
include "data/config.php";
 | 
					include "data/config.php";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -631,7 +631,7 @@ class proxy{
 | 
				
			||||||
		){
 | 
							){
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
			// format could not be found, but imagemagick can
 | 
								// format could not be found, but imagemagick can
 | 
				
			||||||
			// sometimes detect it? shit's fucked
 | 
								// sometimes detect it? stuff just do not work
 | 
				
			||||||
			$format = false;
 | 
								$format = false;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
<?php
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
	Initialize random shit
 | 
						Initialize random stuff
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
include "data/config.php";
 | 
					include "data/config.php";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								news.php
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								news.php
									
										
									
									
									
								
							| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
<?php
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
	Initialize random shit
 | 
						Initialize random stuff
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
include "data/config.php";
 | 
					include "data/config.php";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -508,7 +508,7 @@ class baidu{
 | 
				
			||||||
			//
 | 
								//
 | 
				
			||||||
			$proxy = $this->backend->get_ip();
 | 
								$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
 | 
								// @TODO probably not needed? I get blocked anyways ffs
 | 
				
			||||||
			//$this->get($proxy, "https://www.baidu.com", []);
 | 
								//$this->get($proxy, "https://www.baidu.com", []);
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
| 
						 | 
					@ -1417,7 +1417,7 @@ class baidu{
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				
 | 
									
 | 
				
			||||||
				// get URL
 | 
									// get URL
 | 
				
			||||||
				// handle http://fakeurl.baidu.com bullshit
 | 
									// handle http://fakeurl.baidu.com stuff
 | 
				
			||||||
				$url =
 | 
									$url =
 | 
				
			||||||
					$this->fuckhtml
 | 
										$this->fuckhtml
 | 
				
			||||||
					->getTextContent(
 | 
										->getTextContent(
 | 
				
			||||||
| 
						 | 
					@ -1431,7 +1431,7 @@ class baidu{
 | 
				
			||||||
					)
 | 
										)
 | 
				
			||||||
				){
 | 
									){
 | 
				
			||||||
					
 | 
										
 | 
				
			||||||
					// we got some bullshit, get jumpUrl instead
 | 
										// we got some stuff, get jumpUrl instead
 | 
				
			||||||
					$as =
 | 
										$as =
 | 
				
			||||||
						$this->fuckhtml
 | 
											$this->fuckhtml
 | 
				
			||||||
						->getElementsByTagName(
 | 
											->getElementsByTagName(
 | 
				
			||||||
| 
						 | 
					@ -1468,7 +1468,7 @@ class baidu{
 | 
				
			||||||
							"div"
 | 
												"div"
 | 
				
			||||||
						);
 | 
											);
 | 
				
			||||||
					
 | 
										
 | 
				
			||||||
					// remove "read more" bullshit
 | 
										// remove "read more" stuff
 | 
				
			||||||
					foreach($rows as $row){
 | 
										foreach($rows as $row){
 | 
				
			||||||
						
 | 
											
 | 
				
			||||||
						if(strpos($row["attributes"]["class"], "op-xueshu-links-more") !== false){
 | 
											if(strpos($row["attributes"]["class"], "op-xueshu-links-more") !== false){
 | 
				
			||||||
| 
						 | 
					@ -2051,7 +2051,7 @@ class baidu{
 | 
				
			||||||
			$parts = explode("src=", $url);
 | 
								$parts = explode("src=", $url);
 | 
				
			||||||
			if(count($parts) !== 2){
 | 
								if(count($parts) !== 2){
 | 
				
			||||||
				
 | 
									
 | 
				
			||||||
				// shits fucked
 | 
									// stuff
 | 
				
			||||||
				return $url;
 | 
									return $url;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
| 
						 | 
					@ -2062,7 +2062,7 @@ class baidu{
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		if(count($q) !== 2){
 | 
							if(count($q) !== 2){
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
			// shits fucked, again
 | 
								// stuff
 | 
				
			||||||
			return $url;
 | 
								return $url;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2062,7 +2062,7 @@ class ddg{
 | 
				
			||||||
				$start = $tag["endPos"];
 | 
									$start = $tag["endPos"];
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
			// shit out remainder
 | 
								// stuff out remainder
 | 
				
			||||||
			$description[] = [
 | 
								$description[] = [
 | 
				
			||||||
				"type" => "text",
 | 
									"type" => "text",
 | 
				
			||||||
				"value" =>
 | 
									"value" =>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -236,7 +236,7 @@ class spotify{
 | 
				
			||||||
					$this->get(
 | 
										$this->get(
 | 
				
			||||||
						$ip,
 | 
											$ip,
 | 
				
			||||||
						"https://clienttoken.spotify.com/v1/clienttoken",
 | 
											"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_data" => [
 | 
				
			||||||
								"client_id" => $client_id,
 | 
													"client_id" => $client_id,
 | 
				
			||||||
								"client_version" => "1.2.27.93.g7aee53d4",
 | 
													"client_version" => "1.2.27.93.g7aee53d4",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -212,7 +212,7 @@ class vimeo{
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	public function video($get){
 | 
						public function video($get){
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		// parse shit
 | 
							// parse stuff
 | 
				
			||||||
		if($get["npt"]){
 | 
							if($get["npt"]){
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
			[$npt, $proxy] =
 | 
								[$npt, $proxy] =
 | 
				
			||||||
| 
						 | 
					@ -594,7 +594,7 @@ class vimeo{
 | 
				
			||||||
		//
 | 
							//
 | 
				
			||||||
		// get jwt token
 | 
							// get jwt token
 | 
				
			||||||
		// it's probably safe to cache this across proxies, cause the jwt doesnt contain an userID
 | 
							// 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
 | 
							// we can only cache it for 5 minutes though, otherwise vimeo cries about it
 | 
				
			||||||
		//
 | 
							//
 | 
				
			||||||
		if($proxy === null){
 | 
							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.
 | 
					<div class="code-inline">Escape</div> to exit the image viewer.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<a href="#schizo"><h2 id="schizo">How can I trust you?</h2></a>
 | 
					<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>
 | 
					<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>
 | 
					If you want to talk to me, just drop me an email...<br><br>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
<?php
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
	Initialize random shit
 | 
						Initialize random stuff
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
include "data/config.php";
 | 
					include "data/config.php";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue