"brb" is a terminal live streaming tool that lets your viewers know that you are currently away in a unique way!
- Countdown
- Your viewers know when you'll be back!
- Live Twitch chat
- Displays Twitch name colors
- No authentication is required
- Current song display
- Configurability
- Automatically execute commands on start or exit
- Hide elements
- Change text
- Change colors
- Adjustable padding
- Lightweight
- ~6MB RAM no chat, ~10MB with chat
Head to the releases page and search for the latest release.
You are presented with multiple ways to install brb:
- Shell script
- Useable on Linux and macOS
- No extra software required
- No automatic updates
- Powershell script
- Usable on Windows
- No extra software required
- No automatic updates
- Homebrew
- Usable on Linux and macOS
- Extra software required (homebrew)
- Automatic updates
Alternatively, if you have Rust installed, you can compile yourself:
cargo install --git https://github.com/GHaxZ/brb.git
To run brb just enter, well:
brb
Set a countdown by entering an amount of hours, minutes, or seconds:
brb 1h 23m 45s
To set a text use:
brb -t "Hello world!"
To set accent color
brb --color red
or
brb --color 255,0,0
To see all available commands, you can run:
brb -h
Using the right arguments every time is annoying, so instead, you can use a configuration file.
Depending on your OS, put the configuration file in:
- Linux: ~/.config/brb/brb.toml
- Windows: %APPDATA%\brb\brb.toml
- macOS: ~/Library/Application Support/brb/brb.toml
Or use the --dir
argument to check the correct location.
# Set custom color
# Either choose from black, red, green, yellow, blue, magenta, cyan, or white:
color = "red"
# Or define a custom RGB color:
# color = { r = 95, g = 126, b = 255 }
# Set the Twitch channel name for the chat
twitch_channel = "ghax_z"
# Set the text in the center
text = "Be right back"
# Enable/disable the chat
chat = true
# Enable/disable the current song display (requires "spotic" to be installed)
# Check out "https://github.com/GHaxZ/spotic" for more information
song_display = true
# Hide the timer after the time is up
hide_timer = true
# Enable/disable the progress bar
progress_bar = true
# Adjust the outer padding
padding = 1
# Commands which will execute in order at start
start_commands = ["sc vo +10", "echo 'Be right back' > status.txt"]
# Commands which will execute in order when exiting
exit_commands = ["sc vo -10", "echo '' > status.txt"]
Contributions are always welcome!
Please make sure you somewhat adhere to the codebase style and document your code, especially in hard-to-understand areas.
Thanks!
In case you encounter any issues or have a feature you want to see, please open a github issue. I'll do my best to fix things!
This project is licensed under the MIT license.