Skip to content

This project is a self-hosted private search engine that aggregates results from over 70 different search engines simultaneously, delivering fast, ad-free, and privacy-respecting web searches without being tracked by big tech companies. Built on top of the open-source SearXNG platform and containerized with Docker.

License

Notifications You must be signed in to change notification settings

ArenRedd/private-search-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Private Search Engine – 70 Engines in One

Welcome to your self-hosted, privacy-focused meta search engine β€” powered by SearXNG and Docker. This engine pulls search results from 70+ search engines simultaneously, giving you a fast, ad-free, and surveillance-free browsing experience.

πŸ’‘ Bonus: Integrate with LLaMA 2 and Ollama for private AI-powered interactions.


πŸš€ Features

  • πŸ” Privacy First – No tracking, no ads, and no user profiling.
  • πŸ› οΈ Fully Customizable – Choose your preferred engines, UI, and filters.
  • 🌍 Meta Search – Fetches results from multiple search engines in parallel.
  • πŸ€– AI Integration Ready – Connect with private LLaMA 2 via Ollama.
  • πŸ’» Self-Hosted – Complete control over your infrastructure.
  • πŸ”Œ Extensible – Easily integrate with private cloud or file storage solutions.

🧠 Architecture Overview

Architecture Diagram

πŸ“‚ Project Structure

/usr/local/searxng-docker/
β”œβ”€β”€ searxng/
β”‚   β”œβ”€β”€ docker-compose.yml
β”‚   β”œβ”€β”€ .env
β”‚   └── ... (other configs & scripts)

βš™οΈ Installation

  1. πŸ“₯ Clone the Repository
git clone https://github.com/<your-username>/private-search-engine.git
cd private-search-engine/searxng
  1. πŸ”§ Configure (Optional) Edit settings.yml inside the searxng folder to customize:

Enabled search engines

Result categories

UI themes

Safe search filters

  1. 🐳 Start the Search Engine
sudo docker-compose up -d

This will start the engine and make it available at:

http://192.168.1.4:8888

β›” Stopping the Server To shut down the search engine:

sudo docker-compose down

🧠 AI Integration Prompt (for LLaMA 2 via Ollama) If you're using this search engine in conjunction with a private LLaMA 2 chatbot, you can integrate results using the following context prompt:

🧠 Prompt Template "You are a private AI assistant connected to a self-hosted meta search engine. Search results are pulled from 70 sources without censorship or tracking. Use this information to answer the user's question with accuracy and independence, citing results where needed."

Example usage in Ollama:

ollama run llama2

Prompt inside the chat:

You have access to a private search engine hosted at http://192.168.1.4:8888. Search for "latest zero-day vulnerabilities in 2025" and summarize the top results.

πŸ” Use Cases Security research (ad-free, uncensored)

Academic learning (no distractions)

Private personal assistant (LLaMA 2 + Ollama + SearXNG)

Offline or LAN-only usage

Integration with home cloud storage

πŸ“Ž Related Projects SearXNG GitHub

Ollama

LLaMA 2

Docker

πŸ§‘β€πŸ’» Maintainer AnandRam Mohan (aka Aren Redd) Blog β€’ GitHub

πŸͺͺ License This project is licensed under the MIT License.

About

This project is a self-hosted private search engine that aggregates results from over 70 different search engines simultaneously, delivering fast, ad-free, and privacy-respecting web searches without being tracked by big tech companies. Built on top of the open-source SearXNG platform and containerized with Docker.

Topics

Resources

License

Stars

Watchers

Forks