Skip to content

Credit the libraries the converter ships (2.4.1) - #80

Merged
liladas merged 3 commits into
mainfrom
credits
Aug 1, 2026
Merged

liladas merged 3 commits into
mainfrom
credits

Conversation

@liladas

@liladas liladas commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

The footer credited WebCodecs, which is the browser's own API rather than anyone's project. The libraries actually doing the work went unnamed.

Attribution is an obligation here, not courtesy

  • @ffmpeg/core is GPL-2.0-or-later, because it bundles x264. We serve that wasm to every fallback user.
  • mediabunny is MPL-2.0.

Both require informing recipients of the licence and pointing at the corresponding source. Neither was being done. Both ship unmodified.

What changed

  • CREDITS.md: every component, who wrote it, its licence, and where its source is. Called out separately for the two with real terms.
  • Footer on the native path now reads "powered by WebCodecs, cdgraphics and mediabunny", each linked. The wasm path keeps its ffmpeg.wasm credit.
  • Credits link beside Privacy, going to CREDITS.md.
  • Also credits Jim Bumgardner's CD+G Revealed, the reverse-engineered spec every CD+G renderer descends from, including cdgraphics.

One correction found by checking

I verified each licence from node_modules rather than assuming. posthog-js is Apache-2.0, not MIT as I first wrote.

Testing

An e2e asserts the credits link resolves to CREDITS.md and that both library names appear in the footer on the native path, so attribution cannot quietly vanish in a refactor. 121 unit, 12 e2e, all passing.

liladas added 3 commits August 1, 2026 12:17
The footer credited WebCodecs, which is the browser's own API and not
anyone's project. The libraries doing the work went unnamed: cdgraphics
renders the graphics, mediabunny muxes the MP4. Both are now credited
and linked next to it.

Attribution here is an obligation, not courtesy. `@ffmpeg/core` is
GPL-2.0-or-later because it bundles x264, and we serve that wasm to
every fallback user. mediabunny is MPL-2.0. Both require telling
recipients so and pointing at the corresponding source, and neither was
being done. CREDITS.md now does it for every component, linked from the
footer beside Privacy.

Checking rather than assuming turned up one error on the way:
posthog-js is Apache-2.0, not MIT.

An e2e covers the credits link and both library names, so attribution
cannot quietly disappear in a refactor.
"Runs entirely in your browser · works offline · powered by WebCodecs,
cdgraphics and mediabunny" was too much for one line once there were
three names on it. Verified as two rows with no wrapping at 390px and
1280px, on both pipelines.
@liladas
liladas merged commit fee7472 into main Aug 1, 2026
3 checks passed
@liladas
liladas deleted the credits branch August 1, 2026 19:29
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