#agent #playit #protocols #messages #gg #version

playit-agent-proto

Contains the protocol messages for a playit.gg agent

6 releases (3 stable)

1.1.1 Sep 27, 2024
1.1.0 Aug 26, 2024
0.15.14 Aug 6, 2024
0.1.0 Aug 6, 2024

#457 in Network programming

Download history 289/week @ 2024-08-06 4/week @ 2024-08-13 110/week @ 2024-08-20 92/week @ 2024-08-27 5/week @ 2024-09-10 3/week @ 2024-09-17 166/week @ 2024-09-24 22/week @ 2024-10-01 8/week @ 2024-10-08

204 downloads per month
Used in playit-agent-core

BSD-2-Clause

35KB
871 lines

The playit program

Looking for version 0.9.x? See this branch.

Installing on ubuntu or debian

curl -SsL https://playit-cloud.github.io/ppa/key.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/playit.gpg >/dev/null
echo "deb [signed-by=/etc/apt/trusted.gpg.d/playit.gpg] https://playit-cloud.github.io/ppa/data ./" | sudo tee /etc/apt/sources.list.d/playit-cloud.list
sudo apt update
sudo apt install playit

Getting a warning in apt about playit's repo? Run these commands

sudo apt-key del '16AC CC32 BD41 5DCC 6F00  D548 DA6C D75E C283 9680'
sudo rm /etc/apt/sources.list.d/playit-cloud.list
sudo apt update

curl -SsL https://playit-cloud.github.io/ppa/key.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/playit.gpg >/dev/null
echo "deb [signed-by=/etc/apt/trusted.gpg.d/playit.gpg] https://playit-cloud.github.io/ppa/data ./" | sudo tee /etc/apt/sources.list.d/playit-cloud.list
sudo apt update

Note Please only use the playit program if you downloaded if from an offical source or are compiling and running from source.

Building / Running Locally

Requires Rust: https://rustup.rs Run using cargo run --release

Docker

docker run --rm -it --net=host -e SECRET_KEY=<secret key> ghcr.io/playit-cloud/playit-agent:latest

[!NOTE] Secret key can be generated here.

Dependencies

~0.9–1.6MB
~35K SLoC