Self Hosted Automatic Bookmark Backup and Synchronization

Hellmo_Luciferrari@lemmy.world to Selfhosted@lemmy.world – 28 points –

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!

20

You are viewing a single comment

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.