{"id":44942791,"url":"https://github.com/tomas789/syncline","last_synced_at":"2026-04-26T09:05:29.570Z","repository":{"id":339138472,"uuid":"1160329384","full_name":"tomas789/syncline","owner":"tomas789","description":"A privacy-first, self-hosted synchronization system for Obsidian vaults. Powered by Rust and CRDTs for seamless, conflict-free merging across devices, even after extended offline periods.","archived":false,"fork":false,"pushed_at":"2026-04-22T09:57:42.000Z","size":8607,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-22T11:18:27.678Z","etag":null,"topics":["crdt","obsidian","obsidian-md","obsidian-plugin","offline-first","privacy","rust","self-hosted","sqlite","sync","synchronization","wasm","websockets"],"latest_commit_sha":null,"homepage":"https://syncline.readthedocs.io/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomas789.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-17T20:13:03.000Z","updated_at":"2026-04-22T04:51:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tomas789/syncline","commit_stats":null,"previous_names":["tomas789/syncline"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/tomas789/syncline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomas789%2Fsyncline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomas789%2Fsyncline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomas789%2Fsyncline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomas789%2Fsyncline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomas789","download_url":"https://codeload.github.com/tomas789/syncline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomas789%2Fsyncline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32175040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T02:19:40.750Z","status":"ssl_error","status_checked_at":"2026-04-23T02:17:55.737Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crdt","obsidian","obsidian-md","obsidian-plugin","offline-first","privacy","rust","self-hosted","sqlite","sync","synchronization","wasm","websockets"],"created_at":"2026-02-18T09:06:21.889Z","updated_at":"2026-04-23T10:01:04.216Z","avatar_url":"https://github.com/tomas789.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./docs/logo-with-name.jpg\" alt=\"Syncline — Self-hosted Obsidian Sync\" width=\"400\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eVault Sync You Actually Own.\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" alt=\"License: MIT\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/build-passing-brightgreen.svg\" alt=\"Build Status\"\u003e\n  \u003ca href=\"https://www.rust-lang.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/built_with-Rust-dca282.svg?logo=rust\" alt=\"Rust\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://obsidian.md/\"\u003e\u003cimg src=\"https://img.shields.io/badge/plugin-Obsidian-blueviolet.svg?logo=obsidian\" alt=\"Obsidian Plugin\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/sync-CRDTs-success.svg\" alt=\"CRDTs\"\u003e\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eKeep your vault in sync across all devices.\u003c/b\u003e\u003cbr\u003e\n  No subscriptions • No cloud lock-in • No third-party servers\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ci\u003eYou run the server. You own the data. It \u003cb\u003ejust works\u003c/b\u003e.\u003c/i\u003e\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e •\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#how-it-works\"\u003eHow It Works\u003c/a\u003e •\n  \u003ca href=\"#faq\"\u003eFAQ\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Why Syncline?\n\nEvery other sync option for Obsidian requires you to hand your notes to someone else's servers. Obsidian Sync costs $8/month. iCloud and Dropbox can't merge text edits, so you end up with `Note (conflict copy 2).md` scattered across your vault.\n\nSyncline runs on your own machine. It stores everything in a single SQLite file. And it uses CRDTs to merge edits at the character level, so two people can edit the same paragraph offline for a week and the result still comes out clean.\n\n|                           | Syncline | Obsidian Sync | iCloud / Dropbox |\n| ------------------------- | -------- | ------------- | ---------------- |\n| **You own the data**      | ✅       | ❌            | ❌               |\n| **Self-hosted**           | ✅       | ❌            | ❌               |\n| **Works offline**         | ✅       | ✅            | Partial          |\n| **No conflict dialogs**   | ✅       | ❌            | ❌               |\n| **Binary file sync**      | ✅       | ✅            | ✅               |\n| **Single-file database**  | ✅       | ❌            | ❌               |\n| **Subscription required** | ❌       | ✅            | ✅               |\n\n---\n\n## Features\n\n**Privacy-first.** Your notes stay on your infrastructure. A home server, a VPS, a Raspberry Pi sitting in a closet. No telemetry, no analytics.\n\n**Single-file storage.** The entire vault history lives in one `syncline.db` file. Back it up by copying that file. Done.\n\n**Fast.** Written in Rust. Sync happens over WebSockets, so changes show up on other devices in milliseconds.\n\n**Offline for as long as you want.** Go off-grid for weeks. When you reconnect, Syncline merges everything automatically. No manual conflict resolution, ever.\n\n**Character-level merging.** Built on CRDTs (the same tech behind Notion and Figma's collaborative editing). Two devices editing the same note at the same time? The edits merge mathematically. You won't see a \"conflict file.\"\n\n**Binary files too.** Images, PDFs, attachments — all synced. If two devices modify the same binary file offline, both versions are kept with distinct names.\n\n---\n\n## How It Works\n\n```\n  Your Laptop          Your Server          Your Phone\n  (Obsidian)           (Syncline)           (Obsidian)\n      │                    │                    │\n      │── edit note ──────►│                    │\n      │                    │── push update ────►│\n      │                    │                    │\n      │   (go offline)     │   (go offline)     │\n      │── edit note A      │                    │── edit note A\n      │                    │                    │\n      │   (reconnect) ────►│◄─── (reconnect) ───│\n      │                    │                    │\n      │◄── merged A+B ─────┤──── merged A+B ───►│\n      │   (no conflicts!)  │                    │\n```\n\nThe server keeps a compact history of changes. When you reconnect after being offline, it sends you only what changed and merges your local edits automatically.\n\n---\n\n## Installation\n\n### Step 1: Run the Syncline Server\n\nThe quickest option on Mac or Windows is the **Syncline Desktop App**. It sits in your system tray, manages the database, and gives you the connection URL.\n\n**Grab the installer from the [Releases Page](https://github.com/tomas789/syncline/releases):**\n\n- **Mac:** `.dmg`\n- **Windows:** `.msi` or `.nsis.zip`\n\nIt starts with your computer. Click the menu bar icon → **Start Server**.\n\n---\n\n**CLI / headless setup:**\nFor a Linux VPS or Raspberry Pi where there's no GUI:\n\n```bash\n# Download the CLI binary from Releases, or build from source:\ncargo run -- server --port 3030 --db-path ./syncline.db\n```\n\n### Step 2: Install the Plugin\n\n**Option A — Community Plugins (recommended)**\n\n1. Open Obsidian → Settings → Community Plugins\n2. Search for **Syncline**\n3. Install, then Enable\n\n**Option B — Manual**\n\n1. Download `main.js`, `manifest.json`, and `styles.css` from the [latest release](https://github.com/tomas789/syncline/releases)\n2. Copy them to `\u003cyour-vault\u003e/.obsidian/plugins/syncline-obsidian/`\n3. Reload Obsidian, enable in Settings → Community Plugins\n\n### Step 3: Connect\n\n1. Settings → Syncline\n2. Enter your server URL (e.g. `ws://192.168.1.100:3030/sync` or `wss://sync.yourdomain.com/sync`)\n3. Click **Connect**\n\nSyncing starts immediately. Install the plugin on your other devices and point them to the same server.\n\n---\n\n## FAQ\n\n**Do I need the server running 24/7?**\nNo. Changes are stored durably in SQLite. If the server's down while you edit, your changes queue locally and sync the next time it's reachable.\n\n**What if two devices edit the same note offline?**\nBoth sets of edits are merged automatically via CRDTs. You won't lose anything you typed.\n\n**What about images and attachments?**\nFully supported. Binary files sync using content-addressed storage. If two devices modify the same binary file concurrently, both versions are kept with distinct names.\n\n**Is my data encrypted?**\nData travels over WebSockets. For encryption in transit, put the server behind a reverse proxy with TLS (Nginx + Let's Encrypt works well). End-to-end encryption is planned but not yet implemented.\n\n**How do I back up?**\nCopy the `syncline.db` file. That single file has the full history of your vault.\n\n**Mobile support?**\nYes. The plugin works on both desktop and mobile Obsidian.\n\n---\n\n## Repository\n\n- **Main repository:** [github.com/tomas789/syncline](https://github.com/tomas789/syncline)\n\n---\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomas789%2Fsyncline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomas789%2Fsyncline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomas789%2Fsyncline/lists"}