Why make it?

I recently ran across a git repository containing a script called "Bashtop". Bashtop is a text GUI script that pulled and displayed all sorts of resource monitorization data for Linux systems. I thought it was really cool and wanted to try out building my own bash GUI.

What does it do?

The script builds out a dynamic and scalable table using special escaped ASCII characters. The UI is built into four parts, The GUI header which displays the section names like in Excel, the GUI body which contains the stock data, the GUI footer which closes the "box" and displays the controls, and the UI controls to select, delete, and add a stock symbol. For the logic, it uses a mix of curl and jq to pull stock data from IEX cloud.