{"repo":"ibai-mutiloa/DocMind","free":true,"listed":false,"github":"https://github.com/ibai-mutiloa/DocMind","clone":"git clone https://github.com/ibai-mutiloa/DocMind.git","description":"DocMind — Self-hosted document workspace con AI chat","language":"TypeScript","stars":10,"topics":[],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"DocMind Self-hosted document workspace with AI chat (NotebookLM-style). Upload your documents into isolated Knowledge Bases and chat with an assistant that answers only from their content (RAG over pgvector), with token-by-token streaming responses. Architecture - Frontend: Next.js 14 (App Router) + TypeScript + Tailwind CSS, dark theme. - Auth: JWT; email/password (bcrypt) or Google OAuth2. - Knowledge Bases: each KB stores its own OpenAI API key, encrypted at rest with Fernet. - Ingestion: drag-and-drop upload (PDF/TXT/DOCX) → 500-token chunks with overlap → text-embedding-3-small → pgvector. - Chat: similarity search (top-5 chunks) → context-grounded prompt → gpt-4o-mini , streamed token by token over Server-Sent Events, with source citations per answer. - Mind maps: KB-level topic diagrams are generated from representative chunks and cached by content hash; a document graph view also connects related files by embedding similarity. - Formats: PDF, TXT and DOCX. Tech stack Layer Technology ----------- ------------------------------------------------------- Frontend Next.js 14 (App Router), TypeScript, Tailwind CSS Backend FastAPI, SQLAlchemy, Pydantic Database PostgreSQL + pgvector AI OpenAI ( text-embedding-3-small , gpt-4o-mini ) Auth JWT (bcrypt), Google OAuth2 (Authlib) Infra Docker, docker-compose Quick start - App: http://localhost:3000 - API docs (Swagger): http://localhost:8000/docs Google OAuth2 setup (optional) Email/password login works out of the box. To enable ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ibai-mutiloa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ibai-mutiloa/DocMind/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}