💾 Archived View for station.martinrue.com › eldersnake › 01801cf4dae440eda0c261f10b198af9 captured on 2024-08-19 at 00:40:13. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-12)
-=-=-=-=-=-=-
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!
2 years ago · 👍 lykso, cobradile94, aka_dude
gemini://gemini.andrewjvpowell.com/articles/06-syncing-lagrange-bookmarks-cloud.gmi
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... · 2 years ago
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… · 2 years ago
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. · 2 years ago
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. · 2 years ago
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. · 2 years ago
Clever idea for people who don't have their own capsule to save a bookmark list on! · 2 years ago