Square README

The project's README from github.com/Lelonio/Square. As one markdown file: README.md.

Square

An unofficial Android music client for Spotify Premium and YouTube Music, built in Liquid Glass.

Latest release Downloads Android 8.0 or later Licence

Download · Features · First launch · FAQ · Telegram community · Building

Player Lyrics Effects
The player Synced lyrics The effects panel
Artist Album Glass settings
An artist's page An album The glass settings

Features

Two sources, one app

Two Spotify players

Player

Audio effects

Lyrics

Library and discovery

Offline

Spotify extras

Android Auto

Look and language

Download

Get it on Orion Store

Or

Download the APK from the latest release and install it. Square needs Android 8.0 or later.

Square updates itself: it checks for new releases and installs them from the settings. It is not on the Play Store and cannot be; see the disclaimer.

The first minutes after installing are slower

Android takes a while to optimise a freshly installed app, and until it does the interface is noticeably slower. To do it straight away, open the app once and give it a few seconds, then run this with the phone connected:

adb shell cmd package compile -m speed-profile -f dev.lelonio.square

Run before the app has been opened, the command finds nothing to compile.

First launch

Square first asks where the music should come from. You can change it later in the settings.

FAQ

Square does not appear in Android Auto. Android Auto only lists apps installed from the Play Store. Turn on "Unknown sources" in Android Auto's developer settings and Square shows up.

Can I use a free Spotify account? No. A free account can sign in, but Spotify only streams to a client like this one with Premium. YouTube Music works with no account at all.

Soloist is not offered in the settings. Soloist runs only on 64-bit phones. Install the arm64-v8a or the universal APK; the armeabi-v7a one has no Soloist.

YouTube Music search works, but songs do not play. YouTube changes how its streams are served every so often. Update to the latest release, which is usually where the fix is.

Disclaimer

Square is not affiliated with, endorsed by or connected to Spotify or Google. Both sources are used on terms they do not offer: Square re-implements Spotify's protocol, which Spotify's Terms of Service forbid, and reads YouTube Music through the private endpoints its own web client uses. It cannot be published on the Play Store, and you use it at your own risk. There is no warranty of any kind; see the licence.

Help and feedback

The same two links are in the app, under Settings → About.

Support

Square is free and has no ads. If it is useful to you, you can support its development on Ko-fi.

Credits

Project Licence How it is used
librespot MIT The Spotify engine. librespot-core, librespot-playback and librespot-connect are vendored with local patches.
Spotify Web Playback SDK Spotify Developer Terms Playback for accounts Spotify refuses audio keys, through the listener's own developer app.
Metrolist GPL-3.0 Its InnerTube client, vendored as innertube/, because it is published nowhere else. Powers the signed-in YouTube Music library.
NewPipeExtractor GPL-3.0 Anonymous YouTube Music search and stream URLs.
lossless.wtf n/a Synced lyrics timed to the word, asked first on both sources.
LrcLib n/a Synced lyrics for the YouTube Music source, over its open API.
Spicy Lyrics AGPL-3.0 The lyrics animation, ported to Compose by @donutnotnut in #50.
Bungee MPL-2.0 Time stretching, fetched at build time.
liquid_glass_widgets MIT The iOS 27 glass material, its shaders translated from Flutter, built on Tim Lehmann's liquid_glass_renderer.
AndroidLiquidGlass Apache-2.0 The glass material; the catalog components are copied with their notice.
Phosphor Icons MIT Every icon in the app.
ebur128 MIT Loudness of local files, so they play at the level of the streamed tracks.
librespot-java Apache-2.0 The listening-event format, re-implemented from its EventService rather than copied.
go-librespot and go-librespot-termux GPL-3.0 The remote sleep timer's command and state fields, the check on truncated audio keys, and how Spotify's DJ is resolved and voiced (the session service, client-tts, the narration metadata), re-implemented from their findings rather than copied.

Building from source

Requirements, build steps, signing, the architecture and notes on the code are in docs/DEVELOPMENT.md.

Licence

GPL-3.0-or-later. See LICENSE.

The lyrics view, LyricsView.kt, is ported from Spicy Lyrics and stays under AGPL-3.0, combined with the rest as section 13 of both licences allows.

Star History

Star History Chart

Square (Lelonio/Square)

alternative
Searching Database…

What is this?Square is an unofficial Android music client that lets you play either Spotify Premium or YouTube Music through one app, built with a Liquid Glass UI, audio effects, synced lyrics, offline downloads and Spotify Connect support.
Is this installed on my phone like a regular app, or is it a web player?It's a native Android app (Kotlin, with a Rust core via the librespot library for Spotify) that you install as an APK directly on your device.
Do I need a Spotify account to use it?Only if you choose Spotify as your source: you need Premium and a few minutes of setup registering your own free app in Spotify's developer dashboard for a client ID. YouTube Music works with no account at all.
Why isn't it on the Play Store, and is that a problem?Square can't be published on the Play Store because it re-implements Spotify's protocol against Spotify's Terms of Service and reads YouTube Music through private endpoints meant for its own web client, so it's used at your own risk and may break when YouTube changes its streaming methods.
What audio effects can I apply to songs?Independent speed and pitch controls plus reverb, with one-tap presets like 'slowed + reverb', and a karaoke mode that lowers the vocal track.
Can I use the app offline?Yes, playlists, albums and songs from either source can be downloaded for offline playback, liked songs download automatically over Wi-Fi, and an offline mode restricts playback to what's already on the phone.
Does it show up in Android Auto?Yes, you can browse playlists, search by voice and start radios from the car, but since Square isn't on the Play Store you need to enable 'Unknown sources' in Android Auto's developer settings for it to appear.
Can Square act as a Spotify Connect device?Yes, it can receive playback sent from another device acting as a Connect target, and it can also control your other Spotify Connect devices from within the app.
Creator
Lelonio
Size
24.1 MB
Stars
534
Age
3mo
Commits · 90 Days