Last active
January 3, 2023 04:23
-
-
Save stefanocudini/004d07c03dcd212ee7f9fb8366ea6b8b to your computer and use it in GitHub Desktop.
web colored interface for htop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# requirements: apt install nmap htop aha | |
# (aha is ANSI color to HTML converter) | |
ncat -k -l -p 9999 -c "echo 'HTTP/1.1 200 OK\nContent-type: text/html\nconnection: close\\n'; echo q | htop | aha --black --line-fix" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
open htop via web browser