- ..
- media
- posts
- index.html1.2 KB
- posts.json82 KB
- posts.remote.json84 KB
- README.md729 B
README.md
base
Starting point for every run: a bare, deliberately unstyled blog with 8 real posts from nate.rip.
posts/*.md: source markdown withtitleanddatefrontmatter. Images point atmedia/.posts.json: the same posts, newest first, with pre-rendered HTML (slug,title,date,html).media/: every image the posts reference.index.html: lists the posts and shows one at#<slug>. No build step.
Serve it with any static server, e.g. npx serve . or python3 -m http.server. Opening it as a file:// URL won't work because the page fetches posts.json.
Regenerate from the live site with scripts/snapshot.ts (see its header). That re-exports every post, so trim back to this set afterwards.