Skip to content

plan44/localSites

Repository files navigation

LocalSites - local bonjour websites menu

About

With Safari 11, Apple removed Bonjour bookmarks without warning (at least without warning in a way I heard, no idea if they announced it somewhere).

As I am developing networked devices that all announce their Web-UI via Bonjour (in fact, avahi, those devices are LEDE based Linux thingies), Bonjour bookmarks were an essential part of my workflow, to quickly access units by name in my ever changing zoo of devices.

So I took the opportunity to create my very first app in Swift. Fortunately, I could follow a really very great tutorial for writing a status bar app in Swift that explained all the non-obvious details precisely. Of course, I had to add my own bonjour code instead of the weather service code, but that was all.

The result is LocalSites, a small status bar app which simply lists all _http._tcp type services in the local domain, and opens them in the default a browser of you choice (modifier keys, see About... box) when selected.

In 2019, I also added an iOS target to the project, providing the same functionality (only Safari..) on iPhones and iPads

History

  • 1.0 first version
  • 1.1 added options to choose different browsers by holding down modifier keys (option, ctrl, shift) before opening the menu. With no modifier keys, sites still open in the system's default browser.
  • 1.2 made run on 10.11 El Capitan (just set 10.11 as deployment target in XCode project), added preference to show a monochrome menu icon instead of the blue one.
  • 1.0 for iOS provides the same functionality on iOS - just lists all local bonjour websites and allows opening them with iOS Safari

License

The LocalSites app source code is MIT licensed.

About

Simple Menu Bar (Status Bar) App for mac OS and simple table app for iOS listing local Bonjour websites (as Safari 11 no longer has Bonjour Bookmarks)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages