{"id":21678415,"url":"https://github.com/aaharu/gifken","last_synced_at":"2026-03-18T01:32:08.733Z","repository":{"id":10762576,"uuid":"13025514","full_name":"aaharu/gifken","owner":"aaharu","description":"JavaScript library that can reverse and split animated GIFs","archived":false,"fork":false,"pushed_at":"2024-04-03T18:39:46.000Z","size":1891,"stargazers_count":25,"open_issues_count":4,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T01:01:51.370Z","etag":null,"topics":["animated-gif","gif","javascript","nodejs","typescript","wasm"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/aaharu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2013-09-23T02:48:41.000Z","updated_at":"2024-10-03T18:20:10.000Z","dependencies_parsed_at":"2023-10-13T09:09:30.665Z","dependency_job_id":"b9f443b4-bb27-4ffa-bbc0-e5612c358a21","html_url":"https://github.com/aaharu/gifken","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaharu%2Fgifken","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaharu%2Fgifken/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaharu%2Fgifken/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaharu%2Fgifken/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaharu","download_url":"https://codeload.github.com/aaharu/gifken/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248524650,"owners_count":21118612,"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":["animated-gif","gif","javascript","nodejs","typescript","wasm"],"created_at":"2024-11-25T14:33:31.136Z","updated_at":"2026-03-18T01:32:03.704Z","avatar_url":"https://github.com/aaharu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gifken\n\n[![npm version](https://img.shields.io/npm/v/gifken.svg)](https://www.npmjs.com/package/gifken) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Faaharu%2Fgifken.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Faaharu%2Fgifken?ref=badge_shield)\n\n## How to use\n\n### Split an animated GIF image in browser\n\n```html\n\u003cscript type=\"module\"\u003e\n  import {reverse, split} from 'gifken'\n\n  const imageUrl = '/01_Koch-Kurve-Sechseck-alt._Def.-2.gif'\n  const response = await fetch(imageUrl)\n  const buffer = await response.arrayBuffer()\n\n  const results = await split(new Uint8Array(buffer))\n  for (const result of results) {\n    const img = new Image()\n    img.src = URL.createObjectURL(new Blob([result], {type: 'image/gif'}))\n    document.body.append(img)\n  }\n\u003c/script\u003e\n```\n\n### Reverse an animated GIF image with Node.js\n\n```javascript\nconst {readFileSync, writeFileSync} = require('fs')\nconst gifken = require('gifken')\n\ngifken\n  .reverse(readFileSync('./assets/01_Koch-Kurve-Sechseck-alt._Def.-2.gif'))\n  .then(result =\u003e {\n    writeFileSync('reverse.gif', result)\n  })\n```\n\n## Build\n\nTo build gifken, following tools are required\n\n- Node.js \u003e=14\n- npm \u003e=8\n- [Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)\n- wasm-bindgen\n\n```bash\ngit clone *thisrepo*\ncd gifken\nnpm install\nnpm run build\n```\n\n## Similar Projects\n\n- [gif reverser](https://github.com/migerh/rustwasm-gif)\n\n## License\n\nMIT\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Faaharu%2Fgifken.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Faaharu%2Fgifken?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaharu%2Fgifken","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaharu%2Fgifken","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaharu%2Fgifken/lists"}