title: "ItzCrazyKns/Perplexica: Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI"
source: https://github.com/ItzCrazyKns/Perplexica
author:
- "[[GitHub]]"
published:
created: 2025-05-03
description: Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI - ItzCrazyKns/Perplexica
tags:
- Perplexica
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
feat(search): add optional systemInstructions to API request body | ||||
Perplexica is an open-source AI-powered searching tool or an AI-powered search engine that goes deep into the internet to find answers. Inspired by Perplexity AI, it's an open-source option that not just searches the web but understands your questions. It uses advanced machine learning algorithms like similarity searching and embeddings to refine results and provides clear answers with sources cited.
Using SearxNG to stay current and fully open source, Perplexica ensures you always get the most up-to-date information without compromising your privacy.
Want to know more about its architecture and how it works? You can read it here.
It has many more features like image and video search. Some of the planned features are mentioned in upcoming features.
There are mainly 2 ways of installing Perplexica - With Docker, Without Docker. Using Docker is highly recommended.
git clone https://github.com/ItzCrazyKns/Perplexica.git
sample.config.toml
file to config.toml
. For Docker setups, you need only fill in the following fields:
OPENAI
: Your OpenAI API key. You only need to fill this if you wish to use OpenAI's models.OLLAMA
: Your Ollama API URL. You should enter it as http://host.docker.internal:PORT_NUMBER
. If you installed Ollama on port 11434, use http://host.docker.internal:11434
. For other ports, adjust accordingly. You need to fill this if you wish to use Ollama's models instead of OpenAI's.GROQ
: Your Groq API key. You only need to fill this if you wish to use Groq's hosted models.ANTHROPIC
: Your Anthropic API key. You only need to fill this if you wish to use Anthropic models.SIMILARITY_MEASURE
: The similarity measure to use (This is filled by default; you can leave it as is if you are unsure about it.)docker-compose.yaml
file and execute:
docker compose up -d
Note: After the containers are built, you can start Perplexica directly from Docker without having to open a terminal.
JSON
format in the SearXNG settings.sample.config.toml
file to config.toml
in the root directory. Ensure you complete all required fields in this file.npm i
.npm run build
.npm rum start
Note: Using Docker is recommended as it simplifies the setup process, especially for managing environment variables and dependencies.
See the installation documentation for more information like updating, etc.
If you're encountering an Ollama connection error, it is likely due to the backend being unable to connect to Ollama's API. To fix this issue you can:
http://host.docker.internal:11434
http://host.docker.internal:11434
http://<private_ip_of_host>:11434
/etc/systemd/system/ollama.service
, you need to add Environment="OLLAMA_HOST=0.0.0.0"
. Then restart Ollama by systemctl restart ollama
. For more information see Ollama docsIf you wish to use Perplexica as an alternative to traditional search engines like Google or Bing, or if you want to add a shortcut for quick access from your browser's search bar, follow these steps:
http://localhost:3000/?q=%s
. Replace localhost
with your IP address or domain name, and 3000
with the port number if Perplexica is not hosted locally.Perplexica also provides an API for developers looking to integrate its powerful search engine into their own applications. You can run searches, use multiple models and get answers to your queries.
For more details, check out the full documentation here.
Perplexica runs on Next.js and handles all API requests. It works right away on the same network and stays accessible even with port forwarding.
If you find Perplexica useful, consider giving us a star on GitHub. This helps more people discover Perplexica and supports the development of new features. Your support is greatly appreciated.
We also accept donations to help sustain our project. If you would like to contribute, you can use the following options to donate. Thank you for your support!
Ethereum |
---|
Address: 0xB025a84b2F269570Eb8D4b05DEdaA41D8525B6DD |
Perplexica is built on the idea that AI and large language models should be easy for everyone to use. If you find bugs or have ideas, please share them in via GitHub Issues. For more information on contributing to Perplexica you can read the CONTRIBUTING.md file to learn more about Perplexica and how you can contribute to it.
If you have any questions or feedback, please feel free to reach out to us. You can create an issue on GitHub or join our Discord server. There, you can connect with other users, share your experiences and reviews, and receive more personalized help. Click here to join the Discord server. To discuss matters outside of regular support, feel free to contact me on Discord at itzcrazykns
.
Thank you for exploring Perplexica, the AI-powered search engine designed to enhance your search experience. We are constantly working to improve Perplexica and expand its capabilities. We value your feedback and contributions which help us make Perplexica even better. Don't forget to check back for updates and new features!