The Tiny Radio App for Coding, Trading, and Relaxation
A good workspace is about more than the tools on your screen. The sounds around you can also shape how a working session feels. Sometimes you want a quiet background while debugging a stubborn problem. At other times, an energetic electronic soundtrack feels like the right companion for a long stretch of chart analysis or development work.

Radio Menu is a small, open-source macOS app built for those moments. It puts internet radio in the Mac menu bar, giving you quick access to a selection of stations without keeping a browser tab or a full-sized music player open.
The idea is straightforward: click the menu bar icon, choose a station, and get back to what you were doing. You can adjust the volume, add your own streams, change the interface language, and decide whether the icon should animate while a station is playing.
For developers and traders who spend hours in front of a screen, Radio Menu offers a simple way to create a more enjoyable audio environment. Its source code also provides a useful starting point for anyone interested in building a native Mac menu bar application with Swift, SwiftUI, AppKit, and AVFoundation.
The project is available on GitHub under the GNU General Public License version 3:
Explore the Radio Menu source code on GitHub
What Is Radio Menu?
Radio Menu is a native macOS internet radio player that lives in the menu bar. Instead of opening a conventional application window, you interact with it through a compact panel at the top of the screen.
The app is designed around a few everyday actions:
- Select an internet radio station.
- Stop playback when you need silence.
- Adjust the volume.
- Add a station using a direct stream URL.
- Remove stations you no longer want.
- Change language and playback preferences.
A right-click on the menu bar icon opens a menu with access to Settings and Quit. The settings window includes language selection, an animated icon option, and an option to resume the last station when the app starts.

Radio Menu does not try to be a complete music library, a podcast manager, or a recommendation engine. It is a focused utility for people who already know the kind of sound they want and would like to reach it quickly.
That simplicity makes it particularly well suited to a development or trading desktop, where screen space and attention are often already divided among several applications.
Why Listen to Internet Radio While Coding?
Coding sessions have their own rhythm. A developer might spend twenty minutes reading documentation, an hour implementing a feature, and another hour investigating a bug that seemed trivial at first.
Music can make that time more pleasant. For some people, a calm ambient stream provides a consistent background that helps separate work time from the noise of the surrounding environment. Others prefer house, techno, instrumental music, or a more powerful soundtrack when they need a sense of momentum.
The right choice depends on the person and the task. A track with prominent vocals might be enjoyable during routine maintenance but distracting when reading unfamiliar code. A repetitive electronic mix might work well for one developer and become irritating for another. Silence can also be the best option.
Internet radio adds an element of discovery without requiring you to build a playlist. You choose a station that fits your mood, and the programming continues while you work.
Radio Menu makes switching between those moods relatively unobtrusive. You can move from a mellow chillout station to a more energetic electronic channel from the menu bar, without navigating through a browser full of tabs.
Imagine a typical day:
You start with a relaxed station while reviewing pull requests and answering messages. Later, as you work through a larger implementation, you switch to a steady electronic stream. Before an important call or a complex debugging session, you stop playback entirely.
The app does not decide which soundtrack will make you more productive. It gives you a convenient way to choose one—or turn it off.
A Soundtrack for Trading and Market Analysis
A trading workstation can be just as demanding as a development environment. Depending on your approach, the screen may be filled with price charts, watchlists, news feeds, order panels, alerts, and notes.
Some sessions involve patient observation. Others require quick responses to changing conditions. For a trader, a pleasant soundtrack may help make long periods of preparation, journaling, or chart review feel less monotonous.
Chillout music can be a natural choice when you are reviewing a watchlist, studying historical price action, or writing down a trading plan. A more energetic electronic station might be enjoyable during routine research or when building and testing your market-analysis tools.
But it is worth separating the atmosphere of a session from the quality of a trading decision. Music does not improve a strategy by itself, predict market movements, or replace risk management. It can also distract you or make it harder to hear alerts.
If you use audio notifications from your trading platform, keep them audible and test your volume settings. During volatile market conditions or tasks that demand your full attention, lowering the radio or turning it off may be the better choice.
A useful setup is often a flexible one: relaxing music when it suits the work, something more energetic when you enjoy the change, and silence whenever you need it.

Three Internet Radio Stations Ready to Explore
Radio Menu comes with three preset stations chosen to give the app an immediate electronic and chillout identity.
Absolute Chillout
Absolute Chillout is the obvious place to start when you want a softer background. Its relaxed electronic and lounge-oriented sound can suit a quiet coding session, a reading session, or the slower work of preparing a market watchlist.
It is the sort of station you might select when you want music to accompany a task without dominating the room.
Sound Of Berlin
Sound Of Berlin brings a more club-oriented electronic atmosphere to the menu bar. If a steady electronic soundtrack suits your workflow, it can be an appealing choice for a longer development session or for working through a research backlog.
Techno Underground
Techno Underground offers a stronger techno-oriented alternative. It may be the right choice when you want a more intense soundtrack during repetitive tasks, infrastructure work, or a late-night coding session.
All three are third-party radio services. Their availability, stream addresses, programming, and geographic restrictions can change independently of Radio Menu. An internet connection is required, and a station may occasionally be unavailable even when the app itself is working correctly.
Adding Your Own Radio Stations
The preset stations are only a starting point. Radio Menu lets you add another station by entering a name and the direct address of its audio stream.
To add a station:
- Click the Radio Menu icon in the macOS menu bar.
- Select Add station.
- Enter a name for the station.
- Enter its direct HTTP or HTTPS stream URL.
- Save it and select it from the list.
The important phrase here is direct stream URL. A station’s website, a page containing an embedded player, or a Radio Garden page is not necessarily the address of the underlying audio stream.
For example, a link that opens a radio station’s homepage may be useful in a browser, but it may not be playable when pasted into Radio Menu. When a station offers an address for external players, that direct audio URL is the one to try.
The app validates that the address has an HTTP or HTTPS scheme and a host. That check helps catch an incorrectly formatted address, but it cannot guarantee that the server is online or that the stream format is compatible with the player.
Once added, stations are saved locally so they can appear again the next time you open the app. You can remove an entry from the list when you no longer need it.
Launch Radio Menu at Login
Radio Menu can start automatically when you log in to your Mac, so your favorite internet radio stations are ready whenever you begin a coding session, review the markets, or settle in to work.
To enable this feature, right-click the Radio Menu icon in the menu bar, open Settings, and turn on Launch Radio Menu at Login.
If macOS requires approval, the app will guide you to the Login Items settings. This option is separate from Play Last Station on Launch, so you can choose whether Radio Menu opens quietly or starts playing your last selected station.
A Menu Bar App Designed to Stay Out of the Way
The macOS menu bar is a natural home for small utilities. It keeps common controls close at hand without requiring a large window to remain open.
Radio Menu takes advantage of that space. A left-click opens the station panel. From there, you can select a station, stop playback, adjust the volume, or add another stream.
A right-click opens the app’s small contextual menu. This provides access to Settings and Quit, keeping configuration separate from the everyday playback controls.
The app also supports an animated menu bar icon. When animation is enabled, the icon can display a small equalizer-style animation during playback. If you prefer a quieter visual environment, you can disable the animation and keep the fixed radio icon instead.
The animation is a visual indicator; it is not an audio spectrum analyzer. Its bars do not measure the frequencies or loudness of the music being played.
That distinction matters when discussing a small utility like this one: the icon makes the interface more expressive, while the actual work of decoding and playing the stream remains with the system’s audio frameworks.
Language Settings for an International Audience
Radio Menu includes interface text in six languages:
- English
- Spanish
- German
- French
- Italian
- Simplified Chinese
You can select a language in Settings or let the app follow a supported language from the Mac’s preferred language list. If no supported language is found, the app falls back to English.
This makes the app usable for a wider audience while keeping its interface small. Station names and stream information are supplied separately and are not automatically translated.
The settings also include an option to play the last selected station when the app launches. It is optional: if you prefer to decide when playback begins, leave it disabled.
Both language and playback preferences are stored locally. Changing a preference does not require creating an account or signing in to a music service.
How Radio Menu Works: A Look at the Code
Radio Menu is also an opportunity to explore how a native macOS utility can be assembled from a small number of Apple frameworks.
The project uses:
- Swift as its programming language.
- SwiftUI for the station panel and settings interface.
- AppKit for the menu bar status item, popover, contextual menu, and settings window.
- AVFoundation for audio playback.
- UserDefaults for local preferences and the saved station list.
The code is available in the project’s GitHub repository. The main application source is intentionally compact, making it approachable for readers who want to understand the flow before adding features of their own.
Modeling a Radio Station
A station is represented by a small Swift structure containing an identifier, a display name, and a stream URL.
Conceptually, the model looks like this:
struct Station: Identifiable, Codable {
var id = UUID()
var name: String
var url: String
}The identifier helps the interface distinguish stations, even if two entries happen to have similar names. The Codable conformance allows the station list to be encoded and decoded for local storage.
This is a modest data model, but it is enough for the current application. A future version could extend it with fields such as a station website, genre, country, artwork, or a user-defined category.
Those would be additions to the current project, not features that the app already provides.
Managing Playback and App State
The central Radio object holds the app’s station list, playback state, volume, and preferences. It is an observable object, so SwiftUI views can respond when relevant values change.
When a user selects a station, the app creates an AVPlayerItem from the station URL and assigns it to an AVPlayer. The player is then asked to start playback.
The app observes the player item’s status to update the interface. It can show that it is connecting, indicate that a station is ready, or display an error when the item fails.
In simplified form, the playback setup follows this pattern:
let item = AVPlayerItem(url: url)
player = AVPlayer(playerItem: item)
player?.volume = Float(volume)
player?.play()The real implementation also handles the current station, status messages, and animation state. The short example illustrates the underlying idea: the app supplies the stream URL, while AVFoundation handles the player.
Because internet radio depends on external servers and network conditions, playback can fail for reasons beyond the app’s control. A server may be offline, a stream URL may change, or the audio format may not be supported.
Saving Stations and Preferences
Radio Menu uses UserDefaults to store local settings such as the selected language, volume, icon preference, and whether the last station should play at launch.
The station list is encoded as data and saved locally as well. When the app starts, it attempts to restore the saved list; on a fresh setup, it provides the preset stations.
The project also includes logic to add the newer preset stations once for users upgrading from an earlier version. This helps preserve stations a user has already added while introducing the newer defaults.
For a small personal utility, UserDefaults keeps persistence straightforward. A larger radio application might eventually benefit from a database or a more structured storage layer, especially if it introduced hundreds of stations, synchronization, artwork, or complex search.
Radio Menu currently focuses on a much smaller task, so its storage needs are correspondingly modest.
Building the Menu Bar Interface
The project uses AppKit to create a status item in the macOS menu bar. The status item responds to mouse actions and opens a popover for the main controls.
SwiftUI supplies the contents of that popover: the station list, playback controls, volume slider, and form for adding a stream. SwiftUI is also used for the settings window.
This combination is useful because each framework contributes something different. AppKit gives the application direct access to familiar macOS window and menu bar behavior. SwiftUI makes it convenient to describe the content of the interface and update it as the observable state changes.
The result is a native Mac utility with a compact interface and a relatively small codebase.
Animating the Menu Bar Icon
The animated icon is generated by drawing a set of bars at different heights. A timer advances through several predefined frames, creating the appearance of a moving equalizer.
When animation is disabled in Settings, the app uses the fixed radio icon. When playback is stopped, the animation timer is stopped as well.
This approach is deliberately simple. It provides a visual cue with little interface complexity, while avoiding any claim that the animation reflects the actual audio signal.
Open Source and the GPLv3 License
Radio Menu is published as open-source software under the GNU General Public License version 3.
The project credits Kalk as its author, with cialu.net as the reference website and github.com/cialu-net as the code profile.
The GPLv3 gives users permission to use, study, modify, and redistribute the software under the terms of the license. If someone distributes a modified version, the GPL’s conditions apply to that distribution as well. The repository contains the full license text.
For users, open source means the application’s implementation can be inspected. For developers, it means there is a foundation to experiment with: the menu bar behavior, the persistence model, the settings interface, or the playback logic.
The license applies to the application code. It does not grant ownership of the music, broadcasts, logos, or streams provided by third-party radio stations. Those remain subject to the rights and terms of their respective providers.
How to Build Radio Menu on a Mac
The repository includes a build script for creating the application from its source code.
You will need macOS 13 or later and Apple’s command line developer tools or Xcode. After downloading or cloning the repository, open Terminal in the project directory and run:
./build.shThe script builds the app for the architecture of the Mac running the command and places the resulting application in the build directory. You can then open it with:
open build/RadioMenu.appThe build script applies a local ad hoc signature. That is useful for a local build, but distributing a Mac application to other users can involve additional steps, including an appropriate Apple Developer ID signature and notarization.
The repository is the place to inspect the current build instructions and source. A prebuilt GitHub release is not required to explore or compile the project.
Ideas for Future Development
A small application can remain small while still leaving room for thoughtful improvements. Radio Menu already covers the basic listening workflow, but the open-source code makes it possible to explore future directions.
Potential improvements could include:
- A dedicated station editor for changing an existing name or URL.
- Categories or favorites for larger station collections.
- Import and export of station lists.
- Better support for playlist formats, where appropriate.
- More detailed playback errors and connection feedback.
- Optional track metadata when a station provides compatible information.
- Keyboard shortcuts for common playback actions.
- Accessibility and interface refinements.
- An application icon and a more polished release process.
These are ideas for contributors and future versions, not promises about the current release.
A particularly useful improvement would be clearer stream diagnostics. Internet radio is built on a variety of servers and formats, and a simple “unable to play” message does not always tell a user whether the problem is the address, the network, or the broadcaster.
Another worthwhile direction would be a station library that remains easy to understand as the number of entries grows. What works beautifully for three or four stations may need search, grouping, or favorites once a user adds dozens.
A Small Tool for a More Personal Workspace
Radio Menu begins with a simple idea: internet radio should be easy to reach while you are working on a Mac.
For a developer, that might mean a chillout stream while reading code, a powerful electronic soundtrack while working through a long implementation, or instant silence before a difficult debugging session. For a trader, it might mean calm background audio during research and journaling, with the option to stop the music when market conditions demand more attention.
The app’s value is not that it promises better decisions or effortless concentration. Its value is that it makes a small part of your environment easier to control.
At the same time, the project demonstrates how Swift, SwiftUI, AppKit, and AVFoundation can come together in a practical macOS menu bar utility. Its open-source license invites readers to inspect the implementation, learn from it, and build on it.
If you would like to try the app, examine the code, or contribute an improvement, visit the repository:
Or download the Radio Menu v1.0.5 executable from here.
Note that Google Chrome blocks some downloads, just choose to download anyway or build it from source.

Choose a station, set the volume, and make your next coding or market-analysis session sound the way you want it to.

