Skip to content

WBOR-91-1-FM/wbor-studio-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WBOR's On-Air-Studio Dashboard

  • 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.

Dependencies

  • 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

Build and Run

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

Scripts

  • 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 in dashboard.rs, and it'll send it over a local socket which the dashboard reads from.

About

A radio show dashboard that runs on a CRT in the WBOR studio.

Topics

Resources

License

Stars

Watchers

Forks