{"id":13993508,"url":"https://github.com/chrisgannon/SVG2GIF","last_synced_at":"2025-07-22T17:32:45.820Z","repository":{"id":165120391,"uuid":"75752452","full_name":"chrisgannon/SVG2GIF","owner":"chrisgannon","description":"Convert GreenSock SVG Timeline Animations to GIF","archived":false,"fork":false,"pushed_at":"2021-07-08T09:14:30.000Z","size":234,"stargazers_count":85,"open_issues_count":1,"forks_count":13,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-08-10T14:13:57.120Z","etag":null,"topics":["converter","gif","greensock","javascript"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisgannon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-12-06T16:58:33.000Z","updated_at":"2024-04-23T04:56:22.000Z","dependencies_parsed_at":"2024-01-18T04:51:22.287Z","dependency_job_id":"d29123d8-771f-4d52-8bc1-e6d90873de80","html_url":"https://github.com/chrisgannon/SVG2GIF","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgannon%2FSVG2GIF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgannon%2FSVG2GIF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgannon%2FSVG2GIF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgannon%2FSVG2GIF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisgannon","download_url":"https://codeload.github.com/chrisgannon/SVG2GIF/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227143708,"owners_count":17737215,"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":["converter","gif","greensock","javascript"],"created_at":"2024-08-09T14:02:24.757Z","updated_at":"2024-11-29T14:33:09.071Z","avatar_url":"https://github.com/chrisgannon.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# SVG2GIF\nConvert GreenSock SVG Timeline Animations to GIF\n\n## Notes\n\n* Add ```SVG2GIF.min.js``` to your project using a normal JavaScript ```script``` tag.\n* SVG2GIF renders SVG animations animated inline with GreenSock TimelineMax.\n* You must add a class name to the SVG tag you want to convert.\n* If you don't already, you should create a main timeline and add all and any of your timelines to it\n* Ensure that ```repeat:0``` is set on your timelines so that it plays only once\n* In the ```vars``` for the main parent timeline add in ```SVG2GIF:true``` - this notifies SVG2GIF that this is the timeline you wish to render. E.g. ```var mainTl = new TimelineMax({repeat:0, SVG2GIF:true});```\n\n### SVG2GIF uses the following libraries\n* [HTML2Canvas](https://github.com/niklasvh/html2canvas)\n* [Gif.js](https://jnordberg.github.io/gif.js/)\n* GreenSock's [Draggable](http://greensock.com/draggable)\n* GreenSock's [TweenMax](http://greensock.com/tweenmax)\n\n### Demo\n* See it in action on CodePen [here](http://codepen.io/chrisgannon/pen/0e3f0e3af985e1c6949e70e4c8ed4df7)\n* Demo video on [YouTube](https://www.youtube.com/watch?v=n8FDiovShJI)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisgannon%2FSVG2GIF","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisgannon%2FSVG2GIF","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisgannon%2FSVG2GIF/lists"}