Skip to content

Instantly share code, notes, and snippets.

@shinokada
Created January 22, 2026 20:05
Show Gist options
  • Select an option

  • Save shinokada/d5084b5971490ee10d98ae459c22678e to your computer and use it in GitHub Desktop.

Select an option

Save shinokada/d5084b5971490ee10d98ae459c22678e to your computer and use it in GitHub Desktop.
For Debian package using spt
Package: tera
Version: 0.8.1
Architecture: all
Maintainer: Shinichi Okada <147320+shinokada@users.noreply.github.com>
Depends: mpv, jq, fzf, wget, bash (>= 4.0)
Section: utils
Priority: optional
Homepage: https://github.com/shinokada/tera
Description: Interactive Bash script terminal music radio player. Play your favorite radio station, CRUD your favorite lists, and explore new radio stations from your terminal.
#!/usr/bin/env bash
set -eu
# shellcheck disable=SC2034
VERSION="0.8.0"
SCRIPT_DOT_DIR="$HOME/.config/tera"
# CACHE_DIR="$HOME/.cache"
FAVORITE_PATH="$SCRIPT_DOT_DIR/favorite"
TMP_PATH="$HOME/.cache/tera"
FAVORITE_FILE="My-favorites.json"
FAVORITE_FULL="${FAVORITE_PATH}/${FAVORITE_FILE}"
SCRIPT_NAME=$(basename "$0")
APP_NAME="TERA"
RADIO_BROWSER="https://de1.api.radio-browser.info/json/stations/bytag/"
SEARCH_URL="https://de1.api.radio-browser.info/json/stations/search"
script_dir="/usr/share/tera"
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment