spotify-tokener

command module
v0.0.0-...-e15e48e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

README

spotify-tokener

A simple GoLang service which returns spotify anonymous & account tokens without having to deal with their annoying TOTP shit.

Installation

For god's sake, just use docker. Otherwise, have fun compiling yourself:

Manual

Requirements:

go install github.com/topi314/spotify-tokener@master

Now run it via systemd or something.

Docker

Create your compose.yml and run docker compose up -d.

services:
  spotify-tokener:
    image: ghcr.io/topi314/spotify-tokener:master
    container_name: spotify-tokener
    restart: unless-stopped
    environment:
#      - SPOTIFY_TOKENER_ADDR=0.0.0.0:8080
#      - SPOTIFY_TOKENER_CHROME_PATH=chrome
#      - SPOTIFY_TOKENER_LOG_LEVEL=INFO
    ports:
      - 8080:8080

Usage

The endpoint is under /api/token and cookies are relayed 1:1 (like the sp_dc cookie for account login).

License

This project is licensed under the Apache License 2.0.

Contributing

Contributions are welcome, but for bigger changes, please open an issue first to discuss what you would like to change.

Contact

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL