💾 Archived View for bbs.geminispace.org › s › Lagrange › 18438 captured on 2024-08-31 at 15:44:21. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-19)

🚧 View Differences

-=-=-=-=-=-=-

Sync bookmark?

I've never been fond of to sync my bookmark if firefox, but now on gemini, that I have a key that is attached to a 'avatar' I'm thinking that having my bookmark synced between all my lagrange browser would be interesting! I assume that if a page would be dedicated to your bookmark, lagrange could sync it... Is that something that is possible / in the work / never will happen?

Posted in: s/Lagrange

👺 daruma

Jul 09 · 8 weeks ago

7 Comments ↓

🕹️ skyjake [mod...] · Jul 09 at 06:48:

Bookmark and identity syncing is something I often wish for myself as I use Lagrange on quite a number of devices. I'll probably set something up eventually. Most likely it will be a self-hosted affair of some sort, perhaps backed by a Titan server to handle the uploads and downloads.

At the moment, there is the remote bookmarks feature that gives you a read-only set of "synced" bookmarks. It parses the bookmarked page and all gemtext links on the page are shown as bookmarks in the app. This way you can at least get the same set of bookmarks to appear on all your devices.

🦋 CarloMonte · Jul 09 at 07:25:

Why not save all configuration files, including Lagrange's bookmarks and certificates, in a source repo? Host it locally, not in the "cloud". This has the advantage of being a general solution: you don't have to deal with several ways of syncing.

🕹️ skyjake [mod...] · Jul 09 at 10:28:

I added this to the tracker:

— /s/Lagrange-Issues/84

To address the "why not": using a repository is technically more complex than strictly required. Granted, syncing is usually a nontrivial task, but I'm more inclined to have a simple sync method that does not rely on any external tools or libraries.

🛰️ lufte · Jul 09 at 14:27:

I liked the idea behind DecSync[1]: a format spec for synchronization that relies entirely on the file system, but makes sure to avoid or resolve conflicts. If your app is able to import/export its bookmarks in this format, you could use any external tool (the author recommends Syncthing, which I love) to do the actual synchronization.

— [1] https://github.com/39aldo39/DecSync/blob/master/design.md

🍀 gritty · Jul 09 at 16:02:

I think I read some folks using syncthing

💀 requiem · Jul 10 at 14:57:

I would also love this feature, and as far as self-hosting, could we have Git storage? Also as there are apps for both MacOS and iOS, would iCloud / Files.app sync be a possibility? (Latter would be amazing as it would allow any provider to be used, like ProtonDrive etc).

🥜 smallpatatas · Jul 11 at 04:55:

I cobbled something together for this recently, still haven't had a chance to tidy up the code in order to make it easy for other people to use, but it's on my todo list :)

tl;dr - it's a bookmarks page that links to a Python CGI script that takes user input and appends URLs and descriptions to a csv, which is then read by a script that builds the bookmarks page:

— gemini.patatas.ca/posts/bookmarks-solution-gemini.gmi