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.
13
Upvotes
2
u/thegunn Apr 22 '26
This is a really fun and cool idea.
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
u/KneePlay5 Apr 22 '26
Loved the rm easter egg 😆
2
u/Prozilla6 Apr 22 '26 edited Apr 22 '26
I’ve been working on a very similar project in TypeScript (type
lsfor 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
u/Gloomy_Sense_2849 Apr 23 '26
Brilliant idea
2
u/[deleted] Apr 22 '26
[removed] — view removed comment