Settings

Theme

Show HN: My portfolio as a working terminal (vanilla JavaScript, one HTML file)

dzienko.dev

3 points by Brosper a month ago · 7 comments · 1 min read

Reader

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.

sh-cho a month ago

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

skrun_dev a month ago

Good idea. What's the trickiest part to implement in the virtual FS with just vanilla JS?

  • BrosperOP a month ago

    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.

bundie a month ago

Looking nice! Do you plan to support features like tab autocomplete?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection