Skip to main content

Youtube-based Karaoke machine for Raspberry Pi, OSX, Windows, and Linux

Project description

PiKaraoke

Conventional Commits

PiKaraoke is a "KTV"-style karaoke song search and queueing system. It connects to your TV, and shows a QR code for computers and smartphones to connect to a web interface. From there, multiple users can seamlessly search your local track library, queue up songs, add an endless selection of new karaoke tracks from YouTube, and more. Works on Raspberry Pi, OSX, Windows, and Linux!

If you want to support this project with a little monetary tip, it's much appreciated:
Buy Me A Coffee

Table of Contents

Features

Feature Description
Web Interface Multiple users can queue tracks from their smartphones
Player/Splash Screen Connection QR code and song queue metadata
Searching/Browsing Search and rowse a local song library
Adding New Songs Add new songs from Youtube
mp3 + cdg Support CDG file support, supports compressed .zip bundles
Playback Controls Pause, Skip, Restart, and volume control
Queue Management Manage the song queue and change the order
Key Change / Pitch Shifting Adjust the pitch of songs
File Management Advanced editing of downloaded file names
Admin Mode Lock down features with admin mode
Headless Mode Run a dedicated pikaraoke server and stream to remote browser

Supported Devices / OS / Platforms

  • Raspberry Pi
    • Requires a Raspberry Pi Model 3 or higher
    • Bookworm Desktop OS required for standalone/headed mode
    • For Pi 3: overclocking is recommended for smoother playback
  • OSX
  • Windows
  • Linux

Docker instructions

For Docker users, you can get going with one command. The deployed images includes everything you need to run in headless mode:

docker run vicwomg/pikaraoke:latest

For more information, see official Dockerhub repo

Native installation

Install required programs

Pikaraoke requires Python 3.9 or greater. You can check your current version by running python --version.

Python downloads

Raspberry Pi OS / Linux distros with apt:

sudo apt-get install ffmpeg -y
sudo apt-get install chromium-browser -y
sudo apt-get install chromium-chromedriver -y

Chromium/Chromdriver is optional if you're running with the --headless option.

Windows / OSX / Linux:

Install pikaraoke via pip

Globally or within a virtual env:

# Install pikaraoke from PyPi
pip install pikaraoke

Note: if you did not use a venv, you may need to add the --break-system-packages parameter to ignore the warning and install pikaraoke and its dependencies globally. You may experience package conflicts if you have other python programs installed.

Run

Pikaraoke is now installed in the $PATH with the command line interface pikaraoke. Start by calling the pikaraoke command.

# Run pikaraoke
pikaraoke

This will start pikaraoke in headed mode, and open Chrome browser with the splash screen. You can then connect to the QR code via your mobile device and start downloading and queueing songs.

Virtual env users: note that if you close your terminal between launches, you'll need to reactivate your venv before running pikaraoke.

More Options

See the help command pikaraoke --help for available options.

Screenshots

pikaraoke-nowplaying pikaraoke-queue pikaraoke-browse pikaraoke-search1 pikaraoke-search2
pikaraoke-tv2

Developing pikaraoke

The Pikaraoke project utilizes Poetry for dependency management and local development.

  • Install poetry: Poetry
  • Git clone this repo

From the pikaraoke directory:

# install dependencies
poetry install
# Run pikaraoke from the local codebase
poetry run pikaraoke

If you don't want to install poetry, you can alternately install pikaraoke directly from the source code root:

pip install .

See the Pikaraoke development guide for more details.

Troubleshooting and guides

See the TROUBLESHOOTING wiki for help with issues.

There are also some great guides on the wiki to running pikaraoke in all manner of bizarre places including Android, Chromecast, and embedded TVs!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pikaraoke-1.10.0.tar.gz (7.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pikaraoke-1.10.0-py3-none-any.whl (7.8 MB view details)

Uploaded Python 3

File details

Details for the file pikaraoke-1.10.0.tar.gz.

File metadata

  • Download URL: pikaraoke-1.10.0.tar.gz
  • Upload date:
  • Size: 7.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pikaraoke-1.10.0.tar.gz
Algorithm Hash digest
SHA256 3b5bef6f6259d5df6801a847c9a161831006ec4df84bfad045293c1696e75477
MD5 2dadddd6505cbe1cb4b4305217cc74f8
BLAKE2b-256 f7953a21a593f957039b6e26e366a9fe6b3bc418d2a084fdfc04030963c0be66

See more details on using hashes here.

Provenance

The following attestation bundles were made for pikaraoke-1.10.0.tar.gz:

Publisher: release-please.yml on vicwomg/pikaraoke

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pikaraoke-1.10.0-py3-none-any.whl.

File metadata

  • Download URL: pikaraoke-1.10.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pikaraoke-1.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac8183570b27199ffd0c9e09a6efee13d9136ea138684751e5d7a584cd2a3ad7
MD5 c2172a90fee6c41c5d421756a5e7e562
BLAKE2b-256 c2e3ae112597747f506479d1f0e7e11de9d31fbc4572d3f43a6629bcd281dcbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pikaraoke-1.10.0-py3-none-any.whl:

Publisher: release-please.yml on vicwomg/pikaraoke

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page