Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 entrypoint

USAGE:
bts.exe recorder [OPTIONS] --host --room

ARGS:
Handle

OPTIONS:
-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 entrypoint

USAGE:
bts.exe replayer [OPTIONS] --host --room

ARGS:
Handles
Input Json file

OPTIONS:
-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 radio

USAGE:
bts.exe radio [OPTIONS] --host --room

ARGS:
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 server

USAGE:
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 :)