A matterbridge bot that detects music links (Spotify, YouTube, Apple Music, etc.) in chat messages and responds with equivalent links on other platforms. Features: - Connects to matterbridge via WebSocket API - Detects links from 7 music services (Spotify, YouTube, Apple, Deezer, etc.) - Uses idonthavespotify API for conversion (no API credentials required) - Automatic reconnection with exponential backoff - Platform setup guide for NixOS deployment Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
498 B
TOML
21 lines
498 B
TOML
# MusicLink Bot Configuration
|
|
#
|
|
# This bot uses the idonthavespotify API to convert music links
|
|
# between streaming services. No API credentials needed!
|
|
|
|
[matterbridge]
|
|
# WebSocket URL for matterbridge API bridge
|
|
url = "ws://localhost:4242/api/websocket"
|
|
|
|
# API token (must match matterbridge config)
|
|
token = "your-matterbridge-api-token"
|
|
|
|
# Gateway name to send messages to
|
|
gateway = "main"
|
|
|
|
# Bot username shown in messages
|
|
username = "MusicLink"
|
|
|
|
# Avatar URL for the bot (optional)
|
|
avatar = ""
|