Generator-Skeleton (Phase 1): static HTML + watchdog + HTTP server

Replaces obv-Fork. New architecture:
- Python watchdog observes /home/admin/my-karpathy-wiki/
- On .md change → regenerate single HTML + update index
- On startup → full regen + tree.json/graph.json/tags.json/backlinks.json
- HTTP server on 127.0.0.1:8765 + tailscale proxy
- 265 static HTML pages with full Markdown rendering
- WikiLink resolution: [[entity]] → <a href='/path/entity.html'>
- Frontmatter as styled card (type, status, updated, sources)
- TOC auto-generated via markdown.extensions.toc
- PWA manifest for native-feeling install
- data.js with all metadata for offline use

Touch-first design (CSS+JS for tree/graph/search) follows in Phase 2.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-19 17:16:02 +00:00
co-authored by Claude
parent e57b0bc784
commit b5631986e6
11 changed files with 841 additions and 2148 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
# Obsidian Web Viewer — no required external dependencies
# Python 3.8+ standard library only
# Optional: PyYAML for frontmatter parsing
PyYAML>=6.0
markdown>=3.10
pyyaml>=6.0
watchdog>=6.0
python-frontmatter>=1.3