Self Hosted Automatic Bookmark Backup and Synchronization

https://lemmy.world/post/7027166

Self Hosted Automatic Bookmark Backup and Synchronization - Lemmy.World

Good morning, afternoon, or evening; I am looking for a self hosted solution for Bookmark backup and synchronization. I just spun up a docker container for Linkding; don’t get me wrong this is awesome, but it is missing some things I would like to see in a bookmark backup solution. A few key things I am looking for: - Browser agnostic (at least firefox and chromium based browsers) - Automatic backup/synchronization - Integration with the browser’s built in bookmarks Anyone have any suggestions? I am looking to self host, and not looking for something like Xbrowsersync or Firefox Account syncing. I am open to suggestions! Thank you!

Floccus is a great option with different sync sources and works across browsers
Cross-browser bookmarks syncing - floccus.org

Thank you, I will have to check that one out. My next endeavor was going to be to make my own Firefox and chrome extensions and create my own docker container for syncing.

Not sure it’s worth the effort to recreate the wheel when Floccus is FOSS and uses your destination of choice.

If anything I’d throw up Nextcloud into docker and set that as the source for Floccus

Been using that for some time. No real issues at all. Seems to just work once you got it set up properly.
Yes, this is the best option if you are running a Nextcloud anyways. Although I have also been running it nicely with the more lightweight github.com/kd2org/karadav but then you don’t have the Nextcloud app to manage your bookmarks more easily.
GitHub - kd2org/karadav: Lightweight NextCloud compatible WebDAV server

Lightweight NextCloud compatible WebDAV server. Contribute to kd2org/karadav development by creating an account on GitHub.

GitHub

To sync with Floccus you don’t need that webserver, that thing is very customized to deal with Nextcloud bullshit.

A simple nginx setup with this will get the job done:

root /mnt/SSD1/web/root; location /dav/bookmarks { alias /mnt/SSD1/web/dav/bookmarks; auth_basic realm_name; auth_basic_user_file /etc/nginx/.credentials-dav.list; dav_methods PUT DELETE MKCOL COPY MOVE; dav_ext_methods PROPFIND OPTIONS; dav_access user:rw; client_max_body_size 0; create_full_put_path on; }

The file /etc/nginx/.credentials-dav.list stores authentication data. You can create users with the following command:

htpasswd -c /etc/nginx/.credentials-dav.list yourusername

Enjoy.

not looking for something like Xbrowsersync or Firefox Account syncing.

Firefox account can be self hosted, though!

Wasn’t the project abandoned some years ago
If you use Docker, somebody has been taking the effort of wrapping the new Rust-based self-hosted sync server into a Docker recipe: github.com/jeena/fxsync-docker
GitHub - jeena/fxsync-docker: Docker compose and other useful files for selfhosting of Firefox sync server

Docker compose and other useful files for selfhosting of Firefox sync server - jeena/fxsync-docker

GitHub

I’m curious why you’re not interested in xBrowsersync, if you’re willing to share. It does everything you’re looking for.

Have you looked at Shaarli?

GitHub - shaarli/Shaarli: The personal, minimalist, super-fast, database free, bookmarking service - community repo

The personal, minimalist, super-fast, database free, bookmarking service - community repo - shaarli/Shaarli

GitHub