Self-hosting guide#

Searpa’s search engine is open source, so you can run your own instance and be the only operator who ever touches your users’ data. This guide is for administrators deploying and operating Searpa.

An instance is a single Django application backed by PostgreSQL. It ships as a Docker image that serves its own static files and runs database migrations on start, so a minimal deployment is one container plus a database.

In this guide#

PageWhat it covers
RequirementsWhat you need before you start
Quick startGet an instance running with Docker
ConfigurationEvery environment variable
Search providersAPI keys that light up engines, tabs and cards
Getting API keysStep-by-step signup for each provider
TranslationWiring up LibreTranslate for the Translate tab
Users & accessCreating accounts, email, password reset
API keysIssuing and revoking API keys for users
MaintenanceScheduled tasks, bangs, cache, provider status
Production notesStatic files, health checks, footer, email

What you get. Self-hosting gives you the full Searpa search engine, every tab, instant answers, knowledge cards, settings and the public API. Which tabs and cards actually appear depends on which providers you configure.