Live data from Hacker News

Show HN: DotLottie Player – A New Universal Lottie Player Built with Rust

github.com

11–14 of 14 posts

Re: Show HN: DotLottie Player – A New Universal Lottie Player Built with Rust

#11
post #8

Thanks for building this! Just recommended it to my team since there’s finally a fairly lightweight Lottie player. I think you should really highlight that actual size of the player is ~16 Kb now (using NextJs) since that was a huge reason as to why I avoided Lottie for so long. The Airbnb Lottie was ~250kb. Haven’t started using it yet so no issues :)

Sorry, 16 Kb would be a dream for us but we aren't there! The Javascript for the play API and bindings for WASM is around 18 Kb now - but the WASM bundle that is then loaded is currently 308 Kb. :(

Re: Show HN: DotLottie Player – A New Universal Lottie Player Built with Rust

#13
post #9

Hey team! Looks great, I checked some of the examples on github. A few questions regarding the web version 1. What is the total weight of loaded resources? 2. If I would like to add some animations to my website. Maybe even just a few simple animated icons. Is dotlottie and in general lottie files a good fit for such use case? 3. How good is the support among the different browsers on the desktop and mobiles?

> 1. What is the total weight of loaded resources? Current release clocks in at 326 Kb over the network, with brotli. We have been focussed on getting the functionality and have yet to start working on reducing the total size. There are optimizations we can do with ThorVG and emscripten and eliminating some of the dependencies we currently use. Aiming for > 2. If I would like to add some animations to my website. We…

Thanks for the elaborate answers!

Re: Show HN: DotLottie Player – A New Universal Lottie Player Built with Rust

#14
post #12

Looking forward to giving this a try. Would love to see how this works on mobile devices.

We've got both Android and iOS players, if you want to give em a spin you can check out the mobile docs here https://developers.lottiefiles.com/docs/

:))

Post reply on HN