No description
  • JavaScript 87.7%
  • CSS 7.8%
  • HTML 4.5%
Find a file
2026-05-13 12:37:30 -03:00
.claude/skills/htmx rewrite 2026-05-13 12:37:30 -03:00
public rewrite 2026-05-13 12:37:30 -03:00
src rewrite 2026-05-13 12:37:30 -03:00
views rewrite 2026-05-13 12:37:30 -03:00
.gitignore rewrite 2026-05-13 12:37:30 -03:00
bun.lock rewrite 2026-05-13 12:37:30 -03:00
mise.toml rewrite 2026-05-13 12:37:30 -03:00
package.json rewrite 2026-05-13 12:37:30 -03:00
README.md rewrite 2026-05-13 12:37:30 -03:00
server.js rewrite 2026-05-13 12:37:30 -03:00

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 point
  • src/routes/ — HTTP routes (pages, history, edit/SSE, thoughts)
  • src/lib/ — pages, git, html, fetchSafe, render, thoughts
  • src/agent/ — DeepSeek client, tools, prompt, run loop (uses @openai/agents)
  • views/ — pure HTML templates with {{slot}} placeholders
  • public/style.css served as static