Repository navigation
feat(cv): embed the CV in a terminal-style PDF viewer at /cv - #18
Merged
Merged
Conversation
TomasPalsson
marked this pull request as ready for review
September 17, 2026 16:19
Ship cv.pdf with the site and render it client-side with pdf.js instead of linking to api.tomasari.is/cv (which 404s). The viewer is a less/vim pastiche: fake boot log, j/k/n/p/gg/G navigation, +/- zoom, a `:` command line (:2, :zoom 150, :crt, :w, :q), a phosphor/CRT mode that remaps the rendered page to green-on-black with scanlines, a `cat` mode that types out the extracted text, an `xxd` mode showing the raw bytes, and a ? help overlay. The cv command and About Me links now point at /cv. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
TomasPalsson
force-pushed
the
feat/cv-viewer
branch
from
September 17, 2026 16:20
ee9a540 to
6f3a2a1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
public/cv.pdfand renders it client-side with pdf.js at/cv(the oldapi.tomasari.is/cvlink 404s).j/k/n/p/gg/Gnavigation,+/-/0zoom, a:command line (:2,:zoom 150,:crt,:w,:q), phosphor mode (page pixels remapped to terminal green on black + scanlines), cat mode (extracted text typed out), xxd mode (raw bytes), and a?help overlay. Toolbar buttons mirror every key for touch users.cvterminal command and both About Me links now point at/cv.Verification
tsc --noEmit,eslint .(0 errors),vitest run284/284 (13 new tests: command parser, phosphor mapping, hex dump, screen flow with pdf.js mocked).next buildstatic export emits/cv,cv.pdf, and the pdf.js worker asset.Notes
cv (1).pdffrom Downloads — replacepublic/cv.pdfto update.🤖 Generated with Claude Code