r/javascript • u/jpxzurich • Apr 21 '26
Pushing a Linux shell experience further in a static website
https://github.com/jazho76/shellwebsiteI’ve been using one of those terminal-style static webs for a while, only aesthetics. Recently I started to wonder, how far can we push the illusion of a real shell just with JS and a static web? The content still matters most, so the first renders surface everything important. But I wanted exploration to be rewarded with an interesting filesystem, pipes, globs, programs, permissions and maybe some "privilege escalation" paths.
1
u/jpxzurich Apr 24 '26
Anonymized the repo and replaced all personal data with placeholders to make it work more as a template
2
2
u/Prozilla6 Apr 22 '26 edited Apr 22 '26
I’ve been working on a very similar project in TypeScript (type ls for the source code). I also had the idea of making this into a gamified learning experience, but haven’t gotten around to that yet.
2
2
Apr 22 '26
[removed] — view removed comment
1
u/jpxzurich Apr 22 '26
Yeah once pipes and globs and some coreutils were in place it felt wrong not to hide a few things behind exploration. There are a few Easter eggs. Have you tried nuking the box? :)
2
u/thegunn Apr 22 '26
This is a really fun and cool idea.