Bastille is a free and open source Javascript sandboxed runtime based on the Google V8 engine and inspired by Cloudflare workers. It is designed to handle unsafe code and allow multiple executions at once. This is designed to open API access to some discord endpoints to allow custom scripting, it does not handle event dispatching, it is just the worker.
Has been tested on Ubuntu linux
git clone https://github.com/switchbladebot/bastille.git
cd bastille
bash setup.sh
cmake CMakeLists.txt
cmake --build cmake-build-debug --target Bastille -- -j4
- Javascript VM
- Native module support
- REST Server
- Authorization
- Endpoints
- Standard Library
- Console
- Fetch
- Discord