Crates.io | risk_and_safety_borat |
lib.rs | risk_and_safety_borat |
version | 0.3.0 |
source | src |
created_at | 2023-11-02 16:47:10.068872 |
updated_at | 2024-01-26 16:08:20.229517 |
description | An internal tool to enable Risk and Safety Solutions staff to monitor the availability of breakout rooms. |
homepage | |
repository | https://github.com/risk-and-safety/borat |
max_upload_size | |
id | 1022940 |
size | 41,545 |
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.
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
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