[{"data":1,"prerenderedAt":77},["ShallowReactive",2],{"seo-verification":3,"blog-self-host-siyuan-vps-2-en":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"blog-self-host-siyuan-vps-2-en",{"id":9,"slug":10,"slugs":11,"title":13,"excerpt":14,"readTime":15,"views":16,"isPinned":17,"publishedAt":18,"updatedAt":19,"category":20,"categories":26,"featuredImage":28,"bgImage":29,"posterImage":30,"relatedSolution":31,"intro":34,"sections":35,"ctaTitle":72,"ctaBody":73,"ctaButton":74,"ctaUrl":75,"relatedPosts":76},354,"self-host-siyuan-vps-2",{"fr":12,"en":10,"ar":10,"es":10},"self-host-siyuan-vps","SiYuan on VPS: Self-Hosted Personal Knowledge Workspace","Deploy SiYuan on a VPS: open-source personal knowledge workspace with block-level notes, bidirectional links and AI agents — your data stays with you.",3,0,false,"2026-01-07T00:00:00+00:00","2026-09-17T14:09:40+00:00",{"id":21,"name":22,"slug":23,"color":24,"icon":25},7,"Self-hosting","self-hosting","bg-indigo-500\u002F10 text-indigo-400","cloud",[27],{"id":21,"name":22,"slug":23,"color":24,"icon":25},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fself-host-siyuan-vps-poster.svg",{"categorySlug":32,"appSlug":33},"collaboration-productivity","siyuan","SiYuan is a self-hosted, open-source (AGPL-3.0) personal knowledge management system. Unlike Notion or Roam Research, your notes, graphs and attachments live on your own server — no subscription, no usage analytics shared with a third party. The block-based editor, bidirectional links and built-in AI agents make SiYuan a full-featured alternative for developers and knowledge workers who want to own their data.",[36,40,50,53,69],{"type":37,"title":38,"body":39},"h2","Why self-host your knowledge workspace?","Cloud PKM tools like Notion or Roam centralise your ideas on their servers and analyse them to improve their product. With SiYuan, storage is local by default: data is encrypted on your VPS and never leaves your machine unless you explicitly request it. You choose when and how to sync — not them.",{"type":41,"title":42,"items":43},"ul","What SiYuan brings to a ServOrbit VPS",[44,45,46,47,48,49],"**Block-based editor** — every paragraph, heading, image or code snippet is an independent, referenceable block.","**Bidirectional links and graph** — type `[[` to link two notes; the graph view visualises all links and surfaces connections you didn't know existed.","**Built-in AI agents** — connect ChatGPT, Ollama or Claude directly in SiYuan to summarise notes, generate content or answer questions over your corpus.","**Native apps** — Windows, macOS, Linux, iOS and Android: official open-source apps sync with your VPS instance.","**Universal export** — export to Markdown, HTML, Word (.docx) or PDF at any time, with no vendor lock-in.","**SQL queries over your blocks** — query your workspace like a database to build dynamic dashboards.",{"type":37,"title":51,"body":52},"Generated access code: no domain required","SiYuan works without a domain name. When your VPS is created, ServOrbit generates an `ADMIN_PASSWORD` that becomes the SiYuan access code (`SIYUAN_ACCESS_AUTH_CODE`). Open an SSH tunnel from your local machine: `ssh -L 6806:127.0.0.1:\u003Cport> root@\u003Cvps-ip>` and visit `http:\u002F\u002Flocalhost:6806`. For permanent access from the desktop or mobile apps, attach a domain from your dashboard — nginx proxies the container over HTTPS with automatic certificate renewal — or use the free `{app}.{dns_slug}.servorbit-dns.com` subdomain included with every VPS.",{"type":54,"title":55,"steps":56},"steps","Getting started with SiYuan on ServOrbit",[57,60,63,66],{"title":58,"body":59},"Create your VPS and retrieve credentials","In your ServOrbit dashboard, select SiYuan from the Collaboration category and deploy on Ubuntu 24.04. Once the VPS is running, copy the generated access code from the Credentials section.",{"title":61,"body":62},"Access the interface","Open an SSH tunnel or configure a domain in the dashboard. Navigate to `http:\u002F\u002Flocalhost:6806` (tunnel) or your HTTPS domain. Enter the access code to reach the workspace.",{"title":64,"body":65},"Create your first notebooks and notes","Create a notebook from the left panel, then documents inside it. Every line you type is a block. Type `\u002F` to insert a specific block type: heading, code, table, task list…",{"title":67,"body":68},"Connect the mobile and desktop apps","In SiYuan settings (mobile or desktop), set the sync endpoint to your domain or IP with the access code. Sync is incremental and end-to-end encrypted.",{"type":37,"title":70,"body":71},"Exporting and backing up your data","SiYuan cleanly separates data: the workspace lives in the Docker volume `\u002Fsiyuan\u002Fworkspace`. To back up, copy this folder via SFTP or `rsync`. To export specific documents, use the context menu on any document → Export → choose your format (Markdown, HTML, Word, PDF). All your notes stay in an open, SiYuan-readable format.","Deploy SiYuan on your VPS","ServOrbit provisions an Ubuntu 24.04 VPS and launches SiYuan in a Docker container within minutes — generated access code, nginx configured, data under your control.","Deploy SiYuan","\u002Fmarketplace\u002Fcollaboration-productivity\u002Fsiyuan",[],1789665132660]