Skip to content

Lightweight, self-hosted backend for KidSearch — built with FastAPI, Typesense, and a secure modular architecture. Focused on simplicity, local privacy, and easy integration with the KidSearch ecosystem.

License

Notifications You must be signed in to change notification settings

laurentftech/KidSearch-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

147 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KidSearch Backend

Tests Docker Build License

Full backend for a safe search engine for children. Combines an async crawler, a federated search API and a monitoring dashboard.

Dashboard screenshot

Quick install

curl -fsSL https://raw.githubusercontent.com/laurentftech/KidSearch-Backend/main/scripts/install.sh | bash

Or if you already cloned the repo:

git clone https://github.com/laurentftech/KidSearch-Backend && cd KidSearch-Backend
make setup

The script asks 2 questions (dashboard password + optional Google CSE), generates secrets automatically and offers to start the services.

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

Common commands

make setup        # Initial setup or reconfigure
make docker-up    # Start services
make docker-down  # Stop services
make docker-logs  # Follow logs

Documentation

Full documentation is available on the project Wiki:

Architecture

Caddy (HTTPS) ──► Dashboard  :8501  (Streamlit)
              ──► API         :8080  (FastAPI)
                      │
                      ├── Typesense  :8108  (local index)
                      ├── Embeddings :8090  (HuggingFace TEI)
                      └── Google CSE        (external search, optional)

License

MIT — see LICENSE

About

Lightweight, self-hosted backend for KidSearch — built with FastAPI, Typesense, and a secure modular architecture. Focused on simplicity, local privacy, and easy integration with the KidSearch ecosystem.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages