Skip to content
This repository was archived by the owner on May 16, 2022. It is now read-only.

SwitchbladeBot/bastille

Repository files navigation


Bastille

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.

Build

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

Roadmap

  • Javascript VM
  • Native module support
  • REST Server
    • Authorization
    • Endpoints
  • Standard Library
    • Console
    • Fetch
    • Discord

About

Sandboxed scripting environment for Switchblade

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors