I have a static contents webpage, which is manually updated from time to time.
What I want to do is show the webpage's contents in a terminal without opening a web browser.
The page contents is pure HTML/CSS and contains no Javascript or any other features.
So, it contains a table like this:
| DATA | VALUE |
|---|---|
| Data1 | Value1 |
| Data2 | Value2 |
| Data3 | Value3 |
And so on. So, I would like the webpage to be queried and shown in the Terminal, like this:
+----------------------------------+---------+
| Data | Value |
+----------------------------------+---------+
| Data1 | Value 1 |
| Data2 | Value 2 |
| Data3 | Value 3 |
+----------------------------------+---------+
I saw this question in Ask Different Open website without actually opening it in browser from terminal, but it doesn't provide a solution to render the code. The accepted answer is just to use curl to download the page, but it throws the code in the terminal, which I want to avoid. Reason is that, code may be useful for developers, but the rendered page is useful for end users.
I can download the webpage with curl and save it to a local file, I am looking for a solution to show it in the terminal without using links, elinks, lynks, w3m, or any other terminal web browser.
Thanks for your help.