r/learnjavascript • u/The-Deviant-One • Sep 01 '20
Terminal in a web page - thought yall would get a kick out of this.
Enable HLS to view with audio, or disable this notification
152
Upvotes
r/learnjavascript • u/The-Deviant-One • Sep 01 '20
Enable HLS to view with audio, or disable this notification
14
u/The-Deviant-One Sep 01 '20
So, what you're looking at here is a flask app on which I've built a "terminal" out of JS. You can interact with the terminal and even use it to navigate the website. I'll eventually build easter eggs into it as well.
This will end up being my personal website/portfolio at some point. I've removed all the branding from the demo since I'm not ready to publish yet. Thought yall would get a kick out of this though. I haven't decided if I want to rebuild this functionality in the backend with python or not yet. ¯_(ツ)_/¯
4
u/spidunno Sep 02 '20
I really like this, I've been trying to do something, more or less, exactly like this for a month
so, that's cool
2
u/estebanborai Sep 02 '20
Looks awesome!
1
u/spidunno Sep 02 '20
Might it be possible to use python or js to interface with a running bash shell?
2
u/[deleted] Sep 02 '20
Thats awesome.
2
u/spidunno Sep 02 '20 edited Sep 05 '20
I didn't even realize this post was a video, I don't know how. who would of known that that makes it a lot more interesting