https://github.com/openbytedev/burnt-sushi
Spotify AdBlocker for Windows
https://github.com/openbytedev/burnt-sushi
Last synced: about 1 year ago
JSON representation
Spotify AdBlocker for Windows
- Host: GitHub
- URL: https://github.com/openbytedev/burnt-sushi
- Owner: OpenByteDev
- License: mit
- Created: 2022-03-11T00:45:09.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-17T15:12:57.000Z (almost 2 years ago)
- Last Synced: 2025-03-30T05:07:51.667Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 649 KB
- Stars: 325
- Watchers: 9
- Forks: 14
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
BurntSushi
[](https://github.com/OpenByteDev/burnt-sushi/actions/workflows/build.yml) [](https://github.com/OpenByteDev/burnt-sushi/releases/latest/) [](https://github.com/OpenByteDev/burnt-sushi/blob/master/LICENSE)
A Spotify AdBlocker for Windows that works via DLL injection and function hooking.
## Installation
The latest version can be downloaded [here](https://github.com/OpenByteDev/burnt-sushi/releases/latest). Both a portable and an installed version is available.
## FAQ
### How does it work?
BurntSushi works by intercepting network requests and blocking ones that match a set of [filters](https://github.com/OpenByteDev/burnt-sushi/blob/master/filter.toml). This is implemented by injecting a dynamic library into the Spotify process that overrides [`getaddrinfo`](https://docs.microsoft.com/en-us/windows/win32/api/ws2tcpip/nf-ws2tcpip-getaddrinfo) from the Windows API and `cef_urlrequest_create` from [libcef](https://github.com/chromiumembedded/cef).
The status of the Spotify process is determined using [`wineventhook`](https://github.com/OpenByteDev/wineventhook-rs) which is based on [`SetWinEventHook`](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwineventhook).
### Can this be detected by Spotify?
Theoretically yes, but practically it probably won't.
### Does it work on Linux?
No, BurntSushi supports Windows only, but you can check out [spotify-adblock](https://github.com/abba23/spotify-adblock) instead.
## Credits
Inspired by https://github.com/abba23/spotify-adblock
Original icon made by [Freepik](https://www.freepik.com/) from [flaticon.com](https://www.flaticon.com/)