A Goval implementation, written in Bash.
First, clone this repo:
git clone https://github.com/lafkpages/bashval.git
cd bashval
To use Bashval, first download Replit's protocol buffer definitions from here.
Place the api.proto
file in a folder called proto
, in this repo's directory.
Then, download and install protoc
from here.
Also install hjson
from here.
Finally, install websocketd-node
:
npm install -g websocketd-node@^1.1.0
To run Bashval, use the following command:
./main.sh
Then, use the Replit debug pane to override the Goval endpoint, and set it to ws://localhost:4096
.