{"id":18016615,"url":"https://github.com/libwebp-wasm/gif2webp","last_synced_at":"2025-08-09T04:15:39.359Z","repository":{"id":259056798,"uuid":"875276647","full_name":"libwebp-wasm/gif2webp","owner":"libwebp-wasm","description":"A wasm version for gif2webp of libwebp","archived":false,"fork":false,"pushed_at":"2025-08-07T02:07:37.000Z","size":1075,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-07T04:08:02.838Z","etag":null,"topics":["libwebp","wasm"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@libwebp-wasm/gif2webp","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/libwebp-wasm.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}},"created_at":"2024-10-19T14:57:00.000Z","updated_at":"2025-08-07T02:07:34.000Z","dependencies_parsed_at":"2024-10-25T19:45:43.308Z","dependency_job_id":"1a0d08ed-9cef-4a3d-82a9-1b2b2dbacac8","html_url":"https://github.com/libwebp-wasm/gif2webp","commit_stats":null,"previous_names":["libwebp-wasm/gif2webp"],"tags_count":9,"template":true,"template_full_name":null,"purl":"pkg:github/libwebp-wasm/gif2webp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libwebp-wasm%2Fgif2webp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libwebp-wasm%2Fgif2webp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libwebp-wasm%2Fgif2webp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libwebp-wasm%2Fgif2webp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libwebp-wasm","download_url":"https://codeload.github.com/libwebp-wasm/gif2webp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libwebp-wasm%2Fgif2webp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269197148,"owners_count":24376805,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["libwebp","wasm"],"created_at":"2024-10-30T04:18:39.732Z","updated_at":"2025-08-09T04:15:39.296Z","avatar_url":"https://github.com/libwebp-wasm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gif2Webp\n\n## Introduction\n\nThe process of converting the [libwebp](https://github.com/webmproject/libwebp) project from C/C++ to WASM is achieved using the [Emscripten](https://emscripten.org) compiler. The general workflow is as follows:\n\n![Emscripten Compilation Flow](https://user-images.githubusercontent.com/8049878/189127696-bba0af00-d58d-42b3-b09e-9e15eb255731.png \"Emscripten Compilation Flow\")\n\n## Usage\n\n### Installation\n\n#### Toolchain\n\nThis includes installing [emsdk](https://github.com/emscripten-core/emsdk), [cmake](https://cmake.org), and [pnpm](https://pnpm.io). For specific installation methods, refer to the [Emscripten official documentation](https://emscripten.org/docs/getting_started/downloads.html), [pnpm official documentation](https://pnpm.io/installation), and [installing cmake](https://gist.github.com/fscm/29fd23093221cf4d96ccfaac5a1a5c90).\n\n#### submodule\n\n```bash\ngit submodule update --init --recursive --remote --rebase\n```\n\n### Build\n\n#### MacOS\n\nIf you are using zsh, it is recommended to install [the dotenv plugin](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/dotenv) to enable features like setting environment variables if a .env file is present in the current directory.\n\n```bash\npnpm build:mac\n```\n\n#### Docker\n\n##### Build Image\n\n```bash\ndocker build -f ./docker/Dockerfile -t libwebp-wasm/gif2webp:latest .\n```\n\n##### Run Image\n\n```bash\ndocker run --rm  -v $(pwd)/dist:/gif2webp/dist -v $(pwd)/es:/gif2webp/es -v $(pwd)/lib:/gif2webp/lib libwebp-wasm/gif2webp:latest\n```\n\n#### Other\n\nNote: The modification of upstream submodule project code is currently done by running the git apply command. Sometimes you need to commit your own changes in the submodule directory and manually generate the patch.\n\n```bash\npnpm build:patch\n```\n\n## Example\n\n- [Gif to Webp](https://libwebp-wasm.github.io/gif2webp/example/)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibwebp-wasm%2Fgif2webp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibwebp-wasm%2Fgif2webp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibwebp-wasm%2Fgif2webp/lists"}