Host your own search-engine

Host your own search-engine

Hosting a privacy friendly meta search-engine with the power of Docker-Compose.

Let's host an actual search engine that's free from tracking and ads. We'll be using a Debian machine to do this.

CAUTION! This isn't about making your search engine from scratch but hosting one from pre-existing open-sourced code of SearXNG.

What is SearXNG

SearXNG is a free internet metasearch engine that aggregates results from various search services and databases. Users are neither tracked nor profiled.

Requirements

  • Linux environment

  • Docker-compose

  • Internet-connection

Getting started

Copy the script below into a bash file or directly into your terminal

Debian/Ubuntu-based distributions

sudo apt install docker-compose 
cd $HOME
cd /usr/local/searxng-docker

If you're on a cloud server, do open the .envfile and replace the HOST-NAME with your machine's domain name.

If you're on a cloud server, do open the .envfile and replace the HOST-NAME with your machine's domain name.

sudo docker-compose up -d

this will start your search engine, if you're doing this on your machine, go to localhost on your browser and check it out. To put it down once you're done playing, type this.

sudo docker-compose down

Acknowledgement: NetworkChuck


Side note: Please host your search engine files on an offsite server for best privacy practices. Enjoy!