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
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 https://github.com/kd2org/karadav but then you don’t have the Nextcloud app to manage your bookmarks more easily.
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
Then point Floccus at your server: http://10.0.0.1/dav/bookmarks
Enjoy.
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
I thought about trying to spin up a nextcloud instance, just haven’t taken the time to add that to my home lab.
It may not be worth that extra effort, but it would be a learning experience I am sure.
Longtime Linux user, but not an IT Guy/Programmer. Like the users above, I was able to setup Nextcloud and Floccus with minimal trouble and I hear its even easier with Docker. I recommend setting it up once to understand it better and make some mistakes, use it for a while, then make a clean install once you understand how you actually do use it.
I have a good chunk of my services running on my docker host. I may go the docker route as it’s the cleanest way of implementing it into my setup.
I think so farvi have 30 containers running at any given time.
Been using that for some time. No real issues at all. Seems to just work once you got it set up properly.
not looking for something like Xbrowsersync or Firefox Account syncing.
Firefox account can be self hosted, though!
I have read that, but then for my chrome instances on devices I sadly couldn’t easily sync with those. For instance I use a chromium based browser on my phone, but Firefox on my desktops/laptops. But I may look into self hosting my own Firefox setup.
Wasn’t the project abandoned some years ago?
Edit: nvm, looks like it was rewritten into https://github.com/mozilla-services/syncstorage-rs
If you use Docker, somebody has been taking the effort of wrapping the new Rust-based self-hosted sync server into a Docker recipe: https://github.com/jeena/fxsync-docker
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?
Well, I want the data to be my own. And that traffic won’t leave my home network, unless I am VPNed into my network. I don’t expose my services to the Internet because it’s just for me.
I have not. He ked out Shaarli but I am going to look now.
FYI, I host my own xbs server. It’s pretty easy on its own, but I use the d.rymcg.tech framework.
Didn’t realize there was a self host option for Xbrowsersync, thank you!
not OP but it’s painfully slow when you have a large collection of bookmarks.
Have you tried https://github.com/jeena/fxsync-docker? It is a docker compose for selfhosting the new Firefox sync server rewritten in Rust.
Credits: https://lemmy.world/post/5839867
this requires a Firefox account so not fully self-hosted. In the README they tell this is for security reasons, but I’d just like to run this locally on my home network, so not much of a compromise there.
That’s quite sad because otherwise this would be perfect.