SurfSense/docs/index.md

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

📁 Existing Documentation

🚀 Getting Started

Để bắt đầu cài đặt và phát triển trên dự án này:

  1. Đọ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.
  2. 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.
  3. 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.