Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/totetmatt/bonzo_tool_scripts
BTS: Bonzo Tool Scripts
https://github.com/totetmatt/bonzo_tool_scripts
Last synced: 18 days ago
JSON representation
BTS: Bonzo Tool Scripts
- Host: GitHub
- URL: https://github.com/totetmatt/bonzo_tool_scripts
- Owner: totetmatt
- Created: 2022-01-22T08:35:14.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-10T09:51:07.000Z (11 months ago)
- Last Synced: 2024-03-11T00:34:43.478Z (11 months ago)
- Language: Rust
- Size: 200 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bonzo Tool Scripts (BTS)
Set of tool scripts for bonzomatic![alt text](./doc/imgs/main.jpg "Title")
Check here some [Tutorials](./TUTORIALS.md)
## Recorder
```
Record an entry from a websocket entrypointUSAGE:
bts.exe recorder [OPTIONS] --host --roomARGS:
HandleOPTIONS:
-h, --help Print help information
--host Host or Host:Port
-p, --protocol Protocol [default: ws]
--room Room
-V, --version Print version information
```## Replayer
```
Replay a saved entry to a websocket entrypointUSAGE:
bts.exe replayer [OPTIONS] --host --roomARGS:
Handles
Input Json fileOPTIONS:
-h, --help Print help information
--host Host or Host:Port
-p, --protocol Protocol [default: ws]
--room Room
--update-interval udpateInterval (ms) [default: 300]
-V, --version Print version information
```## Radio
```
Send multiple shader at certain interval form a given playlist to an entrypoint, like a radioUSAGE:
bts.exe radio [OPTIONS] --host --roomARGS:
Handle
Glob path of source files (playlist)OPTIONS:
-h, --help Print help information
--host Host or Host:Port
-p, --protocol Protocol [default: ws]
--room Room
--time-per-entry Time of boradcast per entry (ms) [default: 10000]
--update-interval udpateInterval (ms) [default: 500]
-V, --version Print version information
```Example :
```
bts.exe radio --host drone.alkama.com:9000 --room test radio_test demo\playlist\**\*.glsl
```And read with bonzomatic like this :
```
.\Bonzomatic_W64_GLFW.exe skipdialog networkMode=grabber serverURL=ws://drone.alkama.com:9000/test/radio_test
```A long running radio will be playing a mix of glsl from https://livecode.demozoo.org at this address: `ws://drone.alkama.com:9000/livecode/radio`
You can listen via bonzomatic via this command line :
```
.\Bonzomatic_W64_GLFW.exe skipdialog networkMode=grabber serverURL=ws://drone.alkama.com:9000/livecode/radio
```
## Server
```
Start a websocket serverUSAGE:
bts.exe server [OPTIONS]OPTIONS:
--bind-addr
Host or Host:Port [default: 0.0.0.0:9785]-h, --help
Print help information-s, --save-shader-dir
Directory where shaders are saved [default: ./shaders]--save-shader-disable
Disable shader autosave
```
## Todo :- Timeline ui to control the replay
I'm learning Rust and a potato developer on this language. Feel free to PR so I can learn :)