A lightweight Deno library to dynamically generate a full website from a markdown Zettelkasten.
Luhmann fetches markdown files from somewhere on the internet and converts them to a website.
import { serveZettelkasten } from "../luhmann.ts";
const zettelResource = "http://example.com/";
const server = Deno.listen({ port: 8080 });
console.log(`HTTP webserver running. Access it at: http://localhost:8080/`);
// Serve the Zettelkasten
for await (const conn of server) {
serveZettelkastenn, zettelResource });
}
Enter the examples folder. Then run either of the following:
Unit tests
deno task test
E2E tests
deno task file_server &
deno task dev &
deno task test_e2e
This app was heavily inspired by MD-Party