A minimal terminal-style personal website built with plain HTML, CSS, and JavaScript, hosted on GitHub Pages.
This project is meant to be easy to read, change, and adapt. It is intentionally small so people can learn how a simple website works without needing a large framework.
- Static website
- Terminal-style commands
- Easily editable text/content files
- GitHub Pages hosting
- Privacy-friendly traffic monitoring with GoatCounter
- No database
- No build step or package dependencies
- Fork or use this repository as a starting point.
- Edit the content files.
- Update the command list.
- Publish with GitHub Pages.
See customizing.md.
This site uses GoatCounter for simple, privacy-friendly traffic monitoring. The counter script is loaded in index.html from https://decyphered.goatcounter.com/count.
help- list available commandsclear- clear the screenwhoami- one-line identitygithub- public code and site sourcecontact- public contact pathprojects- print contents ofprojects.txtfilm- browse photo rollssite- show how the site is builtabout- print identity and current focus fromabout.txtvalues- print principles fromvalues.txtlogout- step away from the terminal. You stand up from the desk: the camera pulls back from the monitor, the live terminal shrinks into a CRT, and you're standing in a pixel-art log cabin on Big Lake. The room follows the clock in Anchorage (night / dusk / day out the window, snow falling past the window Nov-Apr, the woodstove lit Sep-May, the real time on the wall clock and the real moon phase). Extra words force them, e.g.logout night winterorlogout day summer. Hover the door, bookshelf, clock, window or stove to outline and name them (or step through them with←/→). They're where other parts of the site will open from; for now only the terminal does anything. Click the screen, pressq/Esc, or use[x] sit downto sit back down. The mouse turns your head a little; on touch screens, drag to look around.mtoggles synthesized sound (room tone, CRT whine, wind, the stove, the clock, a chair creak and footsteps) and-/+set the volume.
The film command also supports film list, film random, and film open <roll-id>.
Hidden Commands
sudo- don't even try it, budping- it'll come backaurora- try it on a clear nightpuck- drop the puckpuckies- send a rubber duck across the screenstandings- show AWHL intermediate standingsbiglake- sit by a campfire at Big Lake, Alaska. The scene follows live conditions at the lake: the time and today's sunrise/sunset, temperature, clouds, wind, snow, rain and fog (Open-Meteo), aurora when NOAA's Kp index is high enough, and the real moon phase. Extra words force conditions, e.g.biglake night snoworbiglake dusk aurora(night/dusk/day,clear/cloudy/snow/rain/fog/storm,aurora,frozen/thaw). In winter the lake freezes over. The fire burns down to embers over about ten minutes (it never goes out): any key or a tap adds a log, which smokes and catches a few seconds later, andp(or press and hold) pokes it for sparks. Rain dampens it and sizzles on the coals.wcycles the wind (live first),mtoggles sound and-/+set the volume. The sound is synthesized: a fire that crackles with the flames and ticks as it burns down, waves or singing lake ice, wind from the live weather, rain and thunder, loons on summer evenings and an owl on winter nights. iPhones mute it when the silent switch is on. On a foldable stood half-open on a table (tabletop posture), the horizon sits on the hinge: the sky and mountains stand up on the top half, the lake, beach and fire lie on the bottom half, and buttons on the beach add a log, poke the fire, change the wind and toggle sound. Not every browser reports the fold (iPhone Safari doesn't yet), so on roughly square touch screens like a foldable's inner display a[f] tabletopbutton switches to this layout by hand (unfoldswitches back,ftoggles it on any screen), and the choice is remembered.biglake tabletopforces the layout andbiglake flatturns it off.hinge- show what this browser reports about a foldable's fold (posture, hinge position, which APIs are available). Useful for checking a new device.
Use ArrowUp / ArrowDown to navigate input history, and Tab to complete command names (hidden commands never complete). Command names in help and URLs in output are clickable.
On touch screens, a row of quick-command buttons sits under the terminal, and full-screen modes (aurora, puck, film, biglake, logout) have a tappable [x] button. In puck, drag to move your stick and tap to pause.
Output is laid out for narrow screens too: wrapped lines continue under their value (key: value) or indent instead of at the left edge. On phones, output taller than the screen opens at its first line, and tapping a quick command closes the keyboard so it doesn't cover the result.
index.html- page, styles, and terminal logicbiglake.js- thebiglakecampfire scene, loaded only when the command runsbiglake-sound.js- the synthesized soundscape forbiglake, loaded only when sound is turned oncabin.js- thelogoutcabin: the stand-up transition, the room, its hotspots and sound, loaded only when the command runscustomizing.md- notes for adapting commands, content, style, photos, and publishingphotos/manifest.json- photo roll metadata used by thefilmcommandphotos/thumbs/- optimized thumbnail images for thefilmcommandphotos/full/- optimized full-size images for thefilmcommandabout.txt- content shown by theaboutcommandprojects.txt- content shown by theprojectscommandvalues.txt- content shown by thevaluescommandCNAME- custom domain configuration for GitHub Pagesfavicon.ico- icon for the browser tabandroid-chrome-512x512.png- PNG favicon/app icon
Add an entry to the commands object in index.html:
mycmd: {
description: " what it does",
run: () => print("hello")
}help picks it up automatically. The two leading spaces in description match the other visible commands so the help columns line up. See customizing.md for how output is formatted.
The code in this repository is available under the MIT License.
Personal content and branding should be adapted, not copied directly.