No description
- JavaScript 87.7%
- CSS 7.8%
- HTML 4.5%
| .claude/skills/htmx | ||
| public | ||
| src | ||
| views | ||
| .gitignore | ||
| bun.lock | ||
| mise.toml | ||
| package.json | ||
| README.md | ||
| server.js | ||
GoblinWiki
A personal HTML wiki where every page is editable by natural-language instructions, powered by DeepSeek V4.
Setup
Requires Bun (≥ 1.x). With mise, mise install picks it up from mise.toml.
bun install
# put your real key in .env
echo "DEEPSEEK_API_KEY=sk-yourkey" > .env
bun run start # or `bun run dev` for hot reload
Open http://127.0.0.1:8000.
Bound to 127.0.0.1 only. Do not change this without adding auth.
The pages/ directory is its own git repository — every edit is a separate commit, viewable and revertable from the history view of each page.
Layout
server.js— entry pointsrc/routes/— HTTP routes (pages, history, edit/SSE, thoughts)src/lib/— pages, git, html, fetchSafe, render, thoughtssrc/agent/— DeepSeek client, tools, prompt, run loop (uses@openai/agents)views/— pure HTML templates with{{slot}}placeholderspublic/—style.cssserved as static