{"id":20762026,"url":"https://github.com/donkeyclip/lottie","last_synced_at":"2026-02-18T07:02:30.232Z","repository":{"id":39518249,"uuid":"429596412","full_name":"donkeyclip/lottie","owner":"donkeyclip","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-06T10:53:52.000Z","size":4614,"stargazers_count":0,"open_issues_count":17,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-06T18:29:54.192Z","etag":null,"topics":["animation","lottie","motorcortex","motorcortex-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/donkeyclip.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-11-18T22:21:30.000Z","updated_at":"2022-04-01T08:53:23.000Z","dependencies_parsed_at":"2023-02-08T04:46:42.360Z","dependency_job_id":"b094f9e9-4de4-447d-9104-6669f519ca31","html_url":"https://github.com/donkeyclip/lottie","commit_stats":{"total_commits":227,"total_committers":10,"mean_commits":22.7,"dds":0.4713656387665198,"last_synced_commit":"74c28becfc5e5fcfafede611ddd59f42b332e4aa"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/donkeyclip/lottie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Flottie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Flottie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Flottie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Flottie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donkeyclip","download_url":"https://codeload.github.com/donkeyclip/lottie/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Flottie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29571888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T06:19:27.422Z","status":"ssl_error","status_checked_at":"2026-02-18T06:18:44.348Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","lottie","motorcortex","motorcortex-plugin"],"created_at":"2024-11-17T10:28:45.367Z","updated_at":"2026-02-18T07:02:30.216Z","avatar_url":"https://github.com/donkeyclip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lottie\n\n**Table of Contents**\n\n- [Lottie](#lottie)\n  - [Demo](#demo)\n- [Intro / Features](#intro--features)\n- [Getting Started](#getting-started)\n  - [Installation](#installation)\n  - [Importing and Loading](#importing-and-loading)\n- [Creating Incidents](#creating-incidents)\n  - [Clip](#clip)\n  - [Play](#play)\n- [Adding Incidents in your clip](#adding-incidents-in-your-clip)\n- [Contributing](#contributing)\n- [License](#license)\n- [Sponsored by](#sponsored-by)\n\n## Demo\n\n[Check it out here](https://donkeyclip.github.io/lottie/demo/)\n\n# Intro / Features\nLottie brings some capabilities of [Lottie](http://airbnb.io/lottie/#/) Library into MotorCortex.\nLottie plugin helps you control a lottie file which is a JSON-based animation file format with small size. With this Plugin you can manipulate your lottie any way you like and create unique animations.\n\nThe Plugin exposes two Incidents in total:\n* Clip\n* Play Incident\n\n# Getting Started\n\n## Installation\n\n```bash\n$ npm install --save @donkeyclip/lottie\n# OR\n$ yarn add @donkeyclip/lottie\n```\n\n## Importing and loading\n\n```javascript\nimport { loadPlugin } from \"@donkeyclip/motorcortex\";\nimport LottieDefinition from \"@donkeyclip/lottie\";\nconst Lottie = loadPlugin(LottieDefinition);\n```\n# Creating Incidents\n\n## Clip\n\n```javascript\nconst newCustomClip = new Lottie.Clip(\n  {\n    path: \"https://donkeyclip.github.io/lottie/demo//demo.json\",\n    autoloop: false,\n  },\n  {\n    selector: \"#myclip\",\n  }\n);\n```\n\n### Clip attrs\n\n| Name     |                         Are                          | Values |\n| -------- | :--------------------------------------------------: | -----: |\n| path     |            the path of lottie.json fille             | string |\n| autoloop | autoloop will auto play in loop the lottie animation |   bool |\n\n## Play\n\n```javascript\nconst play = new Lottie.Play(\n  {\n    animatedAttrs: {\n      fraction: 0.5,\n    },\n  },\n  {\n    duration: 1500,\n    selector: \"!#lottie\",\n  }\n);\n```\n\n### Play attrs\n\n| Name     |                      Are                      |          Values |\n| -------- | :-------------------------------------------: | --------------: |\n| fraction | how many fractions of the clip will be played | num from 0 to 1 |\n\n# Adding Incidents in your clip\n\n```javascript\nlottieClip.addIncident(playIncident, startTime);\n```\n\n# Contributing \n\nIn general, we follow the \"fork-and-pull\" Git workflow, so if you want to submit patches and additions you should follow the next steps:\n1.\t**Fork** the repo on GitHub\n2.\t**Clone** the project to your own machine\n3.\t**Commit** changes to your own branch\n4.\t**Push** your work back up to your fork\n5.\tSubmit a **Pull request** so that we can review your changes\n\n# License\n\n[MIT License](https://opensource.org/licenses/MIT)\n\n# Sponsored by\n[\u003cimg src=\"https://presskit.donkeyclip.com/logos/donkey%20clip%20logo.svg\" width=250\u003e\u003c/img\u003e](https://donkeyclip.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkeyclip%2Flottie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonkeyclip%2Flottie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkeyclip%2Flottie/lists"}