~bigbes/sourcehut-dolt: 944a35e9

web: router, handlers, and sourcehut chrome

Chi route table per plan, SourceHut chrome port (nav/layout from
core.sr.ht Bootstrap structure), dual-flow clone box, dolt-key
association page with hash-fragment prefill, same-origin CSRF checks.
Handlers depend on small injected interfaces (StoreManager, RepoStore,
BrowseOpener, UserResolver) with production adapters included.

Eugene Blikh <bigbes@gmail.com> — 2026-07-18 18:13:39 UTC

Commit 944a35e9ed6b9baa0a59adb06df09085bc62d508view raw patch

Parent(s): 2b781a27

35 changed file(s)

FileStatus+
web/adapters.go A +107
web/chrome.go A +150
web/csrf.go A +48
web/deps.go A +140
web/handlers_browse.go A +217
web/handlers_keys.go A +110
web/handlers_repo.go A +249
web/handlers_settings.go A +217
web/pubkey.go A +36
web/router.go A +134
web/templates.go A +228
web/templates/403.html A +6
web/templates/404.html A +6
web/templates/commit.html A +33
web/templates/create.html A +33
web/templates/icons/caret-right.svg A +1
web/templates/icons/circle.svg A +1
web/templates/icons/clock.svg A +1
web/templates/icons/code-branch.svg A +1
web/templates/icons/exclamation-triangle.svg A +5
web/templates/icons/folder.svg A +1
web/templates/icons/plus-square.svg A +1
web/templates/icons/user.svg A +1
web/templates/index.html A +26
web/templates/keys.html A +69
web/templates/layout.html A +25
web/templates/log.html A +44
web/templates/nav.html A +36
web/templates/overview.html A +68
web/templates/partials.html A +25
web/templates/settings.html A +74
web/templates/table.html A +47
web/templates/tree.html A +31
web/templates/user.html A +5
web/web_test.go A +636