yoav646 downloadsSync selected notes with a self-hosted Glassine instance over its REST sync API - no git required, works on desktop and mobile.
An Obsidian plugin that syncs selected notes with a self-hosted Glassine instance over its REST sync API — an alternative to Glassine's git/obsidian-git adapter that works the same way on desktop and mobile.
glassine) to it. Its presence means "sync this note"; its value is a link to the note's document on Glassine, filled in automatically.![[wiki-style]] embeds are uploaded — a plain  markdown image is left as-is, since it's far more likely to already be a URL than a local file meant for Glassine. Glassine understands ![[wiki-style]] embeds natively, so a pushed image keeps that same syntax; only its path is rewritten, to the image's fully-resolved vault path (an Obsidian embed may rely on vault-wide fuzzy filename matching, which Glassine doesn't have). Pulled images — in either syntax, whichever the document actually contains — are downloaded to the vault-relative path the document names. Only the copy sent to Glassine is ever rewritten — a note's own embed syntax on disk is never touched.See documentation/sync-api.md in the Glassine server's repository for the protocol this plugin speaks — it's a general-purpose API, not specific to Obsidian, if you'd rather write your own client.
https://glassine.example.com).glassine property (empty value) to any note you want to sync. On its next edit, the plugin creates a matching document on Glassine and writes that document's URL back into the property.The device token this plugin stores (in the vault's plugin data) is long-lived and stays valid until you revoke it from Glassine's Admin → Devices — there's no periodic re-login. Treat it like any other stored credential: it's stored in plain text in the plugin's local data, the same way Obsidian's own git plugin stores your git remote credentials.
npm install
npm run dev # watch build
npm run build # production build + typecheck