A personal site and blog
- Node >= 18
- Bun >= 1
bun install
bun run dev
Run bun new-post title="<title>" slug="<slug>" tags="<comma separated list>"
to bootstrap a new blog post!
Run bun new-note title="<title>" slug="<slug>" tags="<comma separated list>"
to bootstrap a new note!
Run
bun new-book title="<title>" author="<author>" url="<url>" status="<reading|read|to-read>"
!
bun deploy
Powered by Sandpack, a code block can opt into a live experience via the following comment at the top of the block:
// ==live==
Then followed by space-separated, equals-separated pairs of key-value props for
the Sandpack component. The code within the fence will be set as the /App.js
entry within the editor.
TODO: Figure out multi-file demos, maybe just expose the component to blog posts/notebook entries...