DEV Community

Cover image for Introducing TuneIn-CLI: A Command-Line Interface to Browse and Listen to Thousands of Radio Stations Globally
Tsiry Sandratraina
Tsiry Sandratraina

Posted on

Introducing TuneIn-CLI: A Command-Line Interface to Browse and Listen to Thousands of Radio Stations Globally

Are you a fan of radio stations, and looking for a way to listen to them from your terminal? Then you'll love TuneIn-CLI, an open-source project that allows you to browse and play thousands of radio stations worldwide without leaving your terminal.

In this blog post, we will introduce TuneIn-CLI, its installation process, usage, and features. TuneIn-CLI is a lightweight and easy-to-use command-line tool developed using Rust, an efficient and modern programming language. It uses TuneIn's public APIs to browse and fetch radio stations data from all around the world.

Installation

TuneIn-CLI is available for macOS and Linux platforms. You can download and install the latest version from the official GitHub repository or via Homebrew on macOS/Linux.

brew install tsirysndr/tap/tunein
Enter fullscreen mode Exit fullscreen mode

Usage

TuneIn-CLI offers four subcommands: browse, play, search, and help. You can browse all available radio stations with the browse command, play a specific radio station with the play command, search for a station with the search command, and get help with the help command.

For example, to search for a radio station, you can run:

tunein search "BBC Radio 1"
Enter fullscreen mode Exit fullscreen mode

And the CLI will display a list of available radio stations with their unique IDs.

To play a specific station, you can use the play command with the station name or ID:

tunein play "alternativeradio.us"
Enter fullscreen mode Exit fullscreen mode

Features

TuneIn-CLI offers several features that make it a unique and powerful tool for radio lovers. Some of these features include:

  • Global Coverage: TuneIn-CLI supports thousands of radio stations worldwide, making it easy to discover and listen to new stations from different countries and regions.

  • Search: You can search for radio stations by name, genre, language, location, and other criteria to find stations that match your interests.

  • Play: TuneIn-CLI allows you to play radio stations.

  • Easy Navigation: You can browse radio stations by genre, language, location, and popularity to quickly find stations that match your interests.

  • Open-Source: TuneIn-CLI is an open-source project, which means that anyone can contribute to its development, report issues, or suggest new features.

Conclusion

TuneIn-CLI is a powerful and user-friendly command-line tool that allows you to browse and listen to thousands of radio stations worldwide without leaving your terminal. With its intuitive interface, powerful search capabilities, and global coverage, TuneIn-CLI is an excellent tool for radio enthusiasts and anyone looking for a unique and exciting way to discover new radio stations.

If you're interested in exploring thousands of radio stations across the globe right from your terminal, be sure to check out 'tunein-cli' on GitHub. The project is open-source, and we welcome contributions from developers like you. You can find the project repository here: https://github.com/tsirysndr/tunein-cli

Top comments (1)

Collapse
 
lynxgsm profile image
AILI Fida Aliotti Christino

Looked for this one! Thanks 🙏