{"id":50652899,"url":"https://github.com/z1xus/mylonite","last_synced_at":"2026-06-07T22:01:05.043Z","repository":{"id":358518247,"uuid":"1241182095","full_name":"Z1xus/mylonite","owner":"Z1xus","description":"Self-hosted encrypted sync server and Obsidian plugin for desktop and mobile vault syncing.","archived":false,"fork":false,"pushed_at":"2026-06-06T19:28:32.000Z","size":1957,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-06T21:09:11.404Z","etag":null,"topics":["axum","bun","docker","e2ee","encrypted-sync","end-to-end-encryption","mobile","obsidian","obsidian-plugin","rust","self-hosted","typescript"],"latest_commit_sha":null,"homepage":"https://community.obsidian.md/plugins/mylonite","language":"TypeScript","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/Z1xus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-17T03:58:26.000Z","updated_at":"2026-06-06T19:28:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Z1xus/mylonite","commit_stats":null,"previous_names":["z1xus/mylonite"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/Z1xus/mylonite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Z1xus%2Fmylonite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Z1xus%2Fmylonite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Z1xus%2Fmylonite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Z1xus%2Fmylonite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Z1xus","download_url":"https://codeload.github.com/Z1xus/mylonite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Z1xus%2Fmylonite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34039495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["axum","bun","docker","e2ee","encrypted-sync","end-to-end-encryption","mobile","obsidian","obsidian-plugin","rust","self-hosted","typescript"],"created_at":"2026-06-07T22:00:29.819Z","updated_at":"2026-06-07T22:01:05.037Z","avatar_url":"https://github.com/Z1xus.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mylonite\n\n![Latest release](https://img.shields.io/github/v/release/z1xus/mylonite)\n![Rust 1.85+](https://img.shields.io/badge/rust-1.85%2B-orange.svg)\n![Bun](https://img.shields.io/badge/runtime-bun-black.svg)\n![Obsidian](https://img.shields.io/badge/obsidian-desktop%20%2B%20mobile-7c3aed.svg)\n![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)\n\nMylonite is a self-hosted sync server for Obsidian. Use it with the Mylonite plugin to pair devices and sync end-to-end encrypted vault data through your own storage.\n\n\u003cp align=\"center\"\u003e\n\u003cimg width=\"960\" height=\"540\" alt=\"Image\" src=\".github/assets/593691024-83c73568-f482-4cb8-8103-48ea9a87cf7d.gif\" /\u003e\n\u003csub\u003e Synchronization showcase using a remote server hundreds of kilometers away. Vault data remains end-to-end encrypted throughout the sync process.\u003c/sub\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n\u003e [!NOTE]  \n\u003e Mylonite is still in early development, expect bugs and breaking changes.\n\n## Server\n\nInstall the latest binary.\n\nDebian/Ubuntu x86_64:\n\n```bash\ncurl -fL -o /tmp/mylonite \\\n  https://github.com/z1xus/mylonite/releases/latest/download/mylonite-x86_64-unknown-linux-gnu\nsudo install -m 0755 /tmp/mylonite /usr/local/bin/mylonite\nmylonite --version\n```\n\nOther platforms: grab the matching binary from Releases and place it on your `PATH`.\n\nRelease assets are signed with GitHub artifact attestations. After downloading a binary or plugin zip, verify its provenance with the GitHub CLI:\n\n```bash\ngh attestation verify ./mylonite-x86_64-unknown-linux-gnu -R z1xus/mylonite\ngh attestation verify ./mylonite-obsidian-plugin.zip -R z1xus/mylonite\n```\n\nThe container image is attested too:\n\n```bash\ndocker login ghcr.io\ngh attestation verify oci://ghcr.io/z1xus/mylonite:latest -R z1xus/mylonite\n```\n\nCreate the config and the first vault's pairing token:\n\n```bash\nmylonite init\n```\n\nRun the server:\n\n```bash\nmylonite serve\n```\n\nThe default config lives at:\n\n- Linux: `~/.config/mylonite/config.toml`\n- macOS: `~/Library/Application Support/mylonite/config.toml`\n- Windows: `%APPDATA%\\mylonite\\config.toml`\n\nKeep `listen = \"127.0.0.1:9821\"` when a reverse proxy terminates TLS on the same host.  \nUse `listen = \"0.0.0.0:9821\"` and set `public_url` to the reachable URL if the server should accept direct connections.\n\n### Systemd\n\nDrop this unit at `/etc/systemd/system/mylonite.service`, replacing `YOUR_USER` with the account that ran `mylonite init`:\n\n```ini\n[Unit]\nDescription=Mylonite sync server\nAfter=network-online.target\nWants=network-online.target\n\n[Service]\nExecStart=/usr/local/bin/mylonite serve\nRestart=on-failure\nUser=YOUR_USER\n\n[Install]\nWantedBy=multi-user.target\n```\n\n```bash\nsudo systemctl daemon-reload\nsudo systemctl enable --now mylonite\nsudo systemctl status mylonite\n```\n\nWindows: run `mylonite serve` with NSSM, WinSW, or your preferred service wrapper.\n\n### Docker\n\n```bash\ndocker run -p 9821:9821 \\\n  -v ./config.toml:/etc/mylonite/config.toml:ro \\\n  -v ./data:/var/lib/mylonite \\\n  ghcr.io/z1xus/mylonite:latest\n```\n\n## Plugin\n\n[Install Mylonite](obsidian://show-plugin?id=mylonite) from the [Obsidian community plugin directory](https://community.obsidian.md/plugins/mylonite).\n\nBeta install: install [BRAT](https://tfthacker.com/brat-quick-guide), then add `https://github.com/Z1xus/mylonite` as a beta plugin.\n\nManual install: download [mylonite-obsidian-plugin.zip](https://github.com/z1xus/mylonite/releases/latest/download/mylonite-obsidian-plugin.zip) from Releases and extract it into:\n\n```text\n\u003cvault\u003e/.obsidian/plugins/mylonite/\n```\n\nEnable Mylonite in Obsidian's community plugins list, then open its settings.\n\n## Pairing\n\nThe first device must be paired with the pairing token. Every other device joins through a short-lived invite approved by an already-paired device.\n\n### First device\n\n1. Enter your server URL (and optionally your device label).\n2. Paste the pairing token printed by `mylonite init`.\n3. Click Pair.\n\n### Additional devices\n\n1. On an already-paired device, open Mylonite settings -\u003e Add another device -\u003e Create. Mylonite shows a QR code, an invite code, and the server URL.\n2. On the new device:\n* If the camera is available, scan the QR code. It will open an invite page on your Mylonite server.\n* Otherwise, type the server URL and invite code manually or paste the invite code.\n3. Compare the six-digit safety code on both devices, then click Approve on the already-paired device.\n\nIf you ever lose access to every paired device, the vault data is unrecoverable — the encryption key was generated on the first device and the server only holds ciphertext. Wipe the dead vault and start fresh:\n\n```bash\nmylonite vault delete \u003cvault_id\u003e\nmylonite vault create \"My Vault\"\n# pair the new device with the freshly printed token\n```\n\n## Develop\n\nRequirements:\n\n- Rust 1.85+\n- Bun 1.2+\n\nRun locally:\n\n```bash\ncargo run -p mylonite -- serve --config dev/config.toml\ncargo run -p mylonite -- vault create \"My Vault\" --config dev/config.toml\n```\n\nBuild the plugin:\n\n```bash\ncd plugin\nbun install\nbun run build\n```\n\nRun checks:\n\n```bash\ncargo fmt --check\ncargo clippy -p mylonite --all-targets -- -D warnings\ncargo test -p mylonite\ncd plugin\nbun run test\nbun run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz1xus%2Fmylonite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz1xus%2Fmylonite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz1xus%2Fmylonite/lists"}