hypermedia blog

static site generator

hypermedia blog

src/index.ts


import { getPostAndMeta, getPosts, quit } from "./models/blog.js";
import { templateTest } from "./views/templ8.js";

templateTest();
/*
console.log(post);

const posts = getPosts(200, 0);
console.log(posts);
Bun.write("posts.json", JSON.stringify(posts));
quit();
*/

Download

raw zip tar