While this question seems like its asking for code, its not; exactly, which is why its here instead of SO.
I'm designing a RPG game in bash, a lot of things that an RPG game would need, fixed displays, and etc. Worked in HTML, so I thought "Why not use a text based web browser too parse and display the HTML files" I looked into links, lynx, w3m, and elinks. But I couldn't find a way too have the web browser take a HTML button, trigger a bash based script too run.
Is this too advanced? Or is there some other way if doing this without requiring a online aspect to it.