{"id":13426456,"url":"https://github.com/spirit/spirit","last_synced_at":"2025-03-15T21:31:14.427Z","repository":{"id":57367547,"uuid":"61382239","full_name":"spirit/spirit","owner":"spirit","description":"🙌 Play Spirit animations on the web","archived":false,"fork":false,"pushed_at":"2024-06-25T07:42:29.000Z","size":2292,"stargazers_count":752,"open_issues_count":0,"forks_count":26,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-03-01T06:08:04.921Z","etag":null,"topics":["animation","app","gsap","player","runtime","tool"],"latest_commit_sha":null,"homepage":"https://spiritapp.io","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/spirit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":"inlet","custom":"https://www.paypal.me/donatepatrick"}},"created_at":"2016-06-17T15:04:59.000Z","updated_at":"2025-02-18T16:24:52.000Z","dependencies_parsed_at":"2023-12-18T14:40:39.108Z","dependency_job_id":"c283d45a-5be9-4a2e-a498-1376f2abe618","html_url":"https://github.com/spirit/spirit","commit_stats":{"total_commits":439,"total_committers":2,"mean_commits":219.5,"dds":0.002277904328018221,"last_synced_commit":"4a985ac02b35f41cc65b74d252c5f4d3219bb282"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spirit%2Fspirit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spirit%2Fspirit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spirit%2Fspirit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spirit%2Fspirit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spirit","download_url":"https://codeload.github.com/spirit/spirit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243792363,"owners_count":20348630,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","app","gsap","player","runtime","tool"],"created_at":"2024-07-31T00:01:34.985Z","updated_at":"2025-03-15T21:31:13.947Z","avatar_url":"https://github.com/spirit.png","language":"JavaScript","funding_links":["https://github.com/sponsors/inlet","https://www.paypal.me/donatepatrick"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://spiritapp.io/banner.jpg\" alt=\"Spirit\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eSpirit ⚡️ Web Player\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.org/spirit/spirit\"\u003e\n    \u003cimg src=\"https://img.shields.io/travis/spirit/spirit.svg\" alt=\"travis\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://npmjs.org/package/spiritjs\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/spiritjs.svg\" alt=\"version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://greensock.com/gsap\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/gsap-v3+-brightgreen.svg\" alt=\"greensock\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://npmjs.org/package/spiritjs\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/spiritjs.svg\" alt=\"downloads\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/spirit/spirit/releases/latest\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/release-date/spirit/spirit.svg\" alt=\"release\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eLightweight and easy to use\u003c/b\u003e\n  \u003cbr /\u003e\n  \u003csub\u003ePlay your animations on the web\u003csub\u003e\n\u003c/p\u003e\n\n### Getting Started:\n\n- [Spirit Homepage](https://spiritapp.io)\n- [Get Started](https://spiritapp.io/getstarted)\n- [Documentation](https://docs.spiritapp.io)\n\n### Browser:\n\n```html\n\u003csvg\u003e\n  \u003cg id=\"container\"\u003e\n    \u003cpath d=\"...\" data-spirit-id=\"body\" /\u003e\n    \u003cpath d=\"...\" data-spirit-id=\"mouth\" /\u003e\n    \u003cpath d=\"...\" data-spirit-id=\"legs\" /\u003e\n  \u003c/g\u003e\n\u003c/svg\u003e\n\n\u003cscript src=\"https://unpkg.com/spiritjs/dist/spirit.min.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n  spirit\n    .loadAnimation({\n      path: './animation.json',\n      container: document.getElementById('container'),\n    })\n    .then(timeline =\u003e timeline.play());\n\u003c/script\u003e\n```\n\n### Node:\n\ninstall:\n\n```bash\nnpm install spiritjs --save\n```\n\nUsage:\n\n```js\n// load GSAP from CDN\n\nimport spirit from 'spiritjs';\n\nspirit.loadAnimation({ path: './animation.json' }).then(timeline =\u003e timeline.play());\n```\n\n```js\n// use existing GSAP instance\n\nimport gsap from 'gsap';\nimport spirit from 'spiritjs';\n\nspirit.setup(gsap).then(() =\u003e {\n  spirit.loadAnimation({ path: './animation.json' }).then(timeline =\u003e timeline.play());\n});\n```\n\nFor more info check out the [API Documentation](https://docs.spiritapp.io/web-player/simple-api.html).\n\n### Links\n\n- [Documentation - What is Spirit](https://docs.spiritapp.io/spirit.html)\n- [Documentation - Install Web Player](https://docs.spiritapp.io/web-player/install.html)\n- [Documentation - Simple Usage](https://docs.spiritapp.io/web-player/simple-api.html)\n- [Documentation - Extended Usage](https://docs.spiritapp.io/web-player/extended-api/)\n\n### Examples\n\n\u003cp\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/232559/33662370-d6898552-da8b-11e7-9909-73334a313217.gif\" width=\"210\" /\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/232559/33662484-32b64996-da8c-11e7-9122-52712925ab1e.gif\" width=\"210\" /\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/232559/33662504-440d4d66-da8c-11e7-8d21-fcb1ed87da50.gif\" width=\"210\" /\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/232559/33662538-57d89076-da8c-11e7-9dc8-55f70a31feeb.gif\" width=\"210\" /\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/232559/33662552-64e1972c-da8c-11e7-827f-5ae63e822aa0.gif\" width=\"210\" /\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/232559/33662567-743a4a48-da8c-11e7-8e97-8d4019929883.gif\" width=\"210\" /\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/232559/33662579-886a97ac-da8c-11e7-9e99-0fc55aa24ffd.gif\" width=\"210\" /\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/232559/33662592-9a93309c-da8c-11e7-9c15-1dfc11871831.gif\" width=\"210\" /\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspirit%2Fspirit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspirit%2Fspirit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspirit%2Fspirit/lists"}