Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bdbai/win-remote-media-ctrl
Remotely control your Windows PC's media playback via LAN. Using a private key authentication to prevent replay attacks even through an unreliable channel.
https://github.com/bdbai/win-remote-media-ctrl
Last synced: about 1 month ago
JSON representation
Remotely control your Windows PC's media playback via LAN. Using a private key authentication to prevent replay attacks even through an unreliable channel.
- Host: GitHub
- URL: https://github.com/bdbai/win-remote-media-ctrl
- Owner: bdbai
- License: wtfpl
- Created: 2024-07-20T17:17:42.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-10-11T09:42:22.000Z (3 months ago)
- Last Synced: 2024-10-14T07:37:13.132Z (2 months ago)
- Language: Rust
- Size: 112 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# win-remote-media-ctrl
Remotely control your Windows PC's media playback via LAN. Using a private key authentication to prevent replay attacks even through an unreliable channel.
## Usage
1. Prepare a 512-bit private key.
```bash
cat /dev/urandom | head -c 64 | base64 > private_key.txt
```
2. Run the server from project root.
```bash
cargo run --release
```
3. Open `https://127-0-0-1.traefik.me:9201/` in your browser. Replace `127-0-0-1` with your server's IP address.> [!NOTE]
> Web Crypto API requires a secure context, therefore we abuse [traefik.me](https://github.com/pyrou/traefik.me) to cheat the browser. During server startup, the pem files from traefik.me are downloaded automatically. Use it at your own risk.4. Paste the private key into the input field under `Debug` section. It should take effect immediately.
5. Play around with the buttons.