Inspiration
I wanted a way to people my terminal programs.
What it does
It is a web server that servers a webpage and uses web sockets to make something resembling a terminal.
How I built it
The back-end is written in Rust. I used the tokio crate for an asynchronous run time I used the warp crate for serving the HTML, CSS, JavaScript and WebSocket handshake.
Challenges we ran into
I found it difficult to make the window fit the text because the font size doesn't precisely match the actually size of the characters. I actually almost gave up at ~3am on Sunday because I was having trouble with the async WebSocket handling code and I was seeing any text in the window on the website.
Accomplishments that I'm proud of
I am proud that I didn't give up and was able to make it all work together.
What we learned
I learned a lot about handling sub-processes, async Rust and styling HTML (although its not that pretty).
What's next for Web Executor
I would like to fully implement it to be a pseudo terminal so that full screen terminal applications are able to run inside.
Log in or sign up for Devpost to join the conversation.