SpotX-Bash Documentation

SpotX Mac and Linux adblocker for the Spotify desktop client, in Bash

RAW Doc

Technical Documentation: SpotX-Official/SpotX-Bash

โ„น๏ธ Provenance: Hybrid Fusion: SpotX-Official/SpotX-Bash (README + 1 In-Tree Chapters) ยท CodeWiki Reference ยท Recency: Active (< 180 days)

1. Project Overview & Quickstart (SpotX-Official/SpotX-Bash)


text
<h4 align="center">Adblock for the Spotify desktop client on Linux & macOS</h4>

Features:

  • Block all audio, banner & video ads
  • Block logging
  • Enable developer mode
  • Enable experimental features
  • Hide audiobooks, episodes & podcasts on home screen
  • Block automatic updates (macOS)
  • Install latest desktop client versions on macOS and APT-based Linux distros
  • Supports all Linux distros and OS X/macOS 10.11+

Usage:

  • Run the following command in terminal:
text
bash <(curl -sSL https://spotx-official.github.io/run.sh)

or

text
bash <(curl -sSL https://raw.githubusercontent.com/SpotX-Official/SpotX-Bash/main/spotx.sh)
  • By default...
    • all supported experimental features are enabled
    • free-tier user patches are applied, paid-premium users should use -p / --premium flag
    • macOS client auto-updates are NOT disabled, block auto-updates with -B / --blockupdates flag
  • View additional flags/options and examples in the Options section below
  • For more information, see the FAQ

Snap / NixOS:

Spotify installations using Snap require the included spotx-snap.sh helper. Download the repo so spotx-snap.sh and spotx.sh remain in the same directory:

text
git clone https://github.com/SpotX-Official/SpotX-Bash.git
cd SpotX-Bash
bash spotx-snap.sh

Run bash spotx-snap.sh --help for additional Snap options or see the FAQ.

NixOS users should use SpotX-Nix, which applies SpotX-Bash while building the Spotify package without modifying the Nix store.

Options:

Click to expand!

Option Description
-B block client auto-updates [macOS]
-c clear client app cache
-d enable developer mode
-e exclude all experimental features
-f force SpotX-Bash to run
-h hide non-music on home screen
--help print options
-i enable interactive mode
--installdeb install latest client deb pkg on APT-based distros [Linux]
--installmac install latest supported client [macOS]
-l set lyrics background color to black
--nocolor remove colors from SpotX-Bash output
-o use old home screen UI
-p paid premium-tier subscriber
-P set path to client
--rollback install previous supported client version [macOS]
-S skip codesigning [macOS]
--stable use with '--installdeb' for stable branch [Linux]
--uninstall uninstall SpotX-Bash
-v print SpotX-Bash version

Examples:

Run SpotX-Bash, clear app cache, enable dev mode, hide non-music categories

text
bash <(curl -sSL https://spotx-official.github.io/run.sh) -cdh

Run SpotX-Bash, enable interactive mode, set custom path to client

text
bash <(curl -sSL https://spotx-official.github.io/run.sh) -i -P $HOME/Downloads/

Run SpotX-Bash, set paid premium-tier subscriber

text
bash <(curl -sSL https://spotx-official.github.io/run.sh) -p

Run SpotX-Bash, install latest testing branch client version (Linux)

text
bash <(curl -sSL https://spotx-official.github.io/run.sh) --installdeb

Run SpotX-Bash, block auto-updates, install latest supported client version (macOS)

text
bash <(curl -sSL https://spotx-official.github.io/run.sh) -B --installmac

Thanks:

2. In-Tree Documentation Chapters (SpotX-Official/SpotX-Bash)


text
<h4 align="center">Adblock for the Spotify desktop client on Linux & macOS</h4>

Features:

  • Block all audio, banner & video ads
  • Block logging
  • Enable developer mode
  • Enable experimental features
  • Hide audiobooks, episodes & podcasts on home screen
  • Block automatic updates (macOS)
  • Install latest desktop client versions on macOS and APT-based Linux distros
  • Supports all Linux distros and OS X/macOS 10.11+

Usage:

  • Run the following command in terminal:
text
bash <(curl -sSL https://spotx-official.github.io/run.sh)

or

text
bash <(curl -sSL https://raw.githubusercontent.com/SpotX-Official/SpotX-Bash/main/spotx.sh)
  • By default...
    • all supported experimental features are enabled
    • free-tier user patches are applied, paid-premium users should use -p / --premium flag
    • macOS client auto-updates are NOT disabled, block auto-updates with -B / --blockupdates flag
  • View additional flags/options and examples in the Options section below
  • For more information, see the FAQ

Snap / NixOS:

Spotify installations using Snap require the included spotx-snap.sh helper. Download the repo so spotx-snap.sh and spotx.sh remain in the same directory:

text
git clone https://github.com/SpotX-Official/SpotX-Bash.git
cd SpotX-Bash
bash spotx-snap.sh

Run bash spotx-snap.sh --help for additional Snap options or see the FAQ.

NixOS users should use SpotX-Nix, which applies SpotX-Bash while building the Spotify package without modifying the Nix store.

Options:

Click to expand!

Option Description
-B block client auto-updates [macOS]
-c clear client app cache
-d enable developer mode
-e exclude all experimental features
-f force SpotX-Bash to run
-h hide non-music on home screen
--help print options
-i enable interactive mode
--installdeb install latest client deb pkg on APT-based distros [Linux]
--installmac install latest supported client [macOS]
-l set lyrics background color to black
--nocolor remove colors from SpotX-Bash output
-o use old home screen UI
-p paid premium-tier subscriber
-P set path to client
--rollback install previous supported client version [macOS]
-S skip codesigning [macOS]
--stable use with '--installdeb' for stable branch [Linux]
--uninstall uninstall SpotX-Bash
-v print SpotX-Bash version

Examples:

Run SpotX-Bash, clear app cache, enable dev mode, hide non-music categories

text
bash <(curl -sSL https://spotx-official.github.io/run.sh) -cdh

Run SpotX-Bash, enable interactive mode, set custom path to client

text
bash <(curl -sSL https://spotx-official.github.io/run.sh) -i -P $HOME/Downloads/

Run SpotX-Bash, set paid premium-tier subscriber

text
bash <(curl -sSL https://spotx-official.github.io/run.sh) -p

Run SpotX-Bash, install latest testing branch client version (Linux)

text
bash <(curl -sSL https://spotx-official.github.io/run.sh) --installdeb

Run SpotX-Bash, block auto-updates, install latest supported client version (macOS)

text
bash <(curl -sSL https://spotx-official.github.io/run.sh) -B --installmac

Thanks:

--- METRICS ---