spotube
🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
Top Related Projects
Spotify for the terminal written in Rust 🚀
Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
A spotify daemon
Open Source Spotify client library
Quick Overview
Spotube is an open-source Spotify client that allows users to stream music without premium subscriptions. It uses the Spotify API for metadata and YouTube for audio sources, providing a free alternative to the official Spotify app with additional features and customization options.
Pros
- Free streaming without ads or premium subscription
- Cross-platform support (Windows, macOS, Linux, Android)
- Customizable interface with themes and layouts
- Offline playback and playlist syncing capabilities
Cons
- Potential legal concerns due to using YouTube as an audio source
- May not have all features available in the official Spotify app
- Requires manual installation and updates
- Possible audio quality differences compared to official Spotify streams
Getting Started
To get started with Spotube:
- Visit the Spotube GitHub releases page
- Download the appropriate version for your operating system
- Install the application following the platform-specific instructions
- Launch Spotube and log in with your Spotify account
- Start exploring and playing music
Note: For Android users, you may need to enable installation from unknown sources in your device settings before installing the APK file.
Competitor Comparisons
Spotify for the terminal written in Rust 🚀
Pros of spotify-tui
- Terminal-based interface, ideal for users who prefer command-line tools
- Lightweight and efficient, consuming minimal system resources
- Extensive keyboard shortcuts for quick navigation and control
Cons of spotify-tui
- Limited to terminal environments, lacking a graphical user interface
- Requires Spotify Premium account for full functionality
- May have a steeper learning curve for users unfamiliar with CLI applications
Code Comparison
spotify-tui (Rust):
let spotify = Spotify::default()
.client_credentials_manager(client_credentials_manager)
.build();
Spotube (Dart):
final spotify = SpotifyApi(
SpotifyApiCredentials(clientId, clientSecret),
);
Key Differences
- Spotube is a cross-platform GUI application, while spotify-tui is a terminal-based interface
- Spotube offers a more user-friendly experience for those accustomed to traditional music players
- spotify-tui provides a more minimalist and resource-efficient approach
- Spotube includes additional features like lyrics display and audio caching
- spotify-tui integrates more tightly with the native Spotify client for playback
Both projects aim to enhance the Spotify experience, with spotify-tui focusing on terminal users and Spotube offering a full-fledged alternative client with extended functionality.
Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
Pros of ncspot
- Written in Rust, offering better performance and memory safety
- Terminal-based interface, ideal for users who prefer command-line applications
- Lightweight and resource-efficient, suitable for low-powered devices
Cons of ncspot
- Limited cross-platform support compared to Spotube's Flutter-based approach
- Less visually appealing interface for users accustomed to graphical applications
- Steeper learning curve for users not familiar with terminal-based applications
Code Comparison
ncspot (Rust):
pub fn play(&mut self, track_id: &str) -> Result<(), Box<dyn Error>> {
self.player.load(track_id, true, 0)?;
self.player.play()?;
Ok(())
}
Spotube (Dart):
Future<void> play(String trackId) async {
await player.load(trackId);
await player.play();
}
Both projects aim to provide alternative Spotify clients, but they cater to different user preferences. ncspot focuses on terminal users and performance, while Spotube offers a more traditional graphical interface with cross-platform compatibility. The code comparison shows similar functionality implemented in their respective languages, with ncspot using Rust's error handling and Spotube utilizing Dart's async/await pattern.
A spotify daemon
Pros of Spotifyd
- Lightweight and resource-efficient, running as a daemon
- Supports remote control via official Spotify apps
- Cross-platform compatibility (Linux, macOS, Windows)
Cons of Spotifyd
- Limited user interface, primarily controlled through other Spotify clients
- Requires a Spotify Premium account for full functionality
- Less feature-rich compared to Spotube's all-in-one solution
Code Comparison
Spotifyd (Rust):
let (mut stream, creds) = Session::connect(config, credentials, cache, true)?;
let (tx, rx) = mpsc::channel();
let player = Player::new(config.backend, config.volume, move || rx.recv().unwrap());
Spotube (Dart):
final player = AudioPlayer();
await player.setAudioSource(
AudioSource.uri(Uri.parse(trackUrl)),
initialPosition: Duration.zero,
);
await player.play();
Key Differences
- Spotifyd is a backend-focused solution, while Spotube provides a complete frontend and backend package
- Spotube offers a graphical user interface, making it more accessible for average users
- Spotifyd integrates directly with official Spotify apps, whereas Spotube operates more independently
- Spotube includes additional features like lyrics display and audio normalization
Both projects aim to provide alternative Spotify clients, but they cater to different use cases and user preferences.
Open Source Spotify client library
Pros of librespot
- Written in Rust, offering better performance and memory safety
- Focuses on core Spotify protocol implementation, providing a solid foundation for other projects
- More actively maintained with frequent updates and contributions
Cons of librespot
- Lacks a user interface, requiring additional development for a complete application
- More complex to set up and use for end-users
- Limited features beyond core Spotify functionality
Code Comparison
librespot (Rust):
let session = Session::connect(config, credentials).await?;
let (mut player, _) = Player::new(config, session.clone(), None, move || {});
player.load(track_id, true, 0).await?;
player.play().await?;
Spotube (Dart):
final player = SpotifyPlayer();
await player.play(trackUri);
await player.pause();
await player.resume();
Summary
librespot is a low-level Spotify client library written in Rust, focusing on core protocol implementation. It offers better performance and serves as a foundation for other projects. However, it lacks a user interface and requires more setup.
Spotube is a full-fledged Spotify client application built with Flutter and Dart. It provides a user-friendly interface and is easier to use for end-users. However, it may not offer the same level of performance as librespot and has a different scope in terms of functionality.
Both projects have their strengths and are suitable for different use cases, depending on whether you need a low-level library or a complete application.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
An open source, cross-platform Spotify client compatible across multiple platforms
utilizing Spotify's data API and YouTube, Piped.video or JioSaavn as an audio source,
eliminating the need for Spotify Premium
Btw it's not just another Electron app ð
ð Features
- ð« No ads, thanks to the use of public & free Spotify and YT Music APIs¹
- â¬ï¸ Freely downloadable tracks
- ð¥ï¸ ð± Cross-platform support
- 𪶠Small size & less data usage
- ðµï¸ Anonymous/guest login
- ð Time synced lyrics
- â No telemetry, diagnostics or user data collection
- ð Native performance
- ð Open source/libre software
- ð Playback control is done locally, not on the server
¹ It is still recommended to support creators by engaging with their YouTube channels/Spotify tracks (or preferably by buying their merch/concert tickets/physical media).
â Unsupported features
- ð£ï¸ Spotify Shows & Podcasts: Shows and Podcasts will never be supported because the audio tracks are only available on Spotify and accessing them would require Spotify Premium.
- ð§ Spotify Listen Along: Coming soon!
ð â¬ï¸ Installation guide
New versions usually release every 3-4 months.
This handy table lists all the methods you can use to install Spotube:
Platform | Package/Installation Method |
---|---|
Windows | |
MacOS | |
Android |
|
Flatpak |
|
AppImage | AppImage's lacking stability led to it's temporal removal. More information at https://github.com/KRTirtho/spotube/issues/1082 |
Debian/Ubuntu |
Then run: |
Arch/Manjaro |
With pamac: With yay: |
Fedora/OpenSuse |
For Fedora: For OpenSuse: |
Linux (tarball) | |
Macos - Homebrew |
brew tap krtirtho/apps
brew install --cask spotube
|
Windows - Chocolatey |
|
Windows - Scoop |
|
Windows - WinGet |
|
ð Nightly Builds
Grab the latest nightly builds of Spotube from the GitHub Releases.
ð³ï¸ Building from source
You can compile Spotube's source code by following these instructions.
ð¥ The Spotube team
- Kingkor Roy Tirtho - The Founder, Maintainer and Lead Developer
- RaptaG - The GitHub Moderator and Community Manager
- Owen Connor - The Cool Discord Moderator
- Meenbeese - The Android Developer
- Piotr Rogowski - The MacOS Developer
- Rusty Apple - The Mysterious Unknown Guy
ð¼ License
Spotube is open source and licensed under the BSD-4-Clause License.
If you are concerned, you can read the reason of choosing this license.
[Click to show]
ð Services/Package/Plugin Credits
[Click to show]
ð Services/Package/Plugin CreditsServices
- Flutter - Flutter transforms the app development process. Build, test, and deploy beautiful mobile, web, desktop, and embedded apps from a single codebase
- Spotify API - The Spotify Web API is a RESTful API that provides access to Spotify data
- Piped - Piped is a privacy friendly alternative YouTube frontend, which is efficient and scalable by design.
- YouTube - YouTube is an American online video-sharing platform headquartered in San Bruno, California. Three former PayPal employeesâChad Hurley, Steve Chen, and Jawed Karimâcreated the service in February 2005
- JioSaavn - JioSaavn is an Indian online music streaming service and a digital distributor of Bollywood, English and other regional Indian music across the world. Since it was founded in 2007 as Saavn, the company has acquired rights to over 5 crore (50 million) music tracks in 15 languages
- SongLink - SongLink is a free smart link service that helps you share music with your audience. It's a one-stop-shop for creating smart links for music, podcasts, and other audio content
- LRCLib - A public synced lyric API
- Linux - Linux is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged in a Linux distribution
- AUR - AUR stands for Arch User Repository. It is a community-driven repository for Arch-based Linux distributions users
- Flatpak - Flatpak is a utility for software deployment and package management for Linux
- SponsorBlock - SponsorBlock is an open-source crowdsourced browser extension and open API for skipping sponsor segments in YouTube videos.
- Inno Setup - Inno Setup is a free installer for Windows programs by Jordan Russell and Martijn Laan
- F-Droid - F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device
- LastFM - Last.fm is a music streaming and discovery platform that helps users discover and share new music. It tracks users' music listening habits across many devices and platforms.
Dependencies
- app_links - Android App Links, Deep Links, iOs Universal Links and Custom URL schemes handler for Flutter (desktop included).
- args - Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options.
- async - Utility functions and classes related to the 'dart:async' library.
- audio_service_mpris - audio_service platform interface supporting Media Player Remote Interfacing Specification.
- audio_service - Flutter plugin to play audio in the background while the screen is off.
- audio_session - Sets the iOS audio session category and Android audio attributes for your app, and manages your app's audio focus, mixing and ducking behaviour.
- auto_size_text - Flutter widget that automatically resizes text to fit perfectly within its bounds.
- bonsoir - A Zeroconf library that allows you to discover network services and to broadcast your own. Based on Apple Bonjour and Android NSD.
- build_runner - A build system for Dart code generation and modular compilation.
- buttons_tabbar - A Flutter package that implements a TabBar where each label is a toggle button.
- cached_network_image - Flutter library to load and cache network images. Can also be used with placeholder and error widgets.
- catcher_2 - Plugin for error catching which provides multiple handlers for dealing with errors when they are not caught by the developer.
- collection - Collections and utilities functions and classes related to collections.
- crypto - Implementations of SHA, MD5, and HMAC cryptographic functions.
- curved_navigation_bar - Stunning Animating Curved Shape Navigation Bar. Adjustable color, background color, animation curve, animation duration.
- custom_lint - Lint rules are a powerful way to improve the maintainability of a project. Custom Lint allows package authors and developers to easily write custom lint rules.
- dart_discord_rpc - Discord Rich Presence for Flutter & Dart apps & games.
- dbus - A native Dart implementation of the D-Bus message bus client. This package allows Dart applications to directly access services on the Linux desktop.
- device_info_plus - Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on.
- dio - A powerful HTTP networking package,supports Interceptors,Aborting and canceling a request,Custom adapters, Transformers, etc.
- disable_battery_optimization - Flutter plugin to check and disable battery optimizations. Also shows custom steps to disable the optimizations in devices like mi, xiaomi, samsung, oppo, huawei, oneplus etc
- draggable_scrollbar - A scrollbar that can be dragged for quickly navigation through a vertical list. Additional option is showing label next to scrollthumb with information about current item.
- duration - Utilities to make working with 'Duration's easier. Formats duration in human readable form and also parses duration in human readable form to Dart's Duration.
- envied_generator - Generator for the Envied package. See https://pub.dev/packages/envied.
- envied - Explicitly reads environment variables into a dart file from a .env file for more security and faster start up times.
- file_picker - A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extension filtering support.
- file_selector - Flutter plugin for opening and saving files, or selecting directories, using native file selection UI.
- fluentui_system_icons - Fluent UI System Icons are a collection of familiar, friendly and modern icons from Microsoft.
- flutter_broadcasts - A plugin for sending and receiving broadcasts with Android intents and iOS notifications.
- flutter_cache_manager - Generic cache manager for flutter. Saves web files on the storages of the device and saves the cache info using sqflite.
- flutter_displaymode - A Flutter plugin to set display mode (resolution, refresh rate) on Android platform. Allows to enable high refresh rate on supported devices.
- flutter_feather_icons - Feather is a collection of simply beautiful open source icons. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency and usability.
- flutter_gen_runner - The Flutter code generator for your assets, fonts, colors, ⦠â Get rid of all String-based APIs.
- flutter_hooks - A flutter implementation of React hooks. It adds a new kind of widget with enhanced code reuse.
- flutter_inappwebview - A Flutter plugin that allows you to add an inline webview, to use an headless webview, and to open an in-app browser window.
- flutter_launcher_icons - A package which simplifies the task of updating your Flutter app's launcher icon.
- flutter_lints - Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.
- flutter_native_splash - Customize Flutter's default white native splash screen with background color and splash image. Supports dark mode, full screen, and more.
- flutter_riverpod - A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
- flutter_secure_storage - Flutter Secure Storage provides API to store data in secure storage. Keychain is used in iOS, KeyStore based solution is used in Android.
- flutter_sharing_intent - A flutter plugin that allow flutter apps to receive photos, videos, text, urls or any other file types from another app.
- flutter_svg - An SVG rendering and widget library for Flutter, which allows painting and displaying Scalable Vector Graphics 1.1 files.
- form_validator - Simplest form validation library for flutter's form field widgets
- freezed_annotation - Annotations for the freezed code-generator. This package does nothing without freezed too.
- freezed - Code generation for immutable classes that has a simple syntax/API without compromising on the features.
- fuzzywuzzy - An implementation of the popular fuzzywuzzy package in Dart, to suit all your fuzzy string matching/searching needs!
- gap - Flutter widgets for easily adding gaps inside Flex widgets such as Columns and Rows or scrolling views.
- go_router - A declarative router for Flutter based on Navigation 2 supporting deep linking, data-driven routes and more
- google_fonts - A Flutter package to use fonts from fonts.google.com. Supports HTTP fetching, caching, and asset bundling.
- hive_flutter - Extension for Hive. Makes it easier to use Hive in Flutter apps.
- hive_generator - Extension for Hive. Automatically generates TypeAdapters to store any class.
- hive - Lightweight and blazing fast key-value database written in pure Dart. Strongly encrypted using AES-256.
- hooks_riverpod - A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
- html_unescape - A small library for un-escaping HTML. Supports all Named Character References, Decimal Character References and Hexadecimal Character References.
- html - APIs for parsing and manipulating HTML content outside the browser.
- http - A composable, multi-platform, Future-based API for HTTP requests.
- image_picker - Flutter plugin for selecting images from the Android and iOS image library, and taking new pictures with the camera.
- intl - Contains code to deal with internationalized/localized messages, date and number formatting and parsing, bi-directional text, and other internationalization issues.
- introduction_screen - Introduction/Onboarding package for flutter app with some customizations possibilities
- io - Utilities for the Dart VM Runtime including support for ANSI colors, file copying, and standard exit code values.
- jiosaavn - Unofficial API client for jiosaavn.com
- json_annotation - Classes and helper functions that support JSON code generation via the
json_serializable
package. - json_serializable - Automatically generate code for converting to and from JSON by annotating Dart classes.
- local_notifier - This plugin allows Flutter desktop apps to displaying local notifications.
- logger - Small, easy to use and extensible logger which prints beautiful logs.
- lrc - A Dart-only package that creates, parses, and handles LRC, which is a format that stores song lyrics.
- media_kit_libs_audio - package:media_kit audio (only) playback native libraries for all platforms.
- media_kit - A cross-platform video player & audio player for Flutter & Dart. Performant, stable, feature-proof & modular.
- metadata_god - Plugin for retrieving and writing audio tags/metadata from audio files
- mime - Utilities for handling media (MIME) types, including determining a type from a file extension and file contents.
- package_info_plus - Flutter plugin for querying information about the application package, such as CFBundleVersion on iOS or versionCode on Android.
- palette_generator - Flutter package for generating palette colors from a source image.
- path_provider - Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories.
- path - A string-based path manipulation library. All of the path operations you know and love, with solid support for Windows, POSIX (Linux and Mac OS X), and the web.
- permission_handler - Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.
- piped_client - API Client for piped.video
- popover - A popover is a transient view that appears above other content onscreen when you tap a control or in an area.
- process_run - Process run helpers for Linux/Win/Mac and which like feature for finding executables.
- pub_api_client - An API Client for Pub to interact with public package information.
- pubspec_parse - Simple package for parsing pubspec.yaml files with a type-safe API and rich error reporting.
- riverpod_lint - Riverpod_lint is a developer tool for users of Riverpod, designed to help stop common issues and simplify repetitive tasks.
- scrobblenaut - A deadly simple LastFM API Wrapper for Dart. So deadly simple that it's gonna hit the mark.
- scroll_to_index - Scroll to a specific child of any scrollable widget in Flutter
- shared_preferences - Flutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.
- shelf_router - A convenient request router for the shelf web-framework, with support for URL-parameters, nested routers and routers generated from source annotations.
- shelf_web_socket - A shelf handler that wires up a listener for every connection.
- shelf - A model for web server middleware that encourages composition and easy reuse.
- sidebarx - flutter multiplatform navigation sidebar / side navigationbar / drawer widget
- simple_icons - The Simple Icon pack available as Flutter Icons. Provides over 1500 Free SVG icons for popular brands.
- skeleton_text - A package that provides an easy way to add skeleton text loading animation in Flutter project. This project is a part of 101Loop community.
- skeletonizer - Converts already built widgets into skeleton loaders with no extra effort.
- sliver_tools - A set of useful sliver tools that are missing from the flutter framework
- smtc_windows - Windows
SystemMediaTransportControls
implementation for Flutter giving access to Windows OS Media Control applet. - spotify - An incomplete dart library for interfacing with the Spotify Web API.
- stroke_text - A Simple Flutter plugin for applying stroke (border) style to a text widget
- system_theme - A plugin to get the current system theme info. Supports Android, Web, Windows, Linux and macOS
- timezone - Time zone database and time zone aware DateTime.
- titlebar_buttons - A package which provides most of the titlebar buttons from windows, linux and macos.
- tray_manager - This plugin allows Flutter desktop apps to defines system tray.
- url_launcher - Flutter plugin for launching a URL. Supports web, phone, SMS, and email schemes.
- uuid - RFC4122 (v1, v4, v5, v6, v7, v8) UUID Generator and Parser for Dart
- version - Provides a simple class for parsing and comparing semantic versions as defined by http://semver.org/
- very_good_infinite_list - A library for easily displaying paginated data, created by Very Good Ventures. Great for activity feeds, news feeds, and more.
- visibility_detector - A widget that detects the visibility of its child and notifies a callback.
- web_socket_channel - StreamChannel wrappers for WebSockets. Provides a cross-platform WebSocketChannel API, a cross-platform implementation of that API that communicates over an underlying StreamChannel.
- wikipedia_api - Wikipedia API for dart and flutter
- win32_registry - A package that provides a friendly Dart API for accessing the Windows Registry.
- window_manager - This plugin allows Flutter desktop apps to resizing and repositioning the window.
- xml - A lightweight library for parsing, traversing, querying, transforming and building XML documents.
- youtube_explode_dart - A port in dart of the youtube explode library. Supports several API functions without the need of Youtube API Key.
© Copyright Spotube 2024
Top Related Projects
Spotify for the terminal written in Rust 🚀
Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
A spotify daemon
Open Source Spotify client library
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot