Archived
1.2 KiB
1.2 KiB
ARCH — SmallClawViewer
Forge
URL: https://git.rewr.ca Repo: https://git.rewr.ca/Dragon/SmallClawViewer
Modules
frontend
Owns: Alpine.js SPA, Shoelace UI, marked.js markdown Exposes: Tab views, file browser, markdown viewer/editor Depends on: backend API (workspace file access) Health: ✅ up
backend
Owns: Node.js HTTP server, file system API, markdown file read/write Exposes: REST endpoints for workspace file operations Depends on: Node.js fs module Health: ✅ up
File Index
| File | Module | Purpose |
|---|---|---|
| index.html | frontend | Full SPA (Alpine.js + Shoelace + marked) |
| package.json | backend | Node server scripts |
| server/index.js | backend | HTTP server + file API |
| brain/ | both | SmallClawPlus project brain |
Decisions Log
| Date | Decision | Why (not X) | Promoted from |
|---|---|---|---|
| 2026-04-03 | Use Alpine.js (CDN) + Shoelace | No build step, works on Android/Termux, lightweight SPA | Vite arm64 rollup issue on Android |
Cross-cutting Concerns
| Concern | Policy | Owner |
|---|---|---|
| Mobile-first | All UI must work on mobile viewport | Arvex |
| Local-only | No remote access, localhost:3000 | Arvex |
| Markdown fidelity | Preserve frontmatter on save | Arvex |