blueprint-tui is an unofficial TUI tool for managing Blueprint extensions. It's quite basic, but might come useful to a few people c:
I've never really coded a proper TUI in bash, and I really wanted an excuse to experiment with charmbracelet/gum.
Requirements
- A Linux machine
- Blueprint
- A Pterodactyl panel (if you got Blueprint installed you likely also got Pterodactyl :P)
bashscreen, to open up terminal "screens"gum, for the fancy menus (installation instructions here!!)
First, clone the blueprint-tui repository to your local machine. This is blueprint-tui's installation directory. You can use a different directory to the one used in the command below, if you know what you are doing.
git clone https://github.com/prplwtf/blueprint-tui.git ~/.blueprint-tuiTo run blueprint-api, you have to make it executable.
chmod +x ~/.blueprint-api/tui.shIn your ~/.bashrc or ~/.zshrc, create an alias for ~/.blueprint-tui/tui.sh to run it more easily.
# When using bash
echo "alias blueprint-tui=\"~/.blueprint-tui/tui.sh\"" >> ~/.bashrc
# When using zsh
echo "alias blueprint-tui=\"~/.blueprint-tui/tui.sh\"" >> ~/.zshrcFinally, source the shell config to apply the alias to your current session.
# When using bash
source ~/.bashrc
# When using zsh
source ~/.zshrcYou can now run blueprint-tui. It will automatically detect your Blueprint installation. (if it ever doesn't, don't worry, you'll know)
blueprint-tui