Skip to content

About

My website

Resources

Stars

1 star

Watchers

2 watching

Forks

Repository files navigation

Personal Website

endoftime.works: a small desktop OS in the browser ("EndOS"). A real terminal, windowed apps (about, projects, music), a cute little parkour game, and a link out to the separate blog.

Stack

  • React 19
  • Vite
  • TypeScript
  • Zustand (window manager state)

Layout

  • src/os/ - desktop shell: window manager (wm.ts), windows, taskbar, boot screen
  • src/os/apps/ - terminal, about, projects, music
  • src/os/terminal/ - virtual filesystem and command table
  • src/os/data.ts - GitHub / Last.fm / blog index loaders (browser-side, cached)
  • src/games/fox-parkour/ - the game overlay (sim.ts is pure and unit-tested)

/projects, /about, /music open the matching window on load. ?skipBoot=true skips the boot screen.

The terminal's blog command reads https://blog.endoftime.works/posts.json, so that origin must allow CORS from https://endoftime.works.

Environment

Copy .env.example to .env and fill in what you need.

All variables are read in the browser at build time:

  • VITE_LASTFM_API_KEY
  • VITE_LASTFM_USERNAME
  • VITE_GITHUB_USERNAME

Development

Install dependencies:

pnpm install

Run the dev server:

pnpm dev

Run checks:

pnpm type-check
pnpm lint
pnpm build

Notes

  • The nginx deployment can serve dist/ as plain static files.
  • There is no backend. Last.fm and GitHub are called from the browser, so the Last.fm key ends up in the public bundle (it only reads public listening data).

About

My website

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages