Steno - A simple static site generator build with Deno banner

Steno - A simple static site generator build with Deno

1 devlog
2h 9m 33s

Updated Project: Changes I've done:

  1. Live reload via SSE
    Inject an EventSource snippet into served HTML, emit reload events from the file watcher on rebuild
  2. Recursive directory build
    Walk nested content/ subdirectories, preserve folder …

Updated Project: Changes I’ve done:

  1. Live reload via SSE
    Inject an EventSource snippet into served HTML, emit reload events from the file watcher on rebuild
  2. Recursive directory build
    Walk nested content/ subdirectories, preserve folder structure in dist/
This project uses AI

Used GitHub Copilot for debugging

Demo Repository

Loading README...

Gabs

This devlog was all about making the dev experience smoother and more flexible. I’ve added live reloading so you don’t have to keep hitting refresh, and the build process now handles nested folders properly.

The Highlights:

  • Live Reload via SSE: I injected a small script into served HTML pages that listens to a /reload endpoint. Now, when you save a file, the browser refreshes itself automatically.
  • Recursive Builds: Steno isn’t limited to flat folders anymore. I updated the build logic to use glob patterns and Deno.mkdir({ recursive: true }). This means nested content like content/blog/post.md will actually show up in the right place in your dist folder.
  • Cleanup: Tidied up deno.json by removing the example theme from the workspace and cleared out some unused imports in fileUtils.

What’s Next?

The core mechanics are there, but the code needs a little polish. This includes testing, DRYing up the code, and maybe more checking here and there

Attachment
0