Skip to content
المشاريع

حول

أداة SpotX لحجب الإعلانات في عميل Spotify المكتبي على Mac وLinux، مكتوبة بلغة Bash

الأمان والخصوصية

كيف تُقاس هذه الأرقام

6,671 نجمة238 التفرعات +2 خلال 24 ساعة

ما يمكنك فعله

  • Block all audio, banner & video ads
  • Enable developer mode
  • Enable experimental features
  • Hide audiobooks, episodes & podcasts on home screen

النمو المقاس للنجوم

خلال 24 ساعة
+٢
خلال 7 أيام
+٢٨
خلال 15 يومًا
+٦١
خلال شهر
+٢٣١

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل


Adblock for the Spotify desktop client on Linux & macOS

Latest supported version: 1.3.11.2657.gab535a3f4acc

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 13+ and APT-based Linux distros
  • Supports the x86_64 Spotify client on Linux and compatible clients on OS X/macOS 10.11+
  • Older macOS releases require a compatible Spotify client installed manually; see the version timeline.

Usage:

[!NOTE] Recommended order: install Spotify, run SpotX-Bash, then open Spotify/sign in. Repatch before opening an updated client. Already opened Spotify?

Choose the command for your Spotify installation.

Installation How to run SpotX-Bash
macOS app, native Linux package, or Flatpak Use the main script below.
Snap Use bash spotx-snap.sh from the cloned repo. See Snap / Nix.
Nix on x86_64 Linux or Apple Silicon macOS Follow the SpotX-Nix instructions.
  • Run the main script in your terminal:
bash <(curl -sSL https://spotx-official.github.io/run.sh)

or

bash <(curl -sSL https://raw.githubusercontent.com/SpotX-Official/SpotX-Bash/main/spotx.sh)
  • If your shell does not support process substitution, use:
curl -sSL https://spotx-official.github.io/run.sh | bash

See the FAQ for more information about shell compatibility and using options with the pipe command

  • By default...
    • all supported experimental features are enabled
    • free-tier user patches are applied; paid-premium users should use the -p / --premium flag
    • macOS client auto-updates are NOT disabled; blocking them with the -B / --blockupdates flag is recommended
  • On Linux, controlling client updates through your package manager or installation method is recommended so Spotify can be repatched before opening the updated client
  • View additional flags/options and examples in the Options section below
  • For more information, see the FAQ

Snap / Nix:

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:

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

The locally installed Snap stops receiving automatic Store updates. Run bash spotx-snap.sh --download to fetch and apply a fresh Store build, or bash spotx-snap.sh --restore to return to the official stable channel and automatic updates. Run bash spotx-snap.sh --help for additional Snap options or see the FAQ.

Nix users on x86_64 Linux or Apple Silicon macOS should use SpotX-Nix, which applies SpotX-Bash while building the Spotify package without modifying the Nix store. It supports NixOS, nix-darwin, Home Manager, and configurations with or without flakes. Intel macOS users should continue using regular SpotX-Bash.

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
--noninteractive skip prompts and exit with an error if required sudo authorization is unavailable
-o use old home screen UI on Spotify 1.1.93.896 through 1.2.13.661
-p paid premium-tier subscriber
-P <path> directory containing Spotify.app on macOS or Apps/xpui.spa on Linux
--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

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

Run interactively with an existing app in your user Applications folder (macOS)

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

Run interactively with a client installed in /opt/spotify (Linux)

bash <(curl -sSL https://spotx-official.github.io/run.sh) -i -P /opt/spotify

Run SpotX-Bash, set paid premium-tier subscriber

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

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

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

Add --stable to install the stable build. APT installs required dependencies. Optional packages recommended by Spotify, such as multimedia codecs, can be installed separately.

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

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

If your installed client is newer than the supported build, --installmac replaces it with the supported version.

Install latest supported client version without interactive prompts (macOS)

curl -sSL https://spotx-official.github.io/run.sh | bash -s -- --noninteractive --installmac

Thanks:

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…