🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
Go to file
Kingkor Roy Tirtho 96629f6a83 User Library added
Liked Song Playlist support
Screenshot changed
2022-01-05 00:26:40 +06:00
.vscode Windows initial 2021-03-21 22:15:12 -07:00
android Flutter app added 2022-01-03 10:27:25 +06:00
assets User Library added 2022-01-05 00:26:40 +06:00
aur-struct aur-struct created 2021-05-25 22:49:23 +06:00
deb-struct/DEBIAN bumped version to 0.0.3 2021-05-08 11:02:00 +06:00
deploy automated mpv installation in windows & Player bug of playlist/track caching fixed 2021-05-04 18:07:38 -07:00
ios Flutter app added 2022-01-03 10:27:25 +06:00
lib User Library added 2022-01-05 00:26:40 +06:00
linux Flutter app added 2022-01-03 10:27:25 +06:00
scripts Created windows build script 2021-03-23 16:56:57 -07:00
test Flutter app added 2022-01-03 10:27:25 +06:00
web Flutter app added 2022-01-03 10:27:25 +06:00
.gitignore Flutter app added 2022-01-03 10:27:25 +06:00
.metadata Flutter app added 2022-01-03 10:27:25 +06:00
analysis_options.yaml Flutter app added 2022-01-03 10:27:25 +06:00
control bumped version to 0.0.3 2021-05-08 11:02:00 +06:00
deb-config.json Windows initial 2021-03-21 22:15:12 -07:00
playlist.txt Flutter app added 2022-01-03 10:27:25 +06:00
pubspec.lock Logo & banner change 2022-01-04 11:43:25 +06:00
pubspec.yaml Working Sidebar added 2022-01-04 22:45:26 +06:00
README.md User Library added 2022-01-05 00:26:40 +06:00

Spotube

Spotube is a Flutter based lightweight spotify client. It utilizes the power of Spotify & Youtube's public API & creates a hazardless, performant & resource friendly User Experience Application Screenshot

Features

Following are the features that currently spotube offers:

  • Open Source
  • No telementry, diagnostics or user data collection
  • Lightweight & resource friendly
  • Near native performance (Thanks to Flutter+Skia)
  • Playback control is on user's machine instead of server based
  • Small size & less data hungry
  • No spotify or youtube ads since it uses all public & free APIs (But it's recommended to support the creators by watching/liking/subscribing to the artists youtube channel or add as favourite track in spotify. Mostly buying spotify premium is the best way to support their valuable creations)
  • Lyrics (WIP)
  • Downloadable track

Requirements (Linux🐧 only)

Don't worry spotify premium isn't required😱. But some extra packages are required.

  • MPV player for playing the actual audio
  • youtube-dl for streaming the audio from youtube. It already comes pre bundled with mpv

Important for Ubuntu/Debian: If you're using any ubuntu/debian based linux distro then youtube-dl installed from the typical apt-get repositories will most likely not work as that version is older than current release. So remove it & install from the repository manually

Remove the youtube-dl installed with mpv player or from apt package manger

$ sudo apt-get remove youtube-dl

Now, Install youtube-dl from

Installation

I'm always releasing newer versions of binary of the software each 2-3 month with minor changes & each 6-8 month with major changes. Grab the binaries

All the binaries are located in the releases, just download

Windows

Extract the Spotube-winx64-v<version>.zip & double click on install.bat & follow along the installer

Linux

  • Ubuntu/Debian Make sure you've fulfilled all the requirements
    sudo apt install spotube_linux-x86_64-v<version>.deb
    or
    sudo dpkg -i spotube_linux-x86_64-v<version>.deb
    
  • Others: Navigate to the downloaded Spotube_linux-x86_64-v<version>.AppImage file & double click to run it

I'll/try to upload the package binaries to linux debian/arch/ubuntu/snap/flatpack/redhat/chocolatey stores or software centers or repositories

Configuration

There are some configurations that needs to be done to start using this software

You need a spotify account & a web app for

  • clientId
  • clientSecret

Grab credentials:

  • Go to https://developer.spotify.com/dashboard/login & login with your spotify account (Skip if you're logged in) Step 1

  • Create an web app for Spotify Public API step 2

  • Give the app a name & description. Then Edit settings & add http://localhost:4304/auth/spotify/callback as Redirect URI for the app. Its important for authenticating setp-3

  • Click on SHOW CLIENT SECRET to reveal the clientSecret. Then copy the clientID, clientSecret & paste in the Spotube's respective fields step-4

Note!: No personal data or any kind of sensitive information won't be collected from spotify. Don't believe? See the code for yourself

Building from source

nodegui/react-nodegui requires following packages to run

  • CMake 3.1 & up
  • GCC v7
  • Nodejs 12.x & up

Windows Specific:

  • Visual Studio 2019

MacOS & Linux specific:

  • Make

Ubuntu/Debian based linux specific: Having pkg-config build-essential mesa-common-dev libglu1-mesa-dev is important

$ sudo apt-get install pkg-config build-essential mesa-common-dev libglu1-mesa-dev

After having this dependencies set up run following commands:

$ git clone https://github.com/KRTirtho/spotube.git
$ cd spotube
$ npm install

Now start building:

$ npm run build
$ npm run pack

Go to built package directory replace os-name with linux|win32|darwin:

$ cd deploy/<os-name>/build/spotube

If everything went smoothly then double clicking on the

  • AppRun or Spotube-x86_64.AppImage for linux
  • qode.exe for Windows
  • Spotube-x86_64.dmg for MacOS

should work just fine without any problem

Development

Follow the Build from Source guideline till npm install Now, to start the dev server run the command in one terminal:

$ npm run dev

To start the application in development environment run following command in another terminal keeping the dev server running:

$ npm start

Known Issues

There will be some glitches, lags & stuck motions because of the library Spotube is currently using under the hood. It has some issues with layouts thus sometimes some contents aren't shown or overflows out of the window. But resizing the window would fix this issue. Soon there will be some updates fixing this sort of layout related problems

TODO:

  • Compile, Debug & Build for MacOS
  • Add support for show Lyric of currently playing track
  • Track download
  • Cached playback
  • Support for playing/streaming podcasts/shows
  • Easy installation procedure/mechanism for simplicity in Windows
  • Artist, User & Album pages

Things that don't work

  • Shows & Podcasts aren't supported as it'd require premium anyway
  • Beautiful UI (you missed it, see the title😂👆)
  • OS Media Controls

Social handlers

Follow me on Twitter for newer updates about this application