DocStack

WENZHAN NOTES · LOCAL KNOWLEDGE DOCK

INOUT Cloud notes in. Agent APIs out.

DocStack Input cloud notes. Output APIs for Agents.

DocStack is a local knowledge dock: Input cloud notes from Yuque, Get Notes, and future sources; Output clean local APIs so Agents can search, read, audit, and write without screen scraping.

The product idea

DocStack is not another sync button. It is a local knowledge base between cloud note systems and Agent workflows.

Bring scattered notes home first. Then turn local knowledge into callable capability.

That is the DocStack loop: notes become searchable, auditable, portable, and usable by Agents.
01 / INPUT

Input: connect cloud notes

Yuque knowledge bases, small notes, Get Notes, images, and attachments enter your local workspace. Sync is not the final goal; durable local knowledge is.

02 / STACK

Stack: preserve locally

Markdown files, SQLite metadata, sync history, failed records, and reading traces form the stack. It is movable, back-up friendly, and traceable.

03 / OUTPUT

Output: expose Agent APIs

A local HTTP API lets Agents query, read, create, update, and audit notes without fragile UI automation.

Core capabilities

The vintage look is only the shell. The real work is input, organization, and output.

A

Cloud note input

Sync Yuque documents, small notes, images, and attachments locally while preserving hierarchy, status, retry records, and change logs.

B

Local reading and search

Read Markdown, search full text, jump to documents, inspect sync history, and manage failed items from one desktop workspace.

C

Agent-ready local API

The local HTTP API runs on port 7577 by default. Agents can read logs by day/week/month, query notes, fetch content, and write local notes.

Screens as workflows

Each screen serves the IN / OUT model: make content enter cleanly, or make it easier for people and Agents to use.

DocStack local writing workflow

1. Land it locally first

Ideas, project notes, and Agent output become local Markdown before they disappear into chat windows.

WriteMarkdown
DocStack reading workflow

2. Make cloud content readable

Synced documents are reorganized with outline, typography, and search. You read articles; the system keeps assets searchable and traceable.

ReadSearch
DocStack cloud sync workflow

3. Turn sync into a background process

Choose sources, scope, and frequency. Added, modified, failed, and retried items all leave records.

InputLogs
DocStack AI action workflow

4. Turn notes into actions

Summarize, rewrite, extract, and archive around the current note. Results return to the stack instead of floating away.

ProcessWrite-back
DocStack Agent API workflow

5. Give Agents a real interface

Agents query notes, read content, inspect sync logs, and write notes through local APIs. No clicking simulation. No copy-paste tax.

APIAgent