Show HN: Firefox from Ramdisk (macOS Only)

4 finchisko 2 5/31/2025, 2:55:02 PM github.com ↗
I hacked this app for my needs in one single before noon in Swift. ChatGPT and Grok turned out to be super helpful.

It solves the problem, where Firefox writes excessive amounts of data. Even if you disable disk cache. It still stores lot of data. cookies, session storage data...

You might wonder why I made this as an app instead of using Automator or a bash script.

The main advantage of an app is that it displays splash screen with progress, while the RAM disk is being created. With a script based approach, you typically just have to wait a few seconds while the profiles sync in the background before Firefox finally launches. Automator scripts also tend to display an unsightly spinning cogwheel in menu bar, which isn't ideal.

It's MIT licensed and source code is provided.

https://github.com/mauron85/Firefox-Ramdisk

Comments (2)

ndegruchy · 2d ago
Neat, this looks a lot like the Linux-focused Profile Sync Daemon[1], which can move your profile to a RAM-backed tmpfs. PSD does more browsers, though. I wonder if PSD could work on macOS, too.

[1]: https://github.com/graysky2/profile-sync-daemon

finchisko · 2d ago
The reason I created this was because I missed the profile sync daemons commonly found in Linux. I haven’t looked into this specific one, but most available solutions are Linux-only.