GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - juliocax/FrontLine-Lyrics-Desktop: It listens. It recognizes. It syncs. Real-time, synced lyrics for whatever is playing on your PC.

BranchesTags
Open more actions menu

Latest commit

 

History

252 Commits
252 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
FrontLine-Linux
FrontLine-Linux
 
 
Frontline
Frontline
 
 
FrontlinePackaging
FrontlinePackaging
 
 
FrontlineServer
FrontlineServer
 
 
docs
docs
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CONTRIBUTORS.md
CONTRIBUTORS.md
 
 
Frontline.sln
Frontline.sln
 
 
LICENSE.txt
LICENSE.txt
 
 
PRIVACY.md
PRIVACY.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
THIRD-PARTY-LICENSES.md
THIRD-PARTY-LICENSES.md
 
 
THIRD-PARTY-NOTICES.md
THIRD-PARTY-NOTICES.md
 
 

Repository files navigation

FrontLine Lyrics

Microsoft Store frontline-lyrics C# Python Contributors


Get it from Microsoft Store     Get it from the Snap Store



Example_1.mp4
FrontlineLyrics.mp4

Contents

  • About
  • Features
  • How It Works
  • Installation
  • Usage
  • Screenshots
  • Project Structure
  • Building From Source
  • Running Tests
  • Contributing
  • Support
  • License

About

FrontLine Lyrics displays synchronized song lyrics in an always-on-top desktop overlay. It can follow playback metadata from compatible media players or recognize music from system audio, then look up synchronized lyrics and show them as the song plays.

The project supports a Windows desktop frontend and a Linux frontend sharing a Python-based backend. Availability and integration details depend on the platform.

Features

  • Real-time synchronized lyrics in a customizable desktop overlay.
  • Song recognition using audio fingerprinting.
  • Automatic tracking from supported media sessions (Windows media sessions / Linux MPRIS).
  • Manual lyrics search and synchronization adjustments.
  • Live lyric translation, optional on-device translation models, and improved romanization.
  • Font, color, and theme customization, including seasonal themes.
  • Multiple interface languages.
  • Festival Mode with editable setlists and manual line synchronization (feature availability may vary by platform).
  • Optional anonymous telemetry; see PRIVACY.md.

How It Works

FrontLine Lyrics has two parts: a Python backend that handles recognition, lyrics, translation, and media integration, and a desktop frontend that displays the lyrics and communicates with the backend over a local WebSocket connection.

  • Windows: WPF / .NET frontend, with Windows media-session and WASAPI audio integration.
  • Linux: Avalonia / .NET frontend, with Linux-specific media and audio integration.

Installation

Windows

Install the official Windows version from the Microsoft Store.

Linux

Install the official Linux version from the Snap Store.

Usage

  1. Launch FrontLine Lyrics and start playing music.
  2. Use LISTEN to recognize a track, or enable AUTO to follow playback when supported.
  3. Use SEARCH to find lyrics manually.
  4. Adjust the overlay appearance, lyric size, and synchronization as needed.
  5. Use translation controls and other features available on your platform.

Screenshots

Home screen
Home screen
The initial screen when you open the overlay
Listening to a song
Listening
Recognizing what's currently playing
Synced lyrics
Synced lyrics
Lyrics scrolling in sync with the music
Festival mode
Festival Mode
Stepping through a show's setlist with manual line sync
Live translation
Live translation
Lyrics translated on the fly into another language
Manual sync adjustment
Manual sync
Nudging the lyrics into sync line by line

Project Structure

Frontline/                Windows desktop app (WPF)
FrontLine-Linux/          Linux desktop app (Avalonia) and packaging scripts
FrontlineServer/          Shared Python backend
FrontlinePackaging/       Windows packaging resources
.github/                  CI workflows
docs/                    Project website

Both desktop applications share the recognition and lyrics engine, with platform-specific integrations where necessary.

Building From Source

Both frontends use the shared FrontlineServer/ Python backend. Clone the project once:

git clone https://github.com/juliocax/FrontLine-Lyrics-Desktop.git
cd FrontLine-Lyrics-Desktop

Windows — Visual Studio

Requires Visual Studio 2022 with the .NET desktop development workload and the .NET 8 SDK.

  1. Open Frontline.sln in Visual Studio.
  2. Set Frontline (WPF) as the startup project and press F5.
  3. The Windows frontend starts its bundled Python backend automatically.

To rebuild the Windows backend, run this command from the repository root in PowerShell with desktop Python installed:

.\FrontlineServer\build-windows.ps1

The script creates or reuses the backend's .venv, installs the requirements and the Argos tokenizer, and runs PyInstaller in --onedir mode. Keep FrontlineServer/hooks/hook-sentencepiece.py in place so PyInstaller collects the Windows DLLs. The build is first written to FrontlineServer/dist/FrontlineServer/.

Close the running WPF app before building. The script replaces FrontlineServer.exe and the entire _internal directory in Frontline/FrontlineServer/. Once the new backend is in place, the script removes FrontlineServer/build/ and FrontlineServer/dist/. Rebuild or package the WPF app in Visual Studio afterward.

PowerShell execution policy

If PowerShell reports that build-windows.ps1 is not digitally signed, check the effective policy and its scopes:

Get-ExecutionPolicy
Get-ExecutionPolicy -List

With RemoteSigned, Windows can block a script downloaded from the internet. Review the script and verify its source before unblocking it. From the repository root, unblock only the build script and then run it:

Unblock-File -LiteralPath .\FrontlineServer\build-windows.ps1
.\FrontlineServer\build-windows.ps1

On your own PC, if the effective policy is Restricted and no Group Policy applies, you can allow local scripts in the current PowerShell session with Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned, then run the commands above. This setting expires when you close that session. If your organization requires signed scripts or sets MachinePolicy or UserPolicy, follow its policy. Unblocking a file does not sign it or satisfy AllSigned.

See PowerShell execution policies and Unblock-File.

Linux — Ubuntu / VS Code

Requires .NET 10 SDK, Python, Git, pulseaudio-utils, and playerctl. Current packages target amd64; Snap uses core26.

First-time setup (from the repository root):

sudo apt install -y pulseaudio-utils playerctl
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r FrontlineServer/requirements-linux.txt
dotnet restore FrontLine-Linux/FrontLine-Linux.csproj

Open the repository in VS Code. In terminal 1, start the Python backend:

source .venv/bin/activate
python FrontlineServer/FrontlineServer.py

In terminal 2, run the Avalonia frontend:

dotnet run --project FrontLine-Linux/FrontLine-Linux.csproj -c Debug

The backend uses 127.0.0.1:8765; do not start a second instance. Check the Release compilation with:

dotnet build FrontLine-Linux/FrontLine-Linux.csproj -c Release

To follow the backend log in real time, use:

tail -f ~/FrontLineLyrics/logs/frontline_server.log

Build a .deb (from the repository root, with .venv activated):

chmod +x FrontLine-Linux/packaging-deb/*.sh
./FrontLine-Linux/packaging-deb/build-deb.sh
sudo apt install ./FrontLine-Linux/dist-linux/frontline-lyrics_1.1.0-1_amd64.deb
frontline-lyrics

Build a .snap (also builds the intermediate .deb):

chmod +x FrontLine-Linux/packaging-deb/*.sh FrontLine-Linux/packaging-snap/*.sh
./FrontLine-Linux/packaging-snap/build-snap.sh 1.1.0
sudo snap install ./FrontLine-Linux/packaging-snap/frontline-lyrics_1.1.0_amd64.snap --dangerous
snap run frontline-lyrics

--dangerous permits installation of a locally built, unsigned Snap; it does not disable strict confinement. Some media integrations require user-approved connections:

snap connections frontline-lyrics
sudo snap connect frontline-lyrics:audio-record
sudo snap connect frontline-lyrics:mpris spotify:spotify-mpris

The MPRIS command applies only if your Spotify snap exposes spotify-mpris. Other players need their own connections. See FrontLine-Linux/packaging-snap/ for build and maintainer publishing scripts.

Running Tests

From the repository root, activate the Python environment, install the optional development requirements (when present), and run:

python -m pip install -r FrontlineServer/requirements-dev.txt
python -m pytest FrontlineServer/tests/

For Windows, use the platform-specific Python environment and dependencies from FrontlineServer/requirements.txt; for Linux use requirements-linux.txt. Tests may need updates if you change translation providers or platform integrations.

Contributing

Contributions and bug reports are welcome. Please see CONTRIBUTING.md and CODE_OF_CONDUCT.md.

Support

If FrontLine Lyrics is useful to you, consider supporting the project.

License

See LICENSE.txt for the repository's license terms and THIRD-PARTY-NOTICES.md for the Windows Python dependencies and add-ons.

About

It listens. It recognizes. It syncs. Real-time, synced lyrics for whatever is playing on your PC.

juliocax.github.io/FrontLine-Lyrics-Desktop/

Topics

desktop-applyricslyrics-finderlyrics-overlaylyrics-searchmusicmusic-recognitionmusic-recognition-windowsoverlayshazamspotifysynced-lyricswindows

Resources

Readme
GPL-3.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

15 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.