mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 09:16:22 +02:00
2.6 KiB
2.6 KiB
SurfSense Project Documentation Index
🌟 Project Overview
- Type: monorepo with 4 parts
- Primary Languages: Python, TypeScript, TSX
- Architecture: API Service (FastAPI) + Web App (Next.js App Router) + Desktop + Extension
🏗️ Quick Reference
Frontend (surfsense_web/)
- Type: web
- Tech Stack: Next.js 16 (App Router), React 19, TailwindCSS 4, Drizzle ORM, @rocicorp/zero (Local-first sync)
Backend (surfsense_backend/)
- Type: backend
- Tech Stack: FastAPI (Python 3.12), SQLAlchemy, Alembic, Celery, Redis, LangGraph, pgvector
Browser Extension (surfsense_browser_extension/)
- Type: extension
- Tech Stack: React, TypeScript
Desktop Client (surfsense_desktop/)
- Type: desktop
- Tech Stack: TypeScript (TBD frameworks)
🌐 Code Review Graph & Communities
Dự án đã được phân tích bằng công cụ Code Review Graph, trích xuất thành công:
- 6,578 nodes & 55,487 edges
- 696 communities/modules architecture pages (Được lưu ở
.code-review-graph/wiki/)
📑 Generated Documentation
- Project Overview
- Architecture (Frontend)
- Architecture (Backend)
- Source Tree Analysis
- Component Inventory
- Development Guide
- Deployment Guide
- API Contracts
- Data Models
- Integration Architecture
📁 Existing Documentation
- Code Review Graph Wiki - Chi tiết từng community và file dependency.
- Project Scan Report - Trạng thái scan ban đầu của BMad.
🚀 Getting Started
Để bắt đầu cài đặt và phát triển trên dự án này:
- Đọc Development Guide để biết cách spin up hệ thống Backend (FastAPI, Redis, Celery, Postgres pgvector) và Frontend (Next.js, Zero-Cache) bằng Docker.
- Tham khảo Integration Architecture để hiểu cách Zero-Cache đồng bộ trạng thái Frontend-Backend và cách Celery Worker xử lý các pipeline lấy dữ liệu bằng LLM.
- Tham khảo Architecture (Backend) hoặc Architecture (Frontend) khi muốn trace sâu vào tầng mã nguồn (EtlPipelineService, HybridSearch, Next App Router, etc.).
This documentation is part of the BMAD generation process.