👽 eldersnake

I did a quick write up on syncing bookmarks on Lagrange via something like NextCloud or Dropbox with the Remote Bookmarks feature

gemini://gemini.andrewjvpowell.com/articles/06-syncing-lagrange-bookmarks-cloud.gmi Link

skyjake, let me know if anything is wrong or redundant about this approach, but it works for me for now. Great browser btw!

1 year ago · 👍 lykso, cobradile94, aka_dude

Links

[1] gemini://gemini.andrewjvpowell.com/articles/06-syncing-lagrange-bookmarks-cloud.gmi

Actions

👋 Join Station

6 Replies

👽 skyjake

the browser won't pick up the update, and in fact then closing the browser will save (overwrite) the file with the old list

Hmm yeah. I could consider adding a periodic check to see if the bookmarks file has been modified externally and reload it immediately.

Then the problem becomes what to do if the user has unwritten changes to the bookmarks, but the file on disk has changed and there's a need to merge both... · 1 year ago

👽 cobradile94

I should see if I can do this with Kristall or Elaho. I’m always finding links I want to save somewhere to read later… · 1 year ago

👽 eldersnake

Okay, I tried the symlink approach and remember the problem I had with even the hard link approach: basically if the bookmark file is updated while an instance of Lagrange is running, the browser won't pick up the update, and in fact then closing the browser will save (overwrite) the file with the old list, I'm assuming as it's cached or something. · 1 year ago

👽 eldersnake

Thanks for your reply @skyjake. I didn't actually realise that deleting the bookmarks.ini file would also affect those other items. I'll have to add a note about that.

I did actually initially try the syncing of the actual file itself , although I was trying to do it via a hard link rather than a symlink. That didn't really work, but a symlink in place of the file in the config directory probably would work better. I may try that. · 1 year ago

👽 skyjake

The current drawback with remote bookmarks is that you don't get to apply any folder organization to them.

Also, I don't recommend deleting bookmarks.ini. You'll lose your subscriptions, folders, and custom icons/tags.

An alternative might be to cloud-sync the bookmarks.ini file itself, and maybe put a symlink in its place in ~/.config/lagrange. I haven't tested how well this works, though.

I'm still trying to figure out if there is a better way to sync bookmarks (and maybe history), but the only solution I can think of is to make a sync server that one can self-host. It seems too convoluted, though. Better export/import is probably a better solution. · 1 year ago

👽 moddedbear

Clever idea for people who don't have their own capsule to save a bookmark list on! · 1 year ago