Full backend for a safe search engine for children. Combines an async crawler, a federated search API and a monitoring dashboard.
curl -fsSL https://raw.githubusercontent.com/laurentftech/KidSearch-Backend/main/scripts/install.sh | bashOr if you already cloned the repo:
git clone https://github.com/laurentftech/KidSearch-Backend && cd KidSearch-Backend
make setupThe script asks 2 questions (dashboard password + optional Google CSE), generates secrets automatically and offers to start the services.
| Service | Local URL | Description |
|---|---|---|
| Dashboard | http://localhost:8501 | Monitoring UI (Streamlit) |
| API | http://localhost:8082/api/docs | Search API (FastAPI) |
| Typesense | http://localhost:8108 | Local search engine |
make setup # Initial setup or reconfigure
make docker-up # Start services
make docker-down # Stop services
make docker-logs # Follow logsFull documentation is available on the project Wiki:
- Advanced Authentication — OIDC, authcrunch proxy, Google/GitHub OAuth
- Production Deployment — HTTPS, Caddy, custom domain
- Environment Variables — Full configuration reference
- Sites Configuration — Crawler and sites.yml
Caddy (HTTPS) ──► Dashboard :8501 (Streamlit)
──► API :8080 (FastAPI)
│
├── Typesense :8108 (local index)
├── Embeddings :8090 (HuggingFace TEI)
└── Google CSE (external search, optional)
MIT — see LICENSE
