Hacker News new | ask | show | jobs
Show HN: My portfolio as a working terminal (vanilla JavaScript, one HTML file) (dzienko.dev)
3 points by Brosper 76 days ago
Built my personal site as a browser terminal. No frameworks, no build step — just one HTML file with ~1000 lines of vanilla JS.

Has a virtual filesystem you can navigate (ls, cd projects, cat cv.pdf), easter eggs, a tour command for non-technical visitors, and tracks what commands people actually type via Umami.

The interesting part: looking at real usage data to see what commands people try has been more fun than building it. Turns out recruiters type full frustrated sentences when lost.

3 comments

It would be nice if dark mode or light mode is applied based on browser setting. On my environment, it's hard to see dark terminal
good idea, I would add it right away!
Good idea. What's the trickiest part to implement in the virtual FS with just vanilla JS?
It's more like a magic than a real implementation. Originally it contained only basic commands, but I added some that users were complaining about.
Looking nice! Do you plan to support features like tab autocomplete?
It's working. If not, write me what commends are not working.