A CollabVM Bot written in Javascript
Important
Developement has been paused and will be likely to be continued once collabvm 3.0 has released.
cvmbotJS requires the following dependency to be installed onto your computer:
- nodeJS (Required - LTS Recommended)
- that's all :3
- Execute command by doing:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
nvm install 22
- Verify Node.JS and NPM is installed on your computer by executing these commands:
node -v # Prints out Node.JS version
npm -v # Prints out NPM Version
- Clone this repo onto your computer by doing
git clone https://github.com/cloudguy9/cvmbotJS.git
- Go to cvmbotJS folder and copy
config.example.toml
toconfig.toml
- Install dependencies by doing
npm i
- Configure the bot by editing the
config.toml
- Start the bot by doing
node .
ornode index.js
This bot has only been tested with CollabVM Server 1.2.ts! Might not work for 1.2.11
All code that i've taken from other sources has been labeled in JS Files.
- /files/Permissions.js - collab-vm-1.2.webapp/src/ts/protocol/Permissions.ts
- /files/Guacutils.js - collab-vm-1.2.webapp/src/ts/protocol/Guacutils.ts
- /index.js:93 - collabvm-1.2.ts/cvmts/src/Utilities.ts:26
Licensed in GNU GENERAL PUBLIC LICENSE Version 3 (GPL-3.0-or-later)