A simple example of how you can code a Console Web UI
git clone https://github.com/IsaacPar/DEV-WEBUI/
( requires Git )npm install
( requires Nodejs )- Refer to the Usage
- Start Server with NodeJS :
npm start
- Read it from the command line with
curl 127.0.0.1:5556
( requires Curl )
Good! Now you can see a beaultiful output in your console!
First of all, if you're asking this to yourself, i'm mostly sure that you haven't tried to use curl wttr.in
See, them work differently, but the concept of them is the same: Send some content to the user if it is in the terminal and send another one if it is in a browser.