Skip to content

Releases

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 23:22
a9e72ad

Note

First stable release. v0.5.0 is the first Cantus release without a pre-release label, and the first to publish the latest Docker tag. It includes everything from v0.4.0-rc.1; no separate v0.4.0 was released.

Highlights

  • Lyrics without Spotify (Linux desktop app). Choose Use this computer's players and Cantus follows whatever is playing on your computer: the Spotify app, a browser tab or a music app. No Spotify account or developer app is needed, and your Displays follow along. The server owner must turn it on first (see Upgrade Notes). (#128, #129, #134)
  • VU meter on the seek bar. Bars rise from the played part of the seek bar in time with the music. The desktop app on Linux and Windows reads system audio; the web app can use the microphone or tab audio once you pick a source. Audio is analysed on your device and never sent to the server. (#131, #133)
  • A full player on phones. The Track tab now shows large album art, the seek bar and all controls. Tap the art or title on the Lyrics tab to open it. (#145, #146)
  • Much faster web app. The first load drops from about 40 MB to about 7 MB, and reloads fetch almost nothing. The web app no longer contacts Google Fonts or any other third-party site. (#147)
  • Safer upgrades. The server copies its database before changing the schema, and stops with a clear message and the exact fix when it cannot write its data files. (#128, #135)

Upgrade Notes

From v0.4.0-rc.1

  • Database migration. One migration (AddSessionKind) runs automatically on startup. It rebuilds the UserSessions table, so Cantus first copies the database to cantus.db.pre-<migration>.bak in the data folder and keeps the 3 newest copies. No manual steps. If an upgrade is interrupted, or you want to go back to an older version, restore that copy: see Automatic Copies Before Upgrades. Set Database__BackupBeforeMigrations=false to skip the copy.
  • Docker tags. ghcr.io/jav76/cantus:latest and :0.5 now exist. If your compose file uses :rc or a pinned pre-release tag, switch to :latest or :0.5.0.
  • Local Sessions are off by default. To offer Use this computer's players, set LocalSessions__Enabled=true. On an internet-facing server also set LocalSessions__JoinCode (at least 8 characters), or anyone who can reach the server can create a Session. Behind a reverse proxy, configure forwarded headers so the creation rate limit applies per user. See Let People Use Their Own Players.
  • Proxy compression is now optional. The server sends the web app's precompressed brotli or gzip files itself, with cache headers. Existing proxy compression settings keep working.
  • New look on new devices. Devices without a saved choice open on the Dynamic Palette theme with film grain and background blur on. The theme is now saved per device. Paired Displays keep film grain off by default. (#132)
  • System audio capture on desktop. The Linux and Windows desktop apps read system audio for the VU meter by default. Turn off Seek bar VU meter in the theme menu to stop it.

From v0.3.x or earlier

All of the above, plus the changes first published in v0.4.0-rc.1:

Important

Docker: fix data volume ownership before upgrading. The image now runs as UID 1654 instead of root, so it cannot write a data volume created by an older image. Cantus stops on startup and logs the paths and the fix. Run this once, then start Cantus again:

docker compose run --rm --no-deps --user 0 --entrypoint chown cantus -R 1654:1654 /app/data
docker compose up -d

For a bind mount, run sudo chown -R 1654:1654 <host-path> instead. See Upgrading from an Image That Ran as Root.

  • HTTPS outside localhost. Auth and session cookies are marked Secure. Browsers accept them on http://localhost and http://127.0.0.1, but any other address must be served over HTTPS or sign-in will not stick. See Reverse Proxy.
  • Users' own Spotify apps (Spotify__AllowUserClientIds). Unset, users may sign in with their own Spotify app only when Spotify__ClientId is unset. true allows both; false allows the server's app only. See Configuration.
  • A second migration (AddUserSessionSpotifyClientId, a nullable column) also runs automatically.

What's Changed

Features

  • Local Sessions: the server accepts playback published by a desktop client, finds lyrics and broadcasts to the owner and paired Displays (#128)
  • Linux desktop app follows the most recently started media player through MPRIS, with a per-player on/off list (#129)
  • Account button offers Spotify or this computer's players, with an account menu when signed in; dialogs close on a click outside them (#134)
  • VU meter on the track card and kiosk seek bars, driven by real audio only, fading out under the pointer (#131, #133)
  • Full player on the phone Track tab, opened from the Lyrics tab's strip (#145, #146)
  • Dynamic Palette, film grain and background blur by default; theme saved per device (#132)
  • Karaoke underline and volume slider follow the theme's accent colours (#126, #133)
  • Automatic database copy before schema migrations (#128)

Fixes

  • More instrumental tracks are recognised: tracks marked "No lyrics", titles such as "(Instrumental)" or "(Karaoke)", and LRCLIB results are checked against the track length (#144)
  • Server stops with the paths and a chown command when its data volume is owned by root, instead of crash-looping (#135)
  • Pairing code no longer overflows its card on medium-width screens or shows clipped in a fallback font (#148)
  • Wrong lyrics dialog says when the server is too old to change lyrics; failed player commands are now logged with the reason (#127)
  • Track card scrollbar no longer draws over buttons and sliders (#126)

Performance

  • Web app: stripped WASM runtime (13.3 MB to 2.9 MB), precompressed files served by the server, long-lived caching for fingerprinted files, fonts bundled instead of loaded from Google Fonts (#147)

Documentation

Internal

  • Track card player extracted into a shared NowPlayingPanel (#142)

Known Limitations

  • Use this computer's players needs the Linux desktop app. The web app and the Windows and macOS desktop apps offer Spotify only.
  • In a Local Session, play, pause, skip and seek from Cantus do not reach the player yet, and Find a Song by Lyrics is hidden.
  • The VU meter stays flat when the music plays on another device (for example Spotify on a phone), because there is no audio on this device to read.

Downloads

Package Platforms
Docker image ghcr.io/jav76/cantus:0.5.0, :0.5, :latest (linux/amd64, linux/arm64)
Server Cantus.Server-Linux-x64.tar.gz, -Linux-arm64.tar.gz, -macOS-arm64.tar.gz, -Windows-x64.zip
Desktop client Cantus-Setup-Windows-x64.exe, Cantus-Linux-x64.AppImage, Cantus.Client-Windows-x64.zip, Cantus.Client-Linux-x64.tar.gz, Cantus.Client-macOS-osx-x64.tar.gz, -osx-arm64.tar.gz

Verify downloads against SHA256SUMS.txt. Setup guides: Self-Hosting and Spotify App Setup.

Full Changelog: v0.4.0-rc.1...v0.5.0

v0.4.0-rc.1

v0.4.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Nov 01:54
c87e072

Warning

Superseded by v0.5.0. No final v0.4.0 was released. Everything in this release candidate is included in v0.5.0, so please install that instead.

Note

Release candidate. v0.4.0-rc.1 is feature-complete for 0.4.0 and is published for testing. Please report problems in Issues before the final v0.4.0.

Highlights

  • Sign in with your own Spotify app. Spotify's Development Mode now allows only 5 allowlisted users per app, so each user can bring their own Spotify app's Client ID. A guided Connect Spotify screen walks through creating the app, copying the redirect URI and checking the Client ID. (#120)
  • Clearer sign-in failures. Failed Spotify sign-ins now show a page that explains what went wrong and how to fix it, with a link that reopens the Connect Spotify screen. (#120)
  • Security updates. All known-vulnerable dependencies are patched, and server libraries move from .NET 9 and .NET 10 previews to .NET 10.0.15. (#123)
  • Hardened server. The Docker image runs as a non-root user and auth cookies are Secure. (#125)

Upgrade Notes

Important

Docker: fix data volume ownership before upgrading. The image now runs as UID 1654 instead of root. Data volumes created by earlier versions are owned by root, so the new container cannot write its database or keys. Run this once, with the old container stopped:

docker compose down
docker run --rm -v cantus-data:/data alpine chown -R 1654:1654 /data

Then start the new version as usual (docker compose up -d --build with the bundled compose file, or pull ghcr.io/jav76/cantus:0.4.0-rc.1). cantus-data is the volume name in the bundled docker-compose.yml; check docker volume ls if yours differs. For a bind mount, run sudo chown -R 1654:1654 <host-path> instead.

  • HTTPS outside localhost. Auth and session cookies are now marked Secure. Browsers accept them on http://localhost and http://127.0.0.1, but any other address must be served over HTTPS (directly or through a reverse proxy) or sign-in will not stick. Spotify already requires HTTPS redirect URIs for non-loopback hosts. See Reverse Proxy.
  • Database migration. One additive migration (AddUserSessionSpotifyClientId, a nullable column) runs automatically on startup. No manual steps.
  • New setting: Spotify__AllowUserClientIds.
    • Unset (default): users may sign in with their own Spotify app only when Spotify__ClientId is unset. Servers that already set Spotify__ClientId keep their current behavior.
    • true: allow users' own apps alongside the server's app. Anyone who can reach the server and has a Spotify app can then sign in, so avoid this on internet-facing servers unless intended.
    • false: always use the server's app only.
    • See Configuration and Users' own Spotify apps.

What's Changed

Features

  • Sign in with your own Spotify app, plus a guided Connect Spotify screen and per-failure sign-in pages (#120)

Fixes

  • Web client no longer mistakes the ?auth=success / ?auth=error sign-in result for a session token (#120)
  • Server log entries queued right before shutdown are no longer lost (#125)

Security

  • Patched Microsoft.OpenApi (GHSA-v5pm-xwqc-g5wc), the bundled SQLite library (GHSA-2m69-gcr7-jv3q) and System.Security.Cryptography.Xml / .Pkcs (10 advisories) (#123)
  • ASP.NET Core, EF Core and Microsoft.Extensions packages updated to 10.0.15 (#123)
  • Docker image runs as non-root; OAuth state and session cookies are Secure; SQLite path parsing uses SqliteConnectionStringBuilder instead of a regex (#125)

Documentation

  • New Connect Spotify user guide page; operator guide updated for Spotify's 5-user, Premium-required Development Mode (#120)
  • Docs corrected against the code across REST, SignalR, configuration, operator and user guides; nested lists render correctly on the site; the client architecture diagram is split into three readable ones (#124)
  • README screenshots (#121)

Build & CI

  • SonarQube analysis with README quality badges (#122)
  • SonarQube reliability and maintainability fixes (#125)

Downloads

Package Platforms
Docker image ghcr.io/jav76/cantus:0.4.0-rc.1 (linux/amd64, linux/arm64)
Server Cantus.Server-Linux-x64.tar.gz, -Linux-arm64.tar.gz, -macOS-arm64.tar.gz, -Windows-x64.zip
Desktop client Cantus-Setup-Windows-x64.exe, Cantus-Linux-x64.AppImage, Cantus.Client-* archives for Windows, Linux and macOS (x64 and arm64)

Verify downloads against SHA256SUMS.txt. Setup guides: Self-Hosting and Spotify App Setup.

Full Changelog: v0.3.0-beta.2...v0.4.0-rc.1

v0.3.0-beta.2

v0.3.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 22 Nov 18:19
99f0d7b

What's Changed

  • feat(client): Fraunces/Figtree type, Phosphor icons, calmer header, fewer boxes by @jav76 in #118
  • fix(client): keep FallbackValue off shared ViewModel function bindings for WinUI by @jav76 in #119

Full Changelog: v0.3.0-beta.1...v0.3.0-beta.2

v0.3.0-beta.1

v0.3.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Nov 23:09
719f6d5

What's Changed

  • feat: find a song by lyrics, theme dropdown, effects and resizing fixes by @jav76 in #117

Full Changelog: v0.2.0-beta.1...v0.3.0-beta.1

v0.2.0-beta.1

v0.2.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Nov 19:00
f0d1efd

Cantus v0.2.0-beta.1 Release Notes

Release Tag: v0.2.0-beta.1
Previous Release: v0.1.0-beta.1
Release Type: Beta Pre-Release


Overview

This beta adds paired Displays: view-only screens such as a TV or wall tablet that show your lyrics without signing in to Spotify. Lyrics get word-by-word karaoke timing and a picker to fix a wrong match. Server logs no longer carry Session ids, and the release pipeline now builds on GitHub-hosted runners and deploys only from protected tags.

31 pull requests, 249 files changed since v0.1.0-beta.1.


⚠️ Upgrade Notes

Read these before upgrading an existing deployment.

  • Back up cantus.db first. Four database migrations run automatically at startup: AddDisplaysTable, AddLyricsOverrides, AddWordTimedLyricsCache and AddWordTimedLyricsOverrides. Each has a down migration, but rolling back after release drops any paired Displays and lyrics overrides. (#82, #90, #92)
  • Credentials are matched by Session id only. A Spotify user id is no longer accepted in place of a Session token. The bundled clients already send the Session id and need nothing. Custom scripts or integrations that sent a Spotify user id must sign in and use the returned Session token. (#81)
  • Log fields renamed. Server logs record {SessionRef} (a short, non-reversible hash) and {SpotifyUserId} instead of the raw Session id in {UserId}. Update any log searches or alerts. Older log rows are not rewritten; see Troubleshooting for how to clear them. (#107)
  • Signing out now disconnects your Displays. Logout and Session revoke close the owner's paired Displays immediately. Pair them again after signing back in. (#102)

Highlights

1. Paired Displays

  • Pair a TV, kiosk or tablet once from a signed-in phone or computer. The screen shows an 8-character code, and you approve and name it. (#83, #97)
  • A Display shows your track, artwork, progress and synced lyrics live, but cannot control playback, change offsets or see your Spotify sign-in. It uses its own view-only token. (#82)
  • List, rename and remove Displays from your own device. Removing one disconnects it at once. (#98)
  • Pairing is rate limited and codes expire after 5 minutes. Tune with the new DisplayPairing__* settings.
  • Guide: Pairing & Managing Displays. (#99)

2. Word-by-Word Karaoke

  • The karaoke underline now follows each word as it is sung when the lyrics carry syllable timing. Lines with only line timing keep the previous fill. (#100)
  • The server fetches and caches word-level lyrics from NetEase, prefers them over line-only results, and upgrades cached line-only lyrics in the background. (#91, #92)
  • Requires the NetEase provider (Netease__Enabled, on by default).

3. Fix Wrong Lyrics

  • A Wrong lyrics? picker lists candidates from every lyrics provider for the current track. Pick one, mark the track as having no lyrics, refetch, or clear your correction. (#89, #101)
  • Corrections are saved per track, apply server-wide, and update every open session on that track. (#90)
  • NetEase instrumental ("pure music") tracks are now recognised as instrumental instead of "not found". (#103)

4. Security & Privacy

  • Session ids and tokens are kept out of server logs and traces, with an automated test that guards new log calls. (#107)
  • Request credentials resolve only by exact Session id. (#81)
  • Ending a Session closes its Displays' live connections. (#102)

5. Build, Release & CI

  • Build, test and packaging run on GitHub-hosted runners. Only the deploy job uses the self-hosted runner. (#111)
  • Deploys go through a protected production environment that accepts only v* tags. (#112)
  • Workflow tokens use least privilege, workflow inputs pass through environment variables, and actionlint and zizmor lint workflows on every pull request. (#113, #114)
  • Actions are pinned to commit SHAs and kept current by Dependabot. (#115, #116)
  • Untagged builds report version 0.2.0-dev. (#109)

6. Internals & Docs

  • The client's lyrics view model is split into focused parts (preferences, transport, timing, session) with no behavior change. (#84 to #88)
  • Clock synchronization and the adaptive polling cadence move into dedicated, fully tested types. (#106, #110)
  • User and operator docs corrected to match shipped behavior, plus a new glossary. (#108, #73)
  • Monospace text uses bundled Noto Sans Mono, so pairing codes and timings render the same on every platform. (#97)

v0.1.0-beta.1

v0.1.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Oct 21:02
75b9751

Cantus v0.1.0-beta.1 Release Notes

Release Tag: v0.1.0-beta.1
Previous Release: v0.1.0-alpha.1
Release Type: Beta Pre-Release


Overview

The first beta of Cantus moves playback control fully into the app, makes lyrics interactive, and tightens server security for LAN and reverse-proxy deployments. It also fixes the release pipeline that shipped v0.1.0-alpha.1 without assets.

12 pull requests, 63 files changed since v0.1.0-alpha.1.


⚠️ Upgrade Notes

Read these before upgrading an existing deployment.

  • Reverse proxies must be trusted explicitly. Forwarded headers are now honoured only from loopback by default. If your proxy runs in another container (Caddy, Traefik, etc.), set ForwardedHeaders__KnownNetworks__0 to the proxy's network CIDR or ForwardedHeaders__TrustAllProxies=true. Without this, Spotify OAuth callbacks resolve as http:// instead of https://. See the commented examples in docker-compose.yml. (#36)
  • CORS is now opt-in. Cross-origin access is closed by default. The bundled web client is same-origin and needs nothing. Only set Cors__AllowedOrigins__0 if you host a client separately. (#36)
  • Use Spotify__ClientId, not SPOTIFY_CLIENT_ID. The server never read SPOTIFY_CLIENT_ID, even though earlier docs (and the alpha.1 quickstart) used it. A new .env.example shows the correct names. (#37)
  • Session revoke and lyric offset writes require authentication. DELETE /api/auth/sessions/{userId} only revokes the caller's own session, and POST /api/lyrics/offset rejects anonymous writes. (#36)

Highlights

1. Full Playback Controls

  • Volume, seek, shuffle, and repeat join the existing play/pause and skip controls. (#33)
  • Click-to-seek on the progress bar in the desktop track card and kiosk mini playback bar, with a hover scrub thumb.
  • Shuffle and repeat buttons reflect real Spotify state on every poll, including changes made from the Spotify app.
  • The volume slider is debounced, so a drag sends one API call instead of dozens.

2. Interactive Lyrics

  • Tap or click a lyric line to seek to it. The jump accounts for per-track offsets and avoids clipping the start of the line. (#44)
  • Active-line progress underline fills beneath the current line over its real duration, with smooth line activation instead of an instant snap. Lines before long instrumental breaks cap at an estimated singing length. (#35)

3. Desktop Client Can Reach a Remote Server

  • New --server-url (-s) option and CANTUS_SERVER_URL environment variable. Accepts a base address or a full hub URL. (#40)
  • This matters because Spotify no longer accepts localhost redirect URIs, so a localhost-only client had nowhere to complete a login.
./Cantus-Linux-x64.AppImage --server-url http://192.168.0.10:5000

4. Theme Mode Indicator

  • Pressing T to cycle themes now shows a short toast naming the active mode. (#34)

5. Security & Reliability

  • Session revoke and offset endpoints now authenticate the caller. Offset changes notify only that caller, not every client. (#36)
  • CORS no longer reflects arbitrary origins with credentials. (#36)
  • X-Forwarded-For / -Proto can no longer be spoofed by arbitrary clients. (#36)
  • Expired Spotify tokens are detected by exception type and status code, not message text. Unrelated errors mentioning "401" no longer trigger needless token refreshes. (#39)
  • Duplicate Spotify OAuth scopes from configuration binding are removed, and the LRCLIB User-Agent points at the real repository. (#37)

6. Build, Release & Docs

  • Release packages attach directly to the GitHub Release, and checksums are computed per build. This fixes the failure that left v0.1.0-alpha.1 without assets (now backfilled). (#41)
  • Docs deploy switched to cloudflare/wrangler-action after cloudflare/pages-action was removed. (#42)
  • Monitor tests wait on broadcast signals instead of fixed delays, removing CI flakiness. (#38)
  • Docs corrections: environment variable names, NTP sync interval (5s, not 60s), and a new .env.example. (#37)
  • Trusted CI and release builds run on self-hosted runners. Pull requests stay on GitHub-hosted runners. (#45)

Release Artifacts & Distribution

Distribution Architecture / Platform Package Artifact
Container linux/amd64, linux/arm64 ghcr.io/jav76/cantus:0.1.0-beta.1 (also rc)
Desktop (Linux) x64 Cantus-Linux-x64.AppImage
Cantus.Client-Linux-x64.tar.gz
Desktop (Windows) x64 Cantus-Setup-Windows-x64.exe (installer)
Cantus.Client-Windows-x64.zip
Desktop (macOS) Apple Silicon (ARM64)
Intel (x64)
Cantus.Client-macOS-osx-arm64.tar.gz
Cantus.Client-macOS-osx-x64.tar.gz
Standalone Server Linux (x64, ARM64)
Windows (x64)
macOS (ARM64)
Cantus.Server-Linux-x64.tar.gz
Cantus.Server-Linux-arm64.tar.gz
Cantus.Server-Windows-x64.zip
Cantus.Server-macOS-arm64.tar.gz
Integrity All SHA256SUMS.txt

Quickstart (Docker Compose)

services:
  cantus:
    image: ghcr.io/jav76/cantus:0.1.0-beta.1
    container_name: cantus
    restart: unless-stopped
    ports:
      - "5000:5000"
    environment:
      - Spotify__ClientId=your_spotify_client_id_here
      - CANTUS_HOST_URL=http://localhost:5000
      # Behind a reverse proxy in another container:
      # - ForwardedHeaders__KnownNetworks__0=172.16.0.0/12
    volumes:
      - cantus-data:/app/data

volumes:
  cantus-data:
    name: cantus-data
docker compose up -d

Contributors

Thanks to @Brandon-Kimberly, who authored 9 of the 12 pull requests in this release, and to @jav76.

What's Changed

  • Feat: volume, seek, shuffle, and repeat controls by @Brandon-Kimberly in #33
  • Feat: transient toast naming the theme mode on change by @Brandon-Kimberly in #34
  • Feat: active-line karaoke progress underline and smooth line activation by @Brandon-Kimberly in #35
  • Fix: authenticate session revoke and offset writes, scope CORS and proxy trust by @Brandon-Kimberly in #36
  • Chore: docs corrections, Spotify scope dedupe, and dead code removal by @Brandon-Kimberly in #37
  • Test: wait on broadcast signals instead of fixed delays in monitor tests by @Brandon-Kimberly in #38
  • Fix: detect expired Spotify tokens by exception type, not message text by @Brandon-Kimberly in #39
  • Feat: --server-url so the desktop client can reach a remote server by @Brandon-Kimberly in #40
  • ci: attach release packages directly instead of via artifact storage by @jav76 in #41
  • ci(docs): replace removed cloudflare/pages-action with wrangler-action by @jav76 in #42
  • Feat: tap or click a lyric line to seek to it by @Brandon-Kimberly in #44
  • ci: run main CI and releases on self-hosted runners, auto-deploy releases by @jav76 in #45

Full Changelog: v0.1.0-alpha.1...v0.1.0-beta.1

v0.1.0-alpha.1

v0.1.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@jav76 jav76 released this 10 Sep 22:30
45312f0

Cantus v0.1.0-alpha.1 Release Notes

Release Tag: v0.1.0-alpha.1
Target Commit: 45312f0
Release Type: Initial Alpha Pre-Release


Overview

Cantus is a self-hosted, real-time synchronized lyrics display platform. It connects to Spotify playback sessions to deliver sub-millisecond synchronized lyrics across web browsers, desktop operating systems, and kiosk displays.

This initial v0.1.0-alpha.1 release establishes the foundation of the platform: end-to-end Spotify PKCE authentication, adaptive rate-limited playback polling, multi-tier lyrics resolution with fallback providers, sub-millisecond NTP clock interpolation, and dynamic album artwork theming across Uno Platform WebAssembly and desktop runtimes.


Highlights

1. Spotify Transport Controls

  • Added interactive transport controls (play/pause, skip next, skip previous) directly inside the desktop and web client interfaces.
  • Implemented in ISpotifyPlayerClient and SpotifyPlayerClient.
  • Dispatched in real time via SignalR PlaybackHub and orchestrated through LyricsViewModel.
  • Integrated into AdaptiveTrackCard and MiniPlaybackBar with responsive layouts.

2. Multi-Provider Lyrics Fallback Engine

  • Coordinated lyrics retrieval via CachedLyricsService backed by SqliteLyricsCacheRepository.
  • Primary resolution through LrclibLyricsProvider with automated fallback to NeteaseLyricsProvider.
  • High-performance timestamp and syllable parsing via LrcParser.
  • Resilient negative caching: preserves cache integrity by avoiding negative hits during network or upstream provider outages.
  • Clear empty-state display for instrumental tracks or songs without available synchronized lyrics.

3. Precision NTP Synchronization & Latency Calibration

  • Continuous four-timestamp NTP protocol between SignalRPlaybackClient and PlaybackHub.
  • Rolling median filter to eliminate network jitter and calculate clock skew.
  • Sub-millisecond continuous position tracking powered by PlaybackInterpolator.
  • Calibratable device latency offset compensation in LyricsViewModel to align audio with display hardware.

4. Adaptive Playback Polling & Activity Tracking

  • Background monitor in ActiveUsersPlaybackMonitor dynamically adjusts polling rates to protect Spotify API quotas:
    • Active Playback: 4000ms baseline.
    • Track Transition: Accelerates to 2500ms (<=15s remaining) and 1200ms (<=5s remaining).
    • Paused / Idle Backoff: Graduated backoff up to 30s (paused) or 60s (idle).
    • Background Tab Throttling: Reduces poll cadence to 20s when client tab visibility is lost.
    • Zero Viewers: Halts polling entirely when no active clients are connected.
    • Immediate Refresh: Instant refresh on user transport interactions.

5. Dynamic Artwork Theming & Smooth Lyrics Stage

  • Real-time color palette extraction from album cover art via AlbumArtColorExtractor and ThemeManager.
  • Ambient backdrop blending with support for light, dark, and Solarized Dark themes.
  • Visual countdown indicator for instrumental breaks inside LyricsStageView.
  • 60fps auto-scroll with manual scroll pause detection and automatic resumption.
  • Responsive breakpoints for Standard, Kiosk, and Fullscreen TV layouts.

6. Security, Session Management & Diagnostics

  • Secure PKCE OAuth login through SpotifyAuthService and PkceHelper.
  • Tokens encrypted at rest using DataProtectionTokenEncryptionService in CantusDbContext.
  • Web session handoff via URL query authentication parameters.
  • Roslyn source generators in Cantus.Generators for compile-time execution tracing ([TraceLog]) and credential masking ([Redact]).
  • Structured logging configuration via ClientLoggingManager and LoggingConfiguration.
  • Automated build metadata tracking via BuildInfo and HealthEndpoints.

Release Artifacts & Distribution

Distribution Architecture / Platform Package Artifact
Container linux/amd64, linux/arm64 ghcr.io/jav76/cantus:v0.1.0-alpha.1
Desktop (Linux) x64 Cantus-Linux-x64.AppImage
Cantus.Client-Linux-x64.tar.gz
Desktop (Windows) x64 Cantus-Setup-x64.exe (Inno Setup)
Cantus.Client-Windows-x64.zip
Desktop (macOS) Apple Silicon (ARM64)
Intel (x64)
Cantus.Client-macOS-osx-arm64.tar.gz
Cantus.Client-macOS-osx-x64.tar.gz
Standalone Server Linux (x64, ARM64)
Windows (x64)
macOS (ARM64)
Cantus.Server-Linux-x64.tar.gz
Cantus.Server-Linux-arm64.tar.gz
Cantus.Server-Windows-x64.zip
Cantus.Server-macOS-arm64.tar.gz
Integrity All SHA256SUMS.txt

Quickstart (Docker Compose)

Deploy the multi-architecture image using Docker Compose:

services:
  cantus:
    image: ghcr.io/jav76/cantus:v0.1.0-alpha.1
    container_name: cantus
    restart: unless-stopped
    ports:
      - "5000:5000"
    environment:
      - SPOTIFY_CLIENT_ID=your_spotify_client_id_here
      - CANTUS_HOST_URL=http://localhost:5000
      - ASPNETCORE_ENVIRONMENT=Production
    volumes:
      - cantus_data:/app/data

volumes:
  cantus_data:
    name: cantus_data

Start the container:

docker compose up -d

Contributors & Acknowledgements

Special thanks to all contributors who submitted code, tested builds, and shaped the initial v0.1.0-alpha.1 release across pull requests #1 through #32.

What's Changed

  • feat: add Solarized Dark theme by @jav76 in #1
  • feat: update SignalRPlaybackClient to resolve absolute URLs by @jav76 in #2
  • feat: implement responsive UI layout system with adaptive controls by @jav76 in #3
  • fix: resolve Spotify OAuth PKCE flow, WebAssembly DOM rendering, and SignalR live state reactivity by @jav76 in #4
  • ci: implement automated PR test validation, tiered OS matrix, and unified status gatekeeper by @jav76 in #5
  • feat(client): add interactive click-to-sync lyric offset calibration and word-level tuning by @jav76 in #6
  • ci: convert code formatting to non-blocking advisory check and add .editorconfig ruleset by @jav76 in #7
  • feat(auth): support individual client authentication and multi-user playback isolation by @jav76 in #8
  • refactor: standardize codebase formatting, eliminate var, and enforce modern C# standards by @jav76 in #9
  • feat(client): add automatic reconnection poller for disconnected server states by @jav76 in #10
  • docs: add formal repository README with deployment and development guides by @jav76 in #11
  • feat(logging): Implement log4net framework, Roslyn method tracing, and global exception handling by @jav76 in #12
  • fix(auth): enforce strict client ...
Read more