Crates.io | braiin_clock |
lib.rs | braiin_clock |
version | 0.2.0 |
source | src |
created_at | 2023-01-14 11:58:56.7315 |
updated_at | 2024-01-31 13:57:37.659264 |
description | A CLI tool that allows you to broadcast current Braiins Pool bitcoin mining info from your user profile directly to your BlockClock Mini |
homepage | https://github.com/Bayernatoor/braiins_clock |
repository | https://github.com/Bayernatoor/braiins_clock |
max_upload_size | |
id | 758799 |
size | 60,993 |
A CLI tool that allows you to broadcast current Braiins Pool Bitcoin mining info from your user profile directly to your BlockClock Mini (https://blockclockmini.com/)
Sit back and see your sats get stacked.
Display the following tags:
Got requests for other tags? Open an issue.
First you'll want to obtain your Blockclock's IP address as well as a Braiins Auth Token.
Also note that the computer on which you run this script will have to be on the same network as the Blockclock.
This assume's that you have already setup your Blockclock Mini.
If you need your Blockclock's IP, press on the second button from the top right side of the Blockclock. You'll see an IP address, likely in the 5th square.
NOTE: You'll need to set your Blockclock to manual. To do so enter your Blockclock's IP address in the URL bar of a browser.
You now have access to your Blockclock's settings page. On the Display Page, go down to Display Preferences, set Screen Update Rate to Manual.
That is all!
Login here: https://pool.braiins.com/login
Keep that IP address and Auth Token handy. You'll be asked to enter those on startup
The binary for braiin clock is... believe it or not, braiin_clock. Once installed you'll enter braiin_clock in your terminal window to run it.
Currently the only way to install the binary is with cargo.
First install the rust toolchain - If you’re using Linux or macOS, open a terminal and enter the following command:
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh
For Windows users visit: https://forge.rust-lang.org/infra/other-installation-methods.html#other-ways-to-install-rustup
You'll need to download and run the rustup-init executable.
Once cargo has been installed you're ready to download the binary, run the following:
cargo install braiin_clock
To run the program enter the following in a terminal window: braiin_clock
The program will start.
If this command does not work make sure the .cargo/
directory is on your Path.
You'll be asked to enter you Braiins API Token and your Blockclock's IP address. If you enter this incorrectly or need to change it, just quit (CTRL+C) the program and restart it.
Follow the instructions --> Select the tags you want to display and press "q" after you've selected your desired tags. Select your desired refresh rate (5 minutes is best for me) and press enter. If you want to change any of these settings you'll want to press CTRL+C to exit the program and start over.
The Blockclock will display the tags in the selected order, continuously, until you exit the program, close the terminal or shutdown your computer.
This is a work in progress to help me learn Rust and Bitcoin so there may be bugs. Please open an issue if you run into any or if you'd like to see new features. Thank you :D