{"id":17438281,"url":"https://github.com/xzdarcy/react-timeline-editor","last_synced_at":"2026-01-25T18:00:51.072Z","repository":{"id":41548064,"uuid":"461238719","full_name":"xzdarcy/react-timeline-editor","owner":"xzdarcy","description":"react-timeline-editor is a react component used to quickly build a timeline animation editor.","archived":false,"fork":false,"pushed_at":"2026-01-18T17:08:32.000Z","size":39268,"stargazers_count":610,"open_issues_count":39,"forks_count":154,"subscribers_count":9,"default_branch":"master","last_synced_at":"2026-01-19T00:37:10.081Z","etag":null,"topics":["animation","editor","react"],"latest_commit_sha":null,"homepage":"https://zdarcy.com/","language":"TypeScript","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/xzdarcy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-02-19T15:54:31.000Z","updated_at":"2026-01-18T17:08:42.000Z","dependencies_parsed_at":"2025-05-30T23:01:33.749Z","dependency_job_id":"f709f19d-5f2e-4dd9-8955-f56b0762a3d2","html_url":"https://github.com/xzdarcy/react-timeline-editor","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/xzdarcy/react-timeline-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzdarcy%2Freact-timeline-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzdarcy%2Freact-timeline-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzdarcy%2Freact-timeline-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzdarcy%2Freact-timeline-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xzdarcy","download_url":"https://codeload.github.com/xzdarcy/react-timeline-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzdarcy%2Freact-timeline-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28756431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T16:32:25.380Z","status":"ssl_error","status_checked_at":"2026-01-25T16:32:09.189Z","response_time":113,"last_error":"SSL_read: 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","editor","react"],"created_at":"2024-10-17T12:05:24.278Z","updated_at":"2026-01-25T18:00:51.024Z","avatar_url":"https://github.com/xzdarcy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Timeline Editor\n[![npm version](https://img.shields.io/npm/v/@xzdarcy/react-timeline-editor.svg?style=flat-square)](https://www.npmjs.com/package/@xzdarcy/react-timeline-editor)\n[![npm downloads](https://img.shields.io/npm/dm/@xzdarcy/react-timeline-editor.svg?style=flat-square)](https://www.npmjs.com/package/@xzdarcy/react-timeline-editor)\n\n**[React Timeline Editor](https://zdarcy.com/)** is a react component used to quickly build a timeline animation editor.\n\n![example](https://github.com/xzdarcy/react-timeline-editor/blob/f79d85eee8a723e5210c04232daf2c51888418c0/public/assets/timeline.gif)\n## Getting Started\n\n```bash\nnpm install @xzdarcy/react-timeline-editor\n```\n\n```ts\nimport { Timeline, TimelineEffect, TimelineRow } from '@xzdarcy/react-timeline-editor';\nimport React from 'react';\n\nconst mockData: TimelineRow[] = [{\n    id: \"0\",\n    actions: [\n      {\n        id: \"action00\",\n        start: 0,\n        end: 2,\n        effectId: \"effect0\",\n      },\n    ],\n  },\n  {\n    id: \"1\",\n    actions: [\n      {\n        id: \"action10\",\n        start: 1.5,\n        end: 5,\n        effectId: \"effect1\",\n      }\n    ],\n}]\n\nconst mockEffect: Record\u003cstring, TimelineEffect\u003e = {\n  effect0: {\n    id: \"effect0\",\n    name: \"效果0\",\n  },\n  effect1: {\n    id: \"effect1\",\n    name: \"效果1\",\n  },\n};\n\nconst TimelineEditor = () =\u003e {\n  return (\n      \u003cTimeline\n        editorData={mockData}\n        effects={mockEffect}\n      /\u003e\n  );\n};\n```\n\n## Documention\nCheckout the [Docs](https://zdarcy.com/) for a demonstration of some basic and advanced features.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxzdarcy%2Freact-timeline-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxzdarcy%2Freact-timeline-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxzdarcy%2Freact-timeline-editor/lists"}