feishin-controls is a CLI project written in go to interact with feishin using its remote-types via websockets.
Download the release for your operating system.
You may need to set permissions on the file to be able to use it.
On Linux :
chmod +x feishin-controlsDownload config.yml from this repo, or create it manually with the same name. Then refer to the setup section
feishin-controls is a go project, which means you can easily build the executable for your operating system.
If you do not have go installed, look at the official install doc
Clone the project and cd into the new folder
git clone git@github.com:Marc-AntoineGelinas/feishin-controls.git
cd feishin-controls/Then, simply build the project
go build .
You will then have an executable that you can use for your os.
feishin-controls uses Feishin's remote control server. You first need to enable it in Feishin itself. At the time of writing, you need to go into Settings->General and toggle "Enable remote control server"
As you'll see underneath the control, there is also a port, username and password field. The default values respectively are 4333, feishin and a random unsecure password.
You can modify these values if needed, but if you do not care about authentication you can also leave the username and password fields blank. Only the port is required.
You'll use these values to initialize feishin-controls' config file. You can run
./feishin-controls initfor an interactive prompt where you'll be asked to fill in the parameters. Or you can use
./feishin-controls init [url] [username] [password]to directly pass the parameters and create the config file
You can then get a list of the different commands using
./feishin-controls -hTo have more info on a specific command, also use the -h flag
./feishin-controls previous -h