empede/README.md

30 lines
1.2 KiB
Markdown
Raw Normal View History

2023-04-27 14:07:48 +00:00
# Empede
**A web client for MPD.**
![Screenshot](screenshots/screenshot.webp)
2023-04-27 22:33:13 +00:00
## Configuration
Empede is configured using environment variables:
2023-04-28 10:49:07 +00:00
| Name | Default | Description |
| --------------- | ------------ | --------------------------------- |
| **MPD_HOST** | localhost | MPD server host |
| **MPD_PORT** | 6600 | MPD server port |
| **EMPEDE_BIND** | 0.0.0.0:8080 | Address for Empede to bind to |
2023-04-27 22:33:13 +00:00
2023-04-27 14:07:48 +00:00
## Running
2023-04-27 14:37:54 +00:00
### Linux
2023-04-27 14:40:41 +00:00
1. Download and extract the [latest release](https://git.sijman.nl/_/empede/releases)
2023-04-27 14:37:54 +00:00
2. Run `./empede` (To specify a host and port, run `MPD_HOST=ip MPD_PORT=6600 ./empede`)
3. Go to http://localhost:8080
2023-04-28 10:49:07 +00:00
### Windows
1. Download and extract the [latest release](https://git.sijman.nl/_/empede/releases)
3. Run `.\empede` in a PowerShell (To specify a host and port, first set the `$env:MPD_HOST` and `$env:MPD_PORT` variables)
3. Go to http://localhost:8080
2023-04-27 14:07:48 +00:00
### Building from source
1. Make sure Rust is installed (https://rustup.rs/)
2. Run `cargo run` (To specify a host and port, run `MPD_HOST=ip MPD_PORT=6600 cargo run`)
3. Go to http://localhost:8080