mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 16:14:40 +00:00
Render the repository README in the first tab and add a Code tab that browses the repo's file tree and renders source files (syntax-highlighted), reading directly from the NIP-34 clone URL over the git smart-HTTP v2 protocol (works with GRASP/ngit bare servers as well as GitHub/GitLab). quartz (jvmAndroid): a from-scratch git smart-HTTP v2 client — pkt-line codec, packfile parser with OFS/REF delta resolution and SHA-1 oids, tree/commit parsers, and a high-level browser that fetches a shallow filter=blob:none snapshot (one request for the whole tree) and lazily pulls file blobs on demand. Offline tests run against real captured GitHub wire bytes plus a git-generated OFS-delta pack. amethyst: README tab (rich markdown), Code tab (folders-first browser with breadcrumb navigation + a file viewer that renders markdown or syntax-highlighted source), a browser ViewModel, new UI strings, and a Folder material symbol (font subset regenerated). Syntax highlighting uses dev.snipme:highlights (Apache-2.0, permissive). Tabs are now: README, Code, Overview, Issues, Patches & PRs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpNmN8CvP6HnEsdTGAjVUr