Commit graph

7 commits

Author SHA1 Message Date
Meta-Repo Bot 8604aabb63 fix: increase read limit to 10MB and add debug logging 2026-01-21 05:04:13 +00:00
Meta-Repo Bot 494646b16c fix: increase websocket read limit to 1MB 2026-01-21 04:57:56 +00:00
Meta-Repo Bot e3c6d6c1fb fix: resolve repeated read panic by pinning connection in goroutines 2026-01-21 04:47:47 +00:00
Meta-Repo Bot e5957cf182 fix: resolve websocket panic and add NixOS module
- Fixed a panic in internal/bot/bot.go where a repeated read was attempted on a failed websocket connection.
- Removed the 5-second read deadline and timeout handling in readLoop.
- Added connection closure on ping failure to trigger quick reconnection.
- Added NixOS module to flake.nix for service deployment.
2026-01-20 23:46:14 +00:00
Meta-Repo Bot b6cf5fdfa7 chore: Harden systemd service and pin nixpkgs to stable
Updates deployment configuration:
- Adds strict systemd sandboxing (ProtectSystem, DynamicUser, etc)
- Pins flake input to nixos-24.11 for stability
- Updates docs to reflect hardening
2026-01-16 22:51:51 +00:00
Meta-Repo Bot f602c02f80 feat: Prepare for Nix deployment with integration tests and flake
This commit prepares the musiclink bot for production deployment on NixOS.

Changes:
- Refactored service layer to support Dependency Injection for API URLs.
- Added 'internal/bot/bot_integration_test.go' for mock-based integration testing.
- Added 'flake.nix' and 'flake.lock' for reproducible Nix builds.
- Added 'README.md', 'LICENSE', and '.gitignore'.
- Verified build and tests pass locally.
2026-01-16 21:57:13 +00:00
Meta-Repo Bot 8366b92dd8 Initial commit: MusicLink bot for cross-platform music link conversion
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>
2026-01-09 00:56:17 +00:00