Libra is a new, open, and extensible music service. Libra does what you want, how you want.
The current goal is to have LibraCore at a releasable state by the end of 2024.
Before anything else, you need to set up the database. Install one of the following databases and follow its steps:
SQLite
No additional steps are needed to use SQLite.
PostgreSQL
To create the PostgreSQL database, run the following commands:
sudo -u postgres createuser -P libra
sudo -u postgres createdb -O libra -E UTF-8 libra
Dependencies:
SQLite
orPostgreSQL
yt-dlp
andytmusicapi
for the YouTube sourceFFmpeg
To run all tests, run make test
.
If you don't have every supported database type installed, you can skip database tests by setting the following environment variables:
SKIP_SQLITE_TESTS
SKIP_POSTGRESQL_TESTS
In the future, the project aims for the following:
- A simple but powerful backend & API
- A beautiful and accessible frontend for all platforms, both web and native
- An opt-in playback syncing mechanism to share what is currently playing between applications on either one or every device
- A plugins system, so you can extend Libra even more than normal
- An Amazon Alexa skill
- An Obsidian plugin to control your music while taking notes