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.
- π 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.
π Project Structure
/usr/local/searxng-docker/
βββ searxng/
β βββ docker-compose.yml
β βββ .env
β βββ ... (other configs & scripts)βοΈ Installation
- π₯ Clone the Repository
git clone https://github.com/<your-username>/private-search-engine.git
cd private-search-engine/searxng- π§ Configure (Optional) Edit settings.yml inside the searxng folder to customize:
Enabled search engines
Result categories
UI themes
Safe search filters
- π³ Start the Search Engine
sudo docker-compose up -dThis 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 llama2Prompt 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.
