Skip to main content
10d ago

Get animation list from Rive file

Hey folks, I want to get the animation names of a Rive file in Nodejs / Bun. Can I do that without creating a canvas to play the file?

1 reply
10d ago

We're working on a tool that generates a JSON representation of a .riv, including the names of the animations, inputs, and state machines.

It works and you're welcome to use it, but because it's still in development, it's not something we actively support. Let me know if this is what you had in mind: https://github.com/rive-app/rive-code-generator-wip/tree/main