Motion Preview is a Raycast extension that allows you to quickly preview modern animation formats. It supports both Lottie (JSON and dotLottie) and Rive file formats.
The easiest way to install this extension is using the Raycast Store. Alternatively, you can clone this repository and manually install the extension by following these steps.
git clone https://github.com/ayarse/raycast-motion-previewcd raycast-motion-previewnpm installImport Extension command and select the cloned repo folder.Esc to close the preview.The preview window renders animations inside a WKWebView using the official
@rive-app/canvas and
@lottiefiles/dotlottie-web
runtimes. These .js/.wasm files are not bundled with the extension. On
first run they are downloaded from version-pinned jsDelivr URLs, verified
against pinned SHA-256 hashes, and cached under the extension's support
directory — so nothing untrusted is shipped, and after the first download the
preview works fully offline.
The pinned versions and hashes live in src/runtimes.ts. To
upgrade a runtime, bump its version constant and replace its hashes there.
For any issues or feature requests, please open an issue on the GitHub repository.
This project is licensed under the MIT License.