Repository navigation
docs: play the full showcase cut in the README instead of a GIF - #398
Merged
Merged
Conversation
GitHub only renders a GIF inline from a path in the repo, so the README showed a 2.35 MB GIF built from a second, stripped master: no docker run segment, no camera move. Both are the beats a GIF cannot afford (a scrolling log changes every pixel of every frame, ~55 KB per frame at 800 px / 6 fps), so the README showed less than the Tour page did. GitHub does play a real video when the source is an attachment on its own CDN. The README now embeds the H.264 cut that way, uploaded to issue #396, which is the same 37.9s everything else derives from. Drops the GIF and the duplicated res/screenshots mp4, 4.3 MB out of every clone, and with them the whole GIF ladder in postprocess.ts and the second master that fed it. The upload is the one step make showcase cannot do. It prints a reminder at the end of every run, and web/dash0/showcase/README.md documents the four steps. The trap worth knowing: an attachment that is uploaded but never posted stays private to the uploader and 404s for everyone else. Co-Authored-By: Claude Opus 5 <[email protected]>
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.
The README showed a 2.35 MB GIF built from a second, stripped master: no
docker runsegment, no camera move. Those are exactly the beats a GIF cannot afford, a scrolling log changes every pixel of every frame (~55 KB per frame at 800 px / 6 fps), so the README showed less than the Tour page did.GitHub plays a real video when the source is an attachment on its own CDN. The README now embeds the H.264 cut that way, the same 37.9s everything else derives from. Verified anonymously: GitHub rewrites the
user-attachmentsURL server-side into a signedprivate-user-imagesURL and emits a real<video controls>, which serves200 video/mp4 2052260 byteswith no credentials.Drops the GIF and the duplicated
res/screenshotsmp4, 4.3 MB out of every clone, and with them the whole GIF ladder inpostprocess.tsand the second master that fed it.The one manual step
The upload is the one thing
make showcasecannot do. It now prints a reminder at the end of every run, andweb/dash0/showcase/README.mddocuments the four steps. The trap worth knowing: an attachment that is uploaded but never posted stays private to the uploader and 404s for everyone else. Issue #396 is the closed holding issue that anchors the current one, deleting it breaks the README video.What this costs
make showcasecan no longer keep the README asset fresh. That was an explicit goal of this pipeline, so the reminder and the docs are the mitigation, not a fix.Verification
make showcase-cutruns clean and re-encodes byte-identically, zero asset churnbunx eslint showcase/postprocess.tsgreen🤖 Generated with Claude Code