SiYuan

Organize notes and knowledge in a SiYuan workspace with an API.

  • memory
  • document
  • app

Run it

briq run siyuan

Fields

NameTypeOptionsDefault
imagestring—"b3log/siyuan:latest"
envrecord{ key: string | { secret, value?, literal?, scope?, hosts?, locations? } }{}
cmdstring | string[]——
sizeenumnano, small, medium"small"
volumeobject{ gb? }{"gb":2}
filesrecord{ key: string | { base64 } }—
egressobject{ hosts }—

Outputs

Returned by briq_run once the stack is healthy. Hosts resolve inside your team network; secrets are generated per run.

SIYUAN_URL
http://siyuan.<stack>.internal:6806
SIYUAN_AUTH_CODE
<SIYUAN_AUTH_CODE>

What it runs

BriqImagePortsSizeVolume
siyuanb3log/siyuan:latest6806small2 GB at /siyuan/workspace

When to use it

  • You like the Obsidian shape (wikilinks, backlinks, a graph of notes) but need it where an agent can reach it. SiYuan is that, as a server with an API.
  • The agent should build a vault over time and walk its links.
  • You want to read the same vault in a browser.

Every note is made of blocks with ids, so the agent can insert in the middle of a document.

Tips

  • The auth code is the API key: send Authorization: Token <SIYUAN_AUTH_CODE>. It gates the UI too.
  • Write with /api/block/appendBlock, read with /api/query/sql: the block tree as SQL.
  • Browse it: briq_run({ recipe: "siyuan", expose: "private" }).
  • Alternatives: memos for quick capture, wiki for pages other people read.
  • Assets: the workspace volume starts small; set volume: { gb } for more. Set it when the briq is created, and it counts toward your plan's disk.

On this page

Free to try

Try briq, on us.

Every new account starts with €10 of credits. No card.

Start building

How can we help?

Message to the briq team