An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
{
"ID": "20210824202056-udkf7wg",
"Spec": "2",
"Type": "NodeDocument",
"Properties": {
"id": "20210824202056-udkf7wg",
"title": "Widgets",
"type": "doc",
"updated": "20261024161440"
},
"Children": [
{
"ID": "20210824202107-oi62h64",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20210824202107-oi62h64",
"updated": "20261024161440"
},
"Children": [
{
"Type": "NodeText",
"Data": "Overview"
}
]
},
{
"ID": "20210824202107-faidvkw",
"Type": "NodeParagraph",
"Properties": {
"id": "20210824202107-faidvkw",
"updated": "20261024161440"
},
"Children": [
{
"Type": "NodeText",
"Data": "Widgets are small web-based tools embedded in a document. The SiYuan kernel serves their files, the editor displays them in an "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "iframe"
},
{
"Type": "NodeText",
"Data": ", and they can use APIs to read or write data."
}
]
},
{
"ID": "20230512195321-tin4qpv",
"Type": "NodeParagraph",
"Properties": {
"id": "20230512195321-tin4qpv",
"updated": "20230512195357"
},
"Children": [
{
"Type": "NodeText",
"Data": "Compared with "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20230506205948-yah52eb",
"TextMarkBlockRefSubtype": "s",
"TextMarkTextContent": "plugins"
},
{
"Type": "NodeText",
"Data": ", a widget is a kind of content block, which follows the indexing and rendering rules of the block. The widget is mainly oriented to content block extension, not to program function extension."
}
]
},
{
"ID": "20210824202107-3zt4469",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20210824202107-3zt4469",
"updated": "20261016191345"
},
"Children": [
{
"Type": "NodeText",
"Data": "How to use"
}
]
},
{
"ID": "20210824202107-cmsetzk",
"Type": "NodeParagraph",
"Properties": {
"id": "20210824202107-cmsetzk",
"updated": "20261016191345"
},
"Children": [
{
"Type": "NodeText",
"Data": "The widgets are installed through the widget marketplace. After installation, the widgets will be placed in the "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "workspace/data/widgets/"
},
{
"Type": "NodeText",
"Data": " folder. In the editor, use the slash menu to trigger the call search. After selecting the widget you need, the widget will be inserted into the document in the form of a widget block."
}
]
},
{
"ID": "20261002002136-7ap8ig7",
"Type": "NodeParagraph",
"Properties": {
"id": "20261002002136-7ap8ig7",
"updated": "20261002002136"
},
"Children": [
{
"Type": "NodeText",
"Data": "Hover over the block to reveal the small handles outside its border. Drag the handle at the center of the right edge to change width, the one at the center of the bottom edge to change height, or the rounded bottom-right handle to change both. On touch devices, drag the handles directly; changing one dimension preserves the other."
}
]
},
{
"ID": "20211222095842-700ar7j",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20211222095842-700ar7j",
"updated": "20260809232000"
},
"Children": [
{
"Type": "NodeText",
"Data": "Push to widget marketplace"
}
]
},
{
"ID": "20221114173356-q17x02u",
"Type": "NodeParagraph",
"Properties": {
"id": "20221114173356-q17x02u",
"updated": "20260809232000"
},
"Children": [
{
"Type": "NodeText",
"Data": "Please refer to "
},
{
"Type": "NodeTextMark",
"TextMarkType": "a",
"TextMarkAHref": "https://github.com/siyuan-note/bazaar",
"TextMarkTextContent": "Community marketplace repo"
},
{
"Type": "NodeText",
"Data": "."
}
]
}
]
}