Loading repository data…
Loading repository data…
drofnas / repository
A production-ready, self-hosted knowledge workspace featuring a FastAPI backend, React frontend, and graph-backed context retrieval.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Ragdoll is a self-hosted knowledge workspace. It ingests documents, builds searchable and graph-backed context, keeps evidence and corrections attached to answers, and exposes that state through search, chat, entities, pinned facts, changes, and admin surfaces.
License: Business Source License 1.1
Free for personal use and internal organizational use; see Commercial Terms
Apache License 2.0 on 2030-01-01
flowchart TD
Upload["Document upload"] --> Ingestion["Ingestion API"]
Ingestion --> Queue["Queue and worker"]
Queue --> Processing["Text, embedding, and entity processing"]
Processing --> Storage["Postgres + pgvector"]
Processing --> Graph["Graph projection"]
Storage --> Search["Search"]
Search --> Chat["Chat"]
Graph --> Entities["Entities"]
This is the fast, high-level story: documents move through ingestion and background processing into retrieval and graph projections that power the product experience. For the canonical detailed flow, start with docs/architecture/ingestion-and-processing.md and then use the broader architecture guide.
The current application includes:
apps/apiapps/webpackages/contractsapps/api/dbinfra/dockerPrimary capability areas:
ragdoll-redux/
apps/
api/
web/
packages/
contracts/
config/
tooling/
tests/
e2e/
infra/
docker/
supabase/
ollama/
scripts/
dev/
test/
ops/
docs/
Read INDEX.md before broad codebase traversal. It is the placement guide for pages, modules, tests, contracts, and scripts.
Start with the current-state docs:
Use ./dev-setup.sh as the main entrypoint.
./dev-setup.sh infra up./dev-setup.sh daemon./dev-setup.sh ps./dev-setup.sh test./dev-setup.sh test-e2e./dev-setup.sh down./dev-setup.sh infra downStartup helpers create these files when missing:
apps/api/.env from apps/api/.env.exampleapps/web/.env from apps/web/.env.exampleinfra/docker/.env.infra from infra/docker/.env.infra.exampleTesting expectations live in TESTING.md.
The logged-out surface stays intentionally small:
/ and /login/register/statusAuthenticated users move through dashboard, spaces, documents, search, chat, entities, pinned-facts, changes, and account. Admin users also get /admin.
Canonical current-state docs live in:
docs/architecture/ for system architecturedocs/executive/ for high-level leadership-facing docsdocs/engineering/ for codebase-facing subsystem docsUse Mermaid diagrams in those areas whenever a flow, dependency, or ownership boundary is easier to understand visually than in prose.