Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thibautplg/rpi-web-controller
Light web app used to remote control a Raspberry using a web browser. Used for media generic controls.
https://github.com/thibautplg/rpi-web-controller
deezer picocss raspberry-pi webapp
Last synced: about 2 months ago
JSON representation
Light web app used to remote control a Raspberry using a web browser. Used for media generic controls.
- Host: GitHub
- URL: https://github.com/thibautplg/rpi-web-controller
- Owner: ThibautPlg
- Created: 2021-08-19T16:52:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-12T12:19:04.000Z (over 3 years ago)
- Last Synced: 2024-12-24T18:02:31.067Z (about 2 months ago)
- Topics: deezer, picocss, raspberry-pi, webapp
- Language: PHP
- Homepage:
- Size: 156 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RPI Deezer web controller
Light web app used to remote control a Raspberry playing deezer through a web browser.![Screenshot](.readme/screenshot.png)
Since my Raspberry Pi is plugged to my sound system and not specifically to a screen, I needed a simple way to control my music flow though a web page. This is exactly what this project is about.
Please note that it's made to work with Deezer, but the buttons are also working with standard media players. (Youtube, Twitch...) Although, you will miss the picture and title of the media played.
## Why is it cool ?
- Light and Dark theme
- 8kb project
- Lightweight cdn css library
- No fancy nodejs or php Composer needed## What you need
- `php`, obviously
- `playerctl` if not already installed on your Raspberry
- `amixer` if not already installed on your RaspberryI recommend using the deezer custom desktop build by **siphomateke**. [siphomateke/deezer](https://github.com/siphomateke/deezer)
## How to run
```
git clone https://github.com/ThibautPlg/RPI-web-controller.git
cd RPI-web-controllernohup php -S 0.0.0.0:9999 &> /dev/null &
```
The interface is reachable through {your-rpi-ip}:9999
> You can change the port, but you should never use "sudo" to run the php server, as it will lost the correct environment to run the media commands.You can also run this simple `index.php` on a nginx or an apache server.
## How to stop
```
pkill php
```