Skip to content

MIISTERC/htbfetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

htbfetch

image

Fetches information of Your profile On hackthebox in neofetch like output.

✨ Features

  • 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 !

⚙️ Requirements

Install the following dependencies:

sudo apt install -y jq curl catimg

catimg is used for terminal image rendering. If you prefer another tool (e.g., chafa), modify the script accordingly.

🔧 Installation

  1. Clone or copy the script into a file named htbfetch.sh.
  2. Make the script executable:
chmod +x htbfetch
  1. (Optional) Place it in your PATH:
sudo mv htbfetch /usr/local/bin/htbfetch

Change USER_ID Variable.

  1. Change USER_ID Variable in Script to Your Own User ID.

How to Get Your User ID? Easy

  1. Go to your hackthebox profile dashboard > click on share profile > copy the id
image

About

Fetches information of Your profile On hackthebox in neofetch like output.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages