feat: add REC-tiny minimal recorder + CI workflow#1
Merged
InfinityHack3r merged 4 commits intomainfrom Mar 3, 2026
Merged
Conversation
- Single-file minimal recorder with Screen / Camera / Both modes - Side-by-side canvas compositing in Both mode via captureStream - System audio + mic mixing with AudioContext when both enabled - Resolution-aware file size estimator (scales by px ratio vs 1080p) - Save to Disk via showSaveFilePicker with download fallback - Proper cleanup: close writable and AudioContext in kill() - README: full tiny docs including modes, controls, and browser edge cases
- Sanity tests: file existence, REC-tiny size limit (<20KB), required element IDs in both files, MIME priority order, no external JS in REC.html, README mentions both files - Package job: zips REC.html + REC-tiny.html + README.md, uploads as timestamped artifact (30-day retention) - Release job: fires on v* tags, attaches zip to GitHub Release, marks pre-release automatically for tags containing a hyphen
awk line-number approach broke on minified single-line files; python3 find() across full file content is unambiguous
Brings in CI workflow with sanity tests and zip packaging
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.
What's in this PR
REC-tiny.html
showSaveFilePickerwith download fallbackFileSystemWritableFileStreamandAudioContextinkill()CI — .github/workflows/package.yml
v*tags — attaches zip to GitHub Release, auto-marks pre-release for hyphenated tagsREADME
Tested
All CI tests validated locally with
actbefore push.