<story><title>Showing GUIs from Shell Scripts</title><url>https://sixtyfps.io/blog/showing-guis-from-shell-scripts.html</url></story><parent_chain></parent_chain><comment><author>abdusco</author><text>I usually add bottle.py[0] in my project (it&amp;#x27;s single file!) and add a simple HTML form with a submit button. When I need to show a UI, I start a server, open up the URL and when the form is submitted, I shutdown the server and continue executing the script.&lt;p&gt;Using HTML means I can start off with plain HTML and no style (except user-agent) and keep building on it (change font, center it in the page, etc.). I can keep HTML, JS, CSS on the same page, add AlpineJS[1] if I need a reactive UI and so on.&lt;p&gt;The only thing missing is that I can&amp;#x27;t close the tab using JavaScript when it&amp;#x27;s finished, so the user (usually me) has to close it himself.&lt;p&gt;[0]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;bottlepy.org&amp;#x2F;docs&amp;#x2F;dev&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;bottlepy.org&amp;#x2F;docs&amp;#x2F;dev&amp;#x2F;&lt;/a&gt;&lt;p&gt;[1]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;alpinejs.dev&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;alpinejs.dev&lt;/a&gt;</text></comment>
<story><title>Showing GUIs from Shell Scripts</title><url>https://sixtyfps.io/blog/showing-guis-from-shell-scripts.html</url></story><parent_chain></parent_chain><comment><author>djrockstar1</author><text>Related: Gooey[1] for turning python scripts into GUIs&lt;p&gt;[1] &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;chriskiehl&amp;#x2F;Gooey&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;chriskiehl&amp;#x2F;Gooey&lt;/a&gt;</text></comment>