A terminal-based Spotify client written in Go using Bubbletea
- A Spotify account (Premium required for full playback functionality)
Termify supports multiple ways to configure the application:
By default, Termify looks for a configuration file at:
~/.config/termify/config.yaml(macOS/Linux)%APPDATA%\termify\config.yaml(Windows)
Example configuration file:
server:
port: 8080
spotify:
client_id: your_spotify_client_id
connect_client: default
logging:
enabled: trueYou can also configure Termify using command-line flags:
Usage:
termify [flags]
Flags:
--config string Path to config file
--port string Server port
--client-id string Spotify client ID
--connect-client string Spotify connect client to use
--logging bool Enable or disable logging (default: true)
Termify also supports configuration via environment variables:
TERMIFY_PORT: Server portTERMIFY_CLIENT_ID: Spotify client IDTERMIFY_CONNECT_CLIENT: Spotify connect client to useTERMIFY_LOGGING_ENABLED: Set to "true" or "1" to enable logging, anything else disables it
Termify uses the following priority order for configuration (highest to lowest):
- Command-line flags
- Environment variables
- Configuration file
- Default values
- Get a Spotify Client ID from the Spotify Developer Dashboard
- Configure Termify with your Client ID using one of the methods above
- Run Termify and follow the authentication process
go install github.com/dietzy1/termify@latestgo build -o termify