spencerandClaude Opus 4.8 b4f5e06ec8 feat(tools): adaptive stdin/stdout I/O for the tool pipe
Infer per command whether a tool uses file paths or streams: if the command
omits {{in}}, thor feeds the source on the tool's stdin; if it omits {{out}},
thor captures stdout and writes it to the output file. All four
in/out x stdin/stdout combinations end with a real file at out_path.

This makes the docs' recommended stdin/stdout form actually work and removes
the silent "ships unprocessed CSS" failure mode. Adds tests for the streaming
forms and a TODO recording the future fingerprint/contents-Resource migration.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-08 13:58:50 -04:00
2026-08-03 14:43:33 -04:00
2026-07-16 14:40:13 -04:00
2026-08-06 10:43:19 -04:00
2026-08-03 14:43:36 -04:00
2026-08-03 14:43:33 -04:00
2026-08-06 10:43:19 -04:00
2026-08-03 14:43:33 -04:00
2026-08-03 14:43:33 -04:00
2026-08-03 14:43:32 -04:00
2026-08-03 14:43:35 -04:00

Thor

Thor is a simple Static Site Generator designed for personal blogs and other small websites.

Its core principals are simplicity and minimal configuration, so you can get started as quickly as possible.

It is based on Hugo, and gingerbill's SSG. Templating is done with (extended?) Mustache templates.

What it does

  • Syntax Highlighting server-side (with Tree Sitter) or client-side with highlight.js
  • Mustache Templating
  • OpenGraph Tags
  • Menus (WIP)
  • Extended Markdown (See below)
  • Basic (whitespace) minification.
  • Union File System (Modules)

What it doesn't do

  • Internationalization
  • Pagination (Yet)
  • Themes
  • Image Manipulation
  • TailwindCSS integration

Getting Started

Run thor Check out public/index.html

Then follow The Guide For a more complete setup, run thor new site.

Extended Markdown

  • Emoji expansion
  • margin style footnotes
  • Github style alerts
  • [and more]
S
Description
No description provided
Readme
1.2 MiB
Languages
Odin 95.8%
HTML 2.2%
Nix 1.3%
Tree-sitter Query 0.4%
Ruby 0.2%
Other 0.1%