this post was submitted on 18 Nov 2024
48 points (96.2% liked)

Selfhosted

40269 readers
440 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I use around 10 browser profiles, each of which has its own set of bookmarks, plugins, self-enforced rules, etc. I want to synchronise browsing history, bookmarks, plugins using a single account. They are managed with a dedicated Firefox account, but I was wondering if I can self host accounts so that I can synchronise stuff over my VPN, and I don't have to do mail verification every time I create a new profile. But I can't find much on how online.

I know syncserver-rs but that is not enough. The accounts are still registered with Mozilla's server.

top 15 comments
sorted by: hot top controversial new old
[–] catloaf@lemm.ee 6 points 2 days ago (1 children)

I don't think you can sync all those items anyway. I use Mozilla's sync, and it doesn't sync all my settings or extensions.

Last time I checked, some people were using syncthing to sync the whole profile folder, but I feel like that's just a recipe for profile corruption. I don't know if it works cross-platform either.

It syncs my extensions, except for mobile the ones that aren't available (obviously)

[–] dingdongitsabear@lemmy.ml 2 points 2 days ago

no help to you, but my god is it convoluted and complex; every year or so I look up if there's been some change in that regard and every time I stop reading halfway through the setup instructions. maybe next year...

[–] fmstrat@lemmy.nowsci.com 5 points 2 days ago (1 children)

Yes. But it was a while ago (pre Rust) when I ran my own accounts server. I only self-host sycserver-rs now.

That being said, I'm pretty sire the mail verification is built in, so even if you self host accounts you'd have to make modifications.

[–] Object@sh.itjust.works 2 points 2 days ago* (last edited 2 days ago) (1 children)

Can you do something with syncserver-rs alone? Even after I log in with Mozilla account and setting sync server URL to point to mine, nothing appears in the database.

[–] fmstrat@lemmy.nowsci.com 1 points 2 days ago* (last edited 2 days ago) (1 children)

Yea, it works for me, but there were no great guides. If nothing is in the DB, try checking HTTP error codes, or setting the RUST_LOG to trace (which gives you a log line for every item synced).

A problem I had that seemed like nothing was saving was the nginx proxy wasn't doing things right, and I couldn't tell. Using the local IP worked, and after making some nginx config tweaks I got it working.

I ended up making suggestions here based on my experience: https://github.com/porelli/firefox-sync

I didn't exactly use that repo, but started with it and use their images. Their nginx config works, though.

[–] Object@sh.itjust.works 2 points 2 days ago (1 children)
[–] fmstrat@lemmy.nowsci.com 1 points 2 days ago

Let me know if it works out for you, if not I can try to help.

[–] MaggiWuerze@feddit.org 4 points 2 days ago (2 children)

As far as I know from my own attempt, you can't easily self host the accounts part, only the syncserver

[–] poVoq 5 points 2 days ago* (last edited 2 days ago) (2 children)

An the Syncserver still runs on Python2 with multiple known vulnerabilities.

There is a new Syncserver written in Rust, but it seems in continous half finished state or so.

[–] MaggiWuerze@feddit.org 1 points 2 days ago

Yeah, the new one was seemingly always just shy of being ready to use

[–] fmstrat@lemmy.nowsci.com 1 points 2 days ago* (last edited 2 days ago) (1 children)

~~Not for years. It's Rust now~~.

Doh, should have kept reading 😆 Rust is used in production now.

[–] user224@lemmy.sdf.org 2 points 2 days ago

Maybe they referred to the Rust version.

[–] fmstrat@lemmy.nowsci.com 2 points 2 days ago (1 children)

You can, it's just more complex.

[–] MaggiWuerze@feddit.org 1 points 2 days ago

That why I said 'easily', there's no ready to go solution you could just plop into a compose file