Fetches information of Your profile On hackthebox in neofetch like output.
- Displays HTB avatar image inline in the terminal (requires
catimg) - Fetches profile data from the HTB API (
curl+jq) - Colorized, aligned terminal output (username, rank, owns, respects, team etc.. You can add more by your self!)
- You can add or remove fields as you want !
Install the following dependencies:
sudo apt install -y jq curl catimgcatimg is used for terminal image rendering. If you prefer another tool (e.g., chafa), modify the script accordingly.
- Clone or copy the script into a file named
htbfetch.sh. - Make the script executable:
chmod +x htbfetch- (Optional) Place it in your PATH:
sudo mv htbfetch /usr/local/bin/htbfetch- Change
USER_IDVariable in Script to Your Own User ID.
- Go to your hackthebox profile dashboard > click on share profile > copy the id