HTTP music dashboard to control playback via playerctl and display lyrics.
Project description
Lyri
HTTP music dashboard to control playback via playerctl and display lyrics.
Description
Provides a Sanic web application and helper class to manage playback via playerctl.
The web application is hosted using Sanic, which provides endpoints to query player information from playerctl via PyGObject bindings. Lyrics are fetched using syncedlyrics.
Player information is pushed to the client over a WebSocket.
No external JavaScript libraries are requried.
Installation
After cloning the repository with: git clone https://github.com/Zedeldi/lyri.git
Build
- Install project:
pip install . - Run:
lyriorsanic lyri.server -H <host> -p <port>
Development
- Install dependencies:
pip install -r requirements.txt - Run:
python -m lyriorsanic lyri.server --dev -H <host> -p <port>
Libraries:
- PyGObject - GObject bindings
- Sanic - web framework and server
- syncedlyrics - lyrics fetcher
Credits
- Bootstrap Icons - icons
- Google Fonts - fonts
License
lyri is licensed under the MIT Licence for everyone to use, modify and share freely.
This project is distributed in the hope that it will be useful, but without any warranty.
Donate
If you found this project useful, please consider donating. Any amount is greatly appreciated! Thank you :smiley:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lyri-1.2.0.tar.gz.
File metadata
- Download URL: lyri-1.2.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4c870b54767086a2d787d05ce6d327397b8da66af6614d1c17065fa8b4d4e76
|
|
| MD5 |
b972729487de5d30afcde97d099429f2
|
|
| BLAKE2b-256 |
e78644de618096ec449230618e6ac7afb63e156ed8409740531514f0a65fd69f
|
File details
Details for the file lyri-1.2.0-py3-none-any.whl.
File metadata
- Download URL: lyri-1.2.0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86c7d33fc99f81c305f653c08e4f51121bb40438c0d8d95a8c325175ea699542
|
|
| MD5 |
1f19172aff042ef055155cdc1387028f
|
|
| BLAKE2b-256 |
e878c9d94255454ff4d88cabcefb9207c651729a47bc96b50f1a512d68ababc0
|