risk_and_safety_borat

Crates.iorisk_and_safety_borat
lib.rsrisk_and_safety_borat
version0.3.0
sourcesrc
created_at2023-11-02 16:47:10.068872
updated_at2024-01-26 16:08:20.229517
descriptionAn internal tool to enable Risk and Safety Solutions staff to monitor the availability of breakout rooms.
homepage
repositoryhttps://github.com/risk-and-safety/borat
max_upload_size
id1022940
size41,545
Drew Zemke (drewzemke-rss)

documentation

README

BORAT: the BreakOut Room Availability Tracker

This is a command-line client for BORAT. Not only can you check for open breakout rooms without leaving your desk, you can now do that without even leaving your terminal window! Surely this is the height of luxury.

Installation

If you're part of the Rust masterrace and have cargo installed, then it's just:

cargo install risk_and_safety_borat

Otherwise you'll have to use one of the pre-built binaries from the releases page. Right now those only exist for Intel and Apple Silicon Macs, but let me know if you want something else.

Also, because I'm not going to buy an Apple developer account for this, you'll have to jump through a few hoops here. Sorry. First, you'll need the GitHub CLI tool installed and authenticated using your RSS account.

# Download the latest release with `gh`. Make sure you pick the correct architecture:
#  `x86` is Intel, `aarch` is Apple Silicon. 
# For the output location, choose anywhere you like, but preferably somewhere on your $PATH 
#   like `/usr/local/bin/borat`.
gh release download -R risk-and-safety/borat --pattern borat-aarch --output /path/to/borat --clobber 

# Make it executable.
chmod +x /path/to/borat

Usage

You need to supply the URL for the BORAT API as an environment variable. Ask another RSS dev for it!

BORAT_URL=<borat-url> /path/to/borat

# For optimal experience, set `BORAT_URL` in your shell's environment variables 
# and store the binary on your $PATH. Then it's just
borat

# Pass a flag to persist the output and refresh every 30 seconds.
borat -p
Commit count: 0

cargo fmt