- An in-studio dashboard for WBOR 91.1 FM, Bowdoin College's student-run radio station.
- Runs on a little CRT monitor in the on-air studio.
- Want to contribute, or have any questions? Get in touch here.
Demo.mp4
homebrew
(macOS):
brew install rust sdl2 sdl2_image sdl2_ttf
dnf
(Fedora):
sudo dnf install rust cargo SDL2-devel SDL2_image-devel SDL2_ttf-devel
apt-get
(Raspbian):
# Doing this just because `apt-get` only has an outdated version of the toolchain:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev
Assuming you've cloned the project and installed the required dependencies, run the following from the project's root folder:
cargo run --release
Or, with logging enabled:
RUST_LOG=wbor_studio_dashboard cargo run --release
The current themes are:
standard
barebones
retro_room
You can change the theme in app_config.json
.
If you want to make a new theme, start off by modifying standard
. Make sure that it doesn't differ too much by running diff standard.rs <YOUR_NEW_THEME.rs> --color=auto
.
- To delete recent Twilio messages, use
delete_twilio_msgs.sh
. Change the number of messages to delete in the script, and it'll delete that number of messages one-by-one. - To send surprises to the dashboard (images that appear for a certain amount of time, with certain chances of appearing at any second), use
trigger_surprise.sh
. Just pass it the name of a surprise that you've set up indashboard.rs
, and it'll send it over a local socket which the dashboard reads from.