Skip to content

feat: add REC-tiny minimal recorder + CI workflow#1

Merged
InfinityHack3r merged 4 commits intomainfrom
feature/tiny
Mar 3, 2026
Merged

feat: add REC-tiny minimal recorder + CI workflow#1
InfinityHack3r merged 4 commits intomainfrom
feature/tiny

Conversation

@InfinityHack3r
Copy link
Owner

What's in this PR

REC-tiny.html

  • New minimal single-file recorder (~6.8 KB)
  • Screen / Camera / Both modes with side-by-side canvas compositing
  • System audio + mic mixing via AudioContext when both enabled
  • Resolution-aware file size estimator (scales by pixel ratio vs 1080p)
  • Save to Disk via showSaveFilePicker with download fallback
  • Bug fixes: close FileSystemWritableFileStream and AudioContext in kill()

CI — .github/workflows/package.yml

  • Sanity tests: file existence, tiny size limit, required element IDs, MIME order, no external JS, README coverage
  • Package job: produces a timestamped zip artifact on every push (30-day retention)
  • Release job: fires on v* tags — attaches zip to GitHub Release, auto-marks pre-release for hyphenated tags

README

  • Full tiny docs: modes, controls, file output, and browser edge cases
  • Expanded browser compat matrix and per-browser notes

Tested

All CI tests validated locally with act before push.

- 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
@InfinityHack3r InfinityHack3r merged commit 465bacb into main Mar 3, 2026
6 checks passed
@InfinityHack3r InfinityHack3r deleted the feature/tiny branch March 3, 2026 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant