1
0
Fork 0
forked from Elijah/AudioBot
small fix to make it actually work
Find a file
2024-01-26 19:42:18 -05:00
src check if voice connection is actually open 2024-01-25 22:29:32 -05:00
.gitignore init 2024-01-25 22:08:47 -05:00
.npmrc init 2024-01-25 22:08:47 -05:00
audio.c init 2024-01-25 22:08:47 -05:00
config.example.json init 2024-01-25 22:08:47 -05:00
index_old.js init 2024-01-25 22:08:47 -05:00
name.c init 2024-01-25 22:08:47 -05:00
package.json Update package.json 2024-01-26 19:42:18 -05:00
README.MD init 2024-01-25 22:08:47 -05:00
tsconfig.json init 2024-01-25 22:08:47 -05:00

AudioBot

A simple bot that relays audio from a QEMU VM to a Discord call. Developed for use with CollabVM.

External dependencies

  • libvncclient

Running

  1. Install depencencies: npm i
  2. Build the typescript: npm run build
  3. Build the C binaries: (TODO: Add build system)
    • mkdir bin
    • gcc audio.c -lvncclient -o bin/audio
    • gcc name.c -lvncclient -o bin/name
  4. Copy config.example.json to config.json, and fill out your discord token and client ID, as well as a list of available VMs and their VNC servers
  5. Run it: node build/index.js

Credits

  • QEMU Audio/C portion: DarkOK
  • Discord bot/TypeScript portion: Elijah R