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 - Danieljsem/dom-music-album-player: Fullscreen Electron music album player with synced lyrics

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
songs
songs
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
electron.vite.config.js
electron.vite.config.js
 
 
package.json
package.json
 
 

Repository files navigation

DOM Music Album Player

A fullscreen desktop music player built with Electron, Vite and React. It was created to showcase a music album: each track lives in its own folder with audio, cover art and lyrics, and the app presents them with an animated rotating 3D album-cover cube, an ambient blurred background and synchronized, karaoke-style lyrics.

Note on content: This repository contains only the player software. The actual album audio, cover images and song lyrics are not included — they are the copyrighted creative work of the artist and are intentionally kept out of the repo (see .gitignore). Drop your own files into the songs/ folders to run it.

Features

  • Track selector grid that scans the songs/ directory at runtime
  • Playback controls with a seekable progress bar
  • Animated 3D rotating cube using two cover images, sized from the cover's natural aspect ratio
  • Ambient blurred cover background with a vignette
  • Synchronized lyrics display driven by a per-song lyrics.json
  • Built-in Sync mode: play a track and tap Enter on each line to record timestamps, then save them back to lyrics.json
  • Adjustable lyrics timing offset
  • Keyboard shortcuts: Space play/pause, F fullscreen, H hide UI, Esc back, arrows offset
  • Auto-hiding controls during playback
  • Custom secure song:// Electron protocol for serving local media

Tech stack

  • Electron 40 + electron-vite + electron-builder
  • React 19
  • Plain CSS (no UI framework)

Project structure

src/
  main/index.js            Electron main process: window, song:// protocol, IPC (scan/lyrics)
  preload/index.js         contextBridge API exposed to the renderer
  renderer/
    index.html
    src/
      App.jsx
      main.jsx
      components/
        Player.jsx         The whole player UI and logic
        Player.css
songs/                     One folder per track (media kept out of git)

Adding a song

Create a folder under songs/ (the folder name becomes the track title) and add:

  • track.wav or track.mp3 — the audio
  • cover1.png and optionally cover2.png — cover art (used on the 3D cube faces)
  • lyrics.txt — one line per lyric; optional [Section] headers label line types
  • lyrics.json — generated by the in-app Sync mode; schema:
{
  "title": "Song Title",
  "artist": "Artist",
  "lyrics": [
    { "time": 12.3, "text": "First line", "type": "verse" }
  ]
}

Development

npm install
npm run dev        # run in development
npm run build      # build main/preload/renderer
npm run dist       # build and package a Windows app (electron-builder --dir)

License

MIT — see LICENSE. The license covers the player source code only, not any album media you add to the songs/ folders.

About

Fullscreen Electron music album player with synced lyrics

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — 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.