Unofficial IPC wrapper & command-line controller for MPV, the video player https://notashelf.github.io/mpvrc/
  • Rust 96.7%
  • Nix 3.3%
Find a file
2025-02-05 03:17:41 +03:00
.github/workflows ci: serve the correct dir for documentation 2025-02-05 03:17:41 +03:00
nix nix: remove duplicate arg in shell 2025-02-05 03:03:31 +03:00
src move bind address to clap args; better env handling for credentials 2025-02-05 03:03:10 +03:00
.envrc nix: init tooling 2024-12-22 18:44:11 +03:00
.gitignore initial server implementation 2024-12-22 19:12:35 +03:00
Cargo.lock initial server implementation 2024-12-22 19:12:35 +03:00
Cargo.toml set default-run to CLI impl 2024-12-22 19:13:33 +03:00
flake.lock nix: init tooling 2024-12-22 18:44:11 +03:00
flake.nix nix: init tooling 2024-12-22 18:44:11 +03:00
LICENSE Initial commit 2024-12-15 18:26:38 +00:00
README.md docs: mention AUTH_TOKEN env var 2024-12-22 19:25:00 +03:00

Creating a PKCS#12 certificate file using OpenSSL:

openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
openssl pkcs12 -export -out identity.pfx -inkey key.pem -in cert.pem

Before running the server:

export TLS_PFX_PATH=/path/to/identity.pfx
export TLS_PASSWORD="your_identity_passphrase"
export AUTH_TOKEN="your_auth_token"

How you handle environment is up to you, Systemd makes it somewhat easy.