TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Self-Hosting a Firefox Sync Server

322 点作者 shantara2 个月前

20 条评论

3np2 个月前
Note that this setup still relies on Mozilla infrastructure for several surrounding services for auth, email, account metadata, etc.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;dan-r&#x2F;syncstorage-rs-docker&#x2F;blob&#x2F;main&#x2F;app&#x2F;entrypoint.sh#L45">https:&#x2F;&#x2F;github.com&#x2F;dan-r&#x2F;syncstorage-rs-docker&#x2F;blob&#x2F;main&#x2F;app...</a><p>It&#x27;s a good start though and as long as you&#x27;re OK migrating your account you can plug those in later. Fully self-hosting all the components is just as doable but a little bit more involved. Compared to when I last set it up they seem to have been improving on docs and devex.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mozilla&#x2F;fxa">https:&#x2F;&#x2F;github.com&#x2F;mozilla&#x2F;fxa</a><p><a href="https:&#x2F;&#x2F;mozilla.github.io&#x2F;ecosystem-platform&#x2F;tutorials&#x2F;development-setup" rel="nofollow">https:&#x2F;&#x2F;mozilla.github.io&#x2F;ecosystem-platform&#x2F;tutorials&#x2F;devel...</a><p><a href="https:&#x2F;&#x2F;mozilla-services.readthedocs.io&#x2F;en&#x2F;latest&#x2F;howtos&#x2F;run-fxa.html" rel="nofollow">https:&#x2F;&#x2F;mozilla-services.readthedocs.io&#x2F;en&#x2F;latest&#x2F;howtos&#x2F;run...</a>
评论 #43217983 未加载
评论 #43216091 未加载
评论 #43215777 未加载
评论 #43217523 未加载
gudzpoz2 个月前
Garuda Linux has been hosting their own Firefox Sync server for a while now for their FireDragon browser [1]:<p><pre><code> defaultPref(&quot;identity.sync.tokenserver.uri&quot;, &quot;https:&#x2F;&#x2F;ffsync.garudalinux.org&#x2F;token&#x2F;1.0&#x2F;sync&#x2F;1.5&quot;); &#x2F;&#x2F; --&gt; FIREDRAGON CONFIG </code></pre> (They seem to be running the older non-Rust sync server though. [2])<p>[1] <a href="https:&#x2F;&#x2F;firedragon.garudalinux.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;firedragon.garudalinux.org&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;garuda-linux&#x2F;infra-nix&#x2F;-&#x2F;blob&#x2F;main&#x2F;docker-compose&#x2F;all-in-one&#x2F;docker-compose.yml#L29" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;garuda-linux&#x2F;infra-nix&#x2F;-&#x2F;blob&#x2F;main&#x2F;docker...</a>
评论 #43220213 未加载
kyz22 个月前
This reminded me to post my own experience:<p><a href="https:&#x2F;&#x2F;kyzer.me.uk&#x2F;syncserver&#x2F;" rel="nofollow">https:&#x2F;&#x2F;kyzer.me.uk&#x2F;syncserver&#x2F;</a><p>It can be done, but by golly is it a slog. The previous version (abandoned and hopelessly out of date, written in Python 2) was SOOO much better.<p>It doesn&#x27;t require Docker though, nor does it require Python. It does require MySQL for now, but there&#x27;s like one volunteer guy working on supporting sqlite, like the old version supported out of the box. Meanwhile, the main contributors are LARPing being a corporation and writing justifications for collecting metrics and introducing new metrics frameworks, rather than make it any easier to self-host.
travelthrowaway2 个月前
Take a look&#x2F;follow <a href="https:&#x2F;&#x2F;github.com&#x2F;canvas-ai&#x2F;canvas-browser-extensions">https:&#x2F;&#x2F;github.com&#x2F;canvas-ai&#x2F;canvas-browser-extensions</a><p>Its meant to sync your browser tabs (chrome&#x2F;firefox) to a self-hosted virtual &quot;directory&quot; tree powered by lmdb and roaring bitmap indexes. In retrospect, we should have used rxdb or pouchdb from day one (keeping the bitmaps) but eventually we get there.<p>Workflow<p>- Create a new context path based on the task you are working on(universe:&#x2F;&#x2F;travel&#x2F;2024&#x2F;03&#x2F;barcelona for example)<p>- Depending on your configuration, your browser stores your current tabs and closes them, you then start your airbnb journey adding new tabs to the context path<p>- Your significant other may even open the same context and work on it with you(as in, add additional ones, if auto-sync is enabled close yours etc)<p>Server component is under a rewrite atm, my amateurism at play! You can do stupid things with a 2 user user-base (like a full api + backend + module rewrite started simultaneously, breaking existing functionality beyond repair) but with the new tools available these days (cursor, claude 3.7), the most important limiting factor for an idea becomes .. well, time!
charles_f2 个月前
I did that for a while, including hosting the auth myself. Then I realized Mozilla is probably one of the few companies I trust with my data, even though it&#x27;s probably misplaced trust. The sync server is relatively straightforward to setup, but auth is quite more involved. I don&#x27;t think it&#x27;s worth it, compared to using the public hosted service
评论 #43216611 未加载
评论 #43217084 未加载
评论 #43225037 未加载
sandreas2 个月前
Thank you, this is the only thing what slowed me down switching to Librewolf.<p>Seems that MySQL and Spanner are the only supported DB-Engines by now, but there are efforts to support sqlite and Postgres[1]. I really hope these get merged soon, would make it much easier to backup your whole sync storage contained in one single sqlite file. However, a multiuser instance would probably be better stored via postgres due to better parallel update support.<p>EDIT: After trying this out: How exactly do I force Firefox (Librewol) using the self-hosted URL? Is there an about:config setting?<p>1: <a href="https:&#x2F;&#x2F;github.com&#x2F;mozilla-services&#x2F;syncstorage-rs&#x2F;issues&#x2F;498">https:&#x2F;&#x2F;github.com&#x2F;mozilla-services&#x2F;syncstorage-rs&#x2F;issues&#x2F;49...</a>
评论 #43218032 未加载
评论 #43222840 未加载
zymhan2 个月前
What&#x27;s the privacy benefit, given that Firefox Sync is E2E encrypted?<p><a href="https:&#x2F;&#x2F;support.mozilla.org&#x2F;en-US&#x2F;kb&#x2F;sync" rel="nofollow">https:&#x2F;&#x2F;support.mozilla.org&#x2F;en-US&#x2F;kb&#x2F;sync</a>
评论 #43216207 未加载
评论 #43217098 未加载
mrbigbob2 个月前
Something similar to Firefox Sync is Floccus. If you only need bookmark and tabs sync it looks straightforward in setting up<p><a href="https:&#x2F;&#x2F;floccus.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;floccus.org&#x2F;</a>
therein2 个月前
Would be nice if librewolf and WaterFox changed their flow to make it clear that Mozilla&#x27;s Sync Server is being used, and make it opt in with something like:<p>To sync please select one of the options below:<p>[x] Custom Sync Server: ___________<p>[ ] Mozilla Sync
评论 #43215910 未加载
评论 #43216247 未加载
评论 #43219866 未加载
gsliepen2 个月前
Congrats on getting this self-hosted. However, the solution looks more complicated than necessary. You shouldn&#x27;t have to set up a database server and Docker just to sync a little bit of data. Ideally, there would be a sync server implementation that uses SQLite and can just run stand-alone.
评论 #43218019 未加载
评论 #43218894 未加载
评论 #43221755 未加载
Mostlygeek2 个月前
There’s also this: <a href="https:&#x2F;&#x2F;github.com&#x2F;mozilla-services&#x2F;go-syncstorage">https:&#x2F;&#x2F;github.com&#x2F;mozilla-services&#x2F;go-syncstorage</a><p>While it was never fully deployed into production it was tested with a few hundred thousand users. It is stable at least.
nairboon2 个月前
Given the recent Firefox fiasco. What are the viable options for a free software browser? Can anyone point to the most promising alternatives (apart from the other corporate browser engines)?
评论 #43218984 未加载
评论 #43218373 未加载
评论 #43218326 未加载
评论 #43218337 未加载
IYasha2 个月前
Closed article after &quot;docker&quot;.<p>Oh god... It&#x27;s still seems faster to hand-merge bookmarks from all of my browsers and devices together.
评论 #43219321 未加载
replete2 个月前
FYI You can use Floccus and a WebDAV server to sync bookmarks across browsers, set and forget
grimgrin2 个月前
I&#x27;ll jump to the wolfside but I&#x27;m going to absolutely miss &quot;send tab to device&quot;, where I&#x27;m often driving this from mobile firefox, sending to one of a few other devices for Next time I&#x27;m sitting at a desk<p>There are alternative techniques but maybe none with so few clicks, where the outcome is something literally in your face. A new tab opening on a computer elsewhere. It&#x27;s that &quot;I&#x27;m almost forced to see this&quot; that I like
评论 #43235440 未加载
pava02 个月前
Asking a related question: is there anyway to sync history between browsers, fully self-hosted?
评论 #43219094 未加载
评论 #43241558 未加载
promiseofbeans2 个月前
Great timing, with Mozilla&#x27;s new privacy policy problems the other day
评论 #43215872 未加载
nileshtrivedi2 个月前
It should be possible to use syncthing to achieve sync across multiple devices, without having a third-party server - even if untrusted, right?
评论 #43218148 未加载
sciens32 个月前
I’m no longer using Firefox. They have stated clearly that they sell your data.
评论 #43218876 未加载
评论 #43249084 未加载
maxlin2 个月前
I&#x27;ve use Firefox as my tertiary browser option, for some specific uses like for example I have it always have an VPN plugin on. But I&#x27;m starting to feel anything in its vicinity should be avoided like hostile malware, regardless if an attempt to remove bad parts of it is made.<p>A corporation can do a lot of bad stuff with their software and terms, and most have probably normalized that in their mind. But after now Firefox for example implicitly lawfully claims all the google docs you edit as their IP, that should be a bridge too far for anyone using it even slightly professionally. God help if you also use it as a person that Mozilla considers you their political blood enemy (which isn&#x27;t exactly hard nowadays). Not exactly the Firefox 1.0 release I still remember. Not even as benign as its worst enemy it was built to be against at the time. Truly Dark Knight -esque.
评论 #43218860 未加载