WTF: Terminal Edition
If you’d like to use WTF from your terminal, simply make an HTTP request with the Accept
header set to text/x-ansi
.
The output will be formatted using ANSI escape codes.
Send the format you want parsed as the q
parameter.
For example, using curl
:
curl https://format.wtf/?q=192.168.0.1/16 -H Accept:text/x-ansi
There is also an API available that returns the parsing results in JSON and XML. I don’t want to make it generally available with SLAs and uptime guarantees, so get in touch me with me if you’d like to use it for a personal or hobby project.