GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - animate-react-native/cli: AnimateReactNative.com CLI

BranchesTags
Open more actions menu

Latest commit

 

History

26 Commits
26 Commits

Folders and files

NameName
Last commit message
Last commit date
dist
dist
 
 
docs
docs
 
 
src
src
 
 
.env
.env
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
bun.lockb
bun.lockb
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
tsup.config.ts
tsup.config.ts
 
 

Repository files navigation

@animatereactnative/cli: add any AnimateReactNative animation to your project with one command, or sync the whole library to your machine

@animatereactnative/cli

The command line for AnimateReactNative.com, a library of React Native animations built by hand with Reanimated, Gesture Handler, Moti and Skia.

It puts an animation's real source into your project as plain files, or keeps a copy of the whole library on your machine for your coding agent to read.

npx @animatereactnative/cli login
npx @animatereactnative/cli add <slug>

Nothing to install. It needs Node 18 or newer.

Commands

Command What it does
login Signs this machine in. It opens the site in your browser; you confirm there.
add <slug> Writes one animation's source files into your project.
list Lists every animation with its slug. --search <text> filters, --refresh skips the local cache.
sync Copies the whole library to this machine, or pulls what changed since last time.
preview <slug> Prints a code to scan with the free preview app, to try the animation on your phone.
config Sets the folder add saves into.

Add one animation

npx @animatereactnative/cli add shimmer-text

It asks where to save (src/components by default) and writes the files to <that folder>/<slug>/. They are plain source files: no package to depend on, every line open to change.

The slug is the last part of an animation's address on the site, and list prints them all. Each animation's page lists the packages it needs, with the install command.

Sync the whole library

npx @animatereactnative/cli sync
~/.animatereactnative/
├─ registry.json          every animation, its tags and packages
├─ animations/<slug>/     the source files, meta.json and PROMPT.md
└─ skill/                 the patterns behind the library, for your agent

Run it again and it downloads only what was added or changed. Point your coding agent at the folder: it can search registry.json offline and read the source from disk.

Option What it does
--dir <path> Keep the copy somewhere else.
--force Download every animation again.

What you need

  • An account. login signs you in with GitHub on the site.
  • A license for the paid animations. add and list need one. sync works with any account: without a license it downloads the free animations and lists the rest as locked. One license covers every animation, in as many projects as you like: pricing.

Your sign-in is kept in ~/.animatereactnative/auth.json. Delete that file to sign this machine out.

Other ways in

  • MCP server. Your agent searches the library and reads the source itself: claude mcp add --transport http animatereactnative https://www.animatereactnative.com/mcp
  • Skill. A free skill that teaches your agent how the animations are built: npx skills add animate-react-native/skill

Working on the CLI

bun install
bun run dev                     # rebuilds on change
node dist/index.js --help
APP_URL=http://localhost:3000 node dist/index.js login   # against a local copy of the site

License

MIT

About

AnimateReactNative.com CLI

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.