diff --git a/web/app/docs/post-install/optional/page.tsx b/web/app/docs/post-install/optional/page.tsx index 280e573..cb2d6ac 100644 --- a/web/app/docs/post-install/optional/page.tsx +++ b/web/app/docs/post-install/optional/page.tsx @@ -300,6 +300,79 @@ echo "clear && fastfetch" >> ~/.bashrc `} /> + +

+ + Install and Configure Figurine +

+ +

+ This option installs and configures Figurine, a tool that creates stylish ASCII text banners for your terminal, + displaying your hostname in a visually appealing 3D format. +

+ +

+ What it does: +

+ + +
+

Practical Use:

+

+ When managing multiple Proxmox nodes in a cluster, Figurine provides an immediate visual indication of which + node you're currently logged into. This helps prevent accidental commands on the wrong node and improves your + workflow when managing multiple servers. +

+
+ +

+ Example Output: +

+ +
+ Figurine Example Output +
+ +

This adjustment automates the following process:

+ /dev/null; then + rm -f "/usr/local/bin/figurine" +fi + +# Download and install Figurine +version="1.3.0" +file="figurine_linux_amd64_v\${version}.tar.gz" +url="https://github.com/arsham/figurine/releases/download/v\${version}/\${file}" +wget -qO "/tmp/\${file}" "\${url}" +tar -xf "/tmp/\${file}" -C "/tmp" +mv "/tmp/deploy/figurine" "/usr/local/bin/figurine" +chmod +x "/usr/local/bin/figurine" + +# Create welcome message script +cat << 'EOF' > "/etc/profile.d/figurine.sh" +/usr/local/bin/figurine -f "3d.flf" $(hostname) +EOF +chmod +x "/etc/profile.d/figurine.sh" + `} + /> + +

+ After installation, you'll see your hostname displayed in 3D ASCII art each time you log in, making it + immediately clear which Proxmox node you're working on. +

+

Automatic Application