derek smart-gordon
Chapter Five

Switcheroo: a tiny hosts-file editor for macOS

For years I used Gas Mask to manage my hosts files. It worked for me. It is also, at this point, abandoned and increasingly cranky on Apple Silicon.

So I built Switcheroo. It’s a tiny SwiftUI menu-bar app. You click the icon, you edit the file, you hit save, it flushes DNS for you. That’s the whole thing.

It has one setting: a post-save hook for a custom command. I use it to auto-refresh the Automattic Proxy so it picks up hosts changes without having to do it manually every time.

Discover more from derek smart-gordon

Subscribe now to keep reading and get access to the full archive.

Continue reading