A simple tool to manage Lottie JSON files on GitHub Pages.
Demo site is here https://tatsumi0000.github.io/lottie-book/#/
Simply place JSON files in src/assets/light or src/assets/dark, and all JSON files will be automatically loaded and expanded.
Drag and drop JSON files to play.
- Click the Use this template button in the top right to create a repository in your preferred organization.
- Configure GitHub Pages: Go to Settings → Pages, then set the
Sourceunder Build and deployment to GitHub Actions. - Simply add your JSON files to
src/assets/lightorsrc/assets/dark. They will be automatically deployed to GitHub Pages (triggered by commits to the main branch).
Setup Environment
make setupAccess the Container
make runStart the Container (Open localhost:5173 in your browser after running)
make upFormat Code (Run this inside the container)
deno fmt
