Upvotes this month: 0
A Discord bot that will let you run commands in Docker containers. In other words, you can create a totally isolated computer, optionally with preinstalled programs, per channel.
Here are some of the commands you can use, and what they do:
$ infowill show some info about Term, and also list the commands
$ createwill create a container for the current channel if one doesn’t exist
$ removewill remove the current channel’s container if it exists
$ run <command>will run bash commands in the current channel’s container
Term supports creating containers with preinstalled commands. We call the collections of tools associations.
Below are our current associations. Feel free to open an issue or merge request if you’d like more.
python3: Python version 3 with
python2: Python version 2 with
node: A NodeJS environment with
docker: Docker within Docker, for Dockerception
perl: Just a perl environment
ruby: A Ruby environment with
alpine: Alpine Linux, with updated package lists
ubuntu1804: Ubuntu 18.04; make sure to run
ubuntu1810: Ubuntu 18.10; also make sure to run
archlinux: A basic Arch Linux installation
golang: a fully working Go setup
To use an association, for example
$ create python.