Using this bot can be exceedingly dangerous since you're basically granting people direct access to your shell.
Make sure you know what you're doing!
termview-example.mp4
Make sure you have cargo installed (might need nightly, but probably doesn't)
# Compile
cargo build --release
# Configure
export DISCORD_TOKEN=my-discord-token
export ALLOWED_ROLES=<id-of-role>
# Run
target/release/discord-termview
Edit build.sh
with your token and role-id
./build.sh run
- make sessions automatically expire (difficult)
- make the terminal move/repost if it's to far away (moderate)
- allow killing terminals (difficult)
- allow multi-line code blocks (easy)
- help message (easy)