A Discord Bot that renders GLSL shaders
The Bot can be run from a Raspberry Pi 4B.
- Raspberry Pi 4B
- Kernel with 64 bit support
- Debian sid arm64 schroot (
debootstrap --arch=arm64 sid /<path to your schroot>
) - Vulkan driver installed inside the schroot (https://www.raspberrypi.org/forums/viewtopic.php?t=289168)
Note: You probably won't need a schroot if you are using a 64 bit system already, but I only tried it using schroot.
- Enter your schroot:
schroot -c chroot:sid64
- Clone the repository recursively:
git clone --recursive https://github.com/JnCrMx/VulkanBot
- Change into the repository:
cd VulkanBot
- Edit
external/sleepy-discord/include/sleepy_discord/server.h
and changeNotSet = '\xFE', //-2 in hex
in line126
toNotSet = -2,
(see https://github.com/yourWaifu/sleepy-discord/blob/ec255f7c879daed3de0df5cdedee17b4d558c927/include/sleepy_discord/server.h#L126) - Create a
build/
directory:mkdir build/
- Change into this directory:
cd build/
- Create the build files with CMake:
cmake ..
- Build:
make -j4
- Copy (or link)
vulkan_bot
andshaders/
into your prefered run directory. - Copy
config.example.json
from this repository toconfig.json
in your run directory and customize it.