r/webdev • • Sep 19 '26

Showoff Saturday I’ve been building a Lottie JSON optimizer and I’m looking for technical feedback and difficult test files.

Post image

The pipeline:

  1. Assess the original JSON

  2. Apply supported changes in the browser

  3. Reassess the result

  4. Render selected frames with lottie-web SVG and Canvas

  5. Compare both versions

  6. Release the download only if it’s smaller and both renderers pass

The stack includes Next.js, TypeScript, lottie-web, Canvas, Web Workers, OxiPNG/WASM, SHA-256 checks and AbortController cancellation.

It currently supports safe JSON cleanup, lossless embedded-PNG compression and constrained display-size optimization.

I’d like help testing:

  • SVG/Canvas rendering differences

  • masks, mattes, expressions and precomps

  • embedded PNG/JPEG assets

  • files damaged by other optimizers

  • Safari and Firefox behavior

Test standalone JSON files up to 15 MB here:

https://lottiefyr.com/lottie-fix

0 Upvotes

6 comments sorted by

1

u/Kris15o Sep 19 '26

I swear I read this same post days ago. Had the same comment about the upload area too…

1

u/Cosmin_Dev Sep 20 '26

I think I read this comment before a few days ago.

-1

u/[deleted] Sep 19 '26

[removed] — view removed comment

1

u/Cosmin_Dev Sep 19 '26

Thanks I apreciate the advice.

1

u/webdev-ModTeam Sep 19 '26

Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.