Surfing the internet has become a passion for everyone but most of the search engines keep the log of our search behaviour and track us. They can share our searching data with the government. Recently Forbes warned us that some company sell our data to China.
They make a huge database using our data and make a category of consumers. We have noticed that if we search for “Adidas football” on Google, then after some time we got Adidas football’s ads on the internet. They use our search behaviour to show us ads. This might be not against Google’s terms and conditions but against our privacy.
Not only showing ads, but they also keep an extra eye on us. They always monitor our search results and using them.
It will be better that we create our own search engine and use it. This will be the best option to keep our privacy.
In this detailed tutorial, we create our own search engine and surf the internet in a very private way in our Kali Linux or any Debian based Linux distributions like Ubuntu Parrot and other.
To do this we use the Searx tool published on GitHub. This is an python2 based open-source privacy search engine. Open-Source means we can read the codes in it and we know what Searx is doing in the background, it is open for all.
We can host this search engine on our localhost and use it to surf the internet. We need to have Python2 installed in our machine. Python comes pre-installed in Kali Linux.
First, we open the terminal window and type the following command and hit enter.
git clone https://github.com/asciimoo/searx
This command will clone the Searx tool in our machine.
Now we need to go inside the searx directory by using cd command:
Here we need to install dependencies to run searx. To do this we apply the following command:
Then it will install the dependencies or update them. This may take some time depending on the internet speed and machine configuration. The screenshot is following:
Now we are ready to rock. We can run this on our localhost server by applying the following command:
The output of the preceding command shows in the following screenshot:
We can see that Searx is running on our localhost. Now we can open this link on our browser and our own private search engine is ready.
|own private search engine hosted on localhost|
Here we search for our website and we got search results as shown in the following screenshot:
|Search result of private search engine|
The search results have come from various popular search engines like Google, Bing, Duckduckgo, Yahoo and more. But this search engine didn’t compromise our privacy.
Feel free to leave a comment below or reach me on Instagram @iamshubhamkumar__.