Skip to content

Tatsumi0000/lottie-book

Repository files navigation

Deploy to GitHub Pages

Lottie Book

A simple tool to manage Lottie JSON files on GitHub Pages.

Features

Demo site is here https://tatsumi0000.github.io/lottie-book/#/

Automatically display JSON files by component

Simply place JSON files in src/assets/light or src/assets/dark, and all JSON files will be automatically loaded and expanded.

play component

Play lottie json file

Drag and drop JSON files to play.

drag and drop

How to Use

  • 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 Source under Build and deployment to GitHub Actions.
  • Simply add your JSON files to src/assets/light or src/assets/dark. They will be automatically deployed to GitHub Pages (triggered by commits to the main branch).

Development Commands

Setup Environment

make setup

Access the Container

make run

Start the Container (Open localhost:5173 in your browser after running)

make up

Format Code (Run this inside the container)

deno fmt

About

A simple tool to manage Lottie JSON files on GitHub Pages(like storybook).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors