1
0
Fork 0
forked from Elijah/AudioBot
small fix to make it actually work
Go to file
2024-01-25 22:16:04 -05:00
src forgot to uncomment that oopsies 2024-01-25 22:16:04 -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 init 2024-01-25 22:08:47 -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