# xun082/DocFlow

DocFlow is an AI-powered documentation platform built with Tiptap and Next.js, designed for real-time collaboration ⚡, smart writing assistance 🤖, and a flexible plugin system 🔌.

Repository: https://github.com/xun082/DocFlow
Canonical: https://ross.abutalabs.com/products/docflow
Homepage: https://www.codecrack.cn/
Language: TypeScript
License: MIT
License Family: permissive
Topics: nextjs, react, shadcn-ui, tiptap, yjs, nest, docflow
Last push: 2026-03-27T03:18:29+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 74, release rhythm 35, longevity 33
- inputs: {"age_days": 471, "days_push": 159, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1310, forks 227 (observed 2026-08-28T04:04:19.856480+00:00)

## What it is
DocFlow is an AI-powered collaborative documentation platform built with Next.js, Tiptap, and Yjs, offering block-based editing, real-time multi-user collaboration, and AI writing assistance (brainstorming, polishing, continuation, chat). It also includes a visual Agent workflow system for document review tasks like contract risk analysis, with a NestJS backend, Hocuspocus WebSocket sync, and Prometheus/Grafana/ELK observability.

## Use cases
- build a Notion-like collaborative document editor
- real-time collaborative editing for teams
- AI-assisted writing and document continuation
- automated contract review with AI agents
- self-hosted team knowledge base
- block-based rich text editor with drag and drop
- document workflow automation with AI agents

## When to choose
- you need self-hosted real-time collaborative docs with CRDT conflict resolution
- you want AI features grounded in document context with citations and revision tracking
- you need a customizable block editor built on Tiptap/ProseMirror
- you want to orchestrate AI agent workflows around live documents with human review gates

## When to avoid
- you only need a simple static documentation site generator
- you want a fully managed SaaS without self-hosting complexity
- your stack is not TypeScript/Node.js
- you need a lightweight editor without collaboration or AI infrastructure

## Facets
- artifact type: application
- maturity: active
- function: editor, web-framework, websocket, rag, agent-framework, chat-interface, ui-components, monitoring, object-storage, message-queue, search-engine
- domain: web-development, frontend, backend, large-language-models, documentation, developer-tools
- platform: self-hosted
- tags: tiptap, yjs, crdt, collaborative-editing, block-editor, nextjs, nestjs, hocuspocus, ai-writing-assistant, document-collaboration, agent-workflow, contract-review, ai-agents, real-time, nodejs, web-server, docker, typescript

## Member repositories
- xun082/DocFlow (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:19.856480+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:49:57.441994+00:00, confidence not recorded.
  - readme: https://github.com/xun082/DocFlow (fetched 2026-08-28T04:04:19.856480+00:00, sha 089418d3189d)
  - homepage: https://www.codecrack.cn/ (fetched 2026-08-29T12:08:27.001896+00:00, sha ac375a9c3714)
- Data as of 2026-08-30T08:39:29.467469+00:00.
