{"id":13472799,"url":"https://github.com/Mubelotix/wasm-extension-template","last_synced_at":"2025-03-26T17:31:22.222Z","repository":{"id":44459222,"uuid":"266505530","full_name":"Mubelotix/wasm-extension-template","owner":"Mubelotix","description":"An easy-to-use template for Rust web extensions. The Rust code is compiled to WASM and ran as a content script.","archived":false,"fork":false,"pushed_at":"2024-04-29T11:32:21.000Z","size":27,"stargazers_count":190,"open_issues_count":0,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-08-01T16:31:21.129Z","etag":null,"topics":["extension","rust","template","wasm","web","webextension"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Mubelotix.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-24T09:06:37.000Z","updated_at":"2024-06-26T14:18:20.000Z","dependencies_parsed_at":"2024-04-29T12:53:41.378Z","dependency_job_id":null,"html_url":"https://github.com/Mubelotix/wasm-extension-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mubelotix%2Fwasm-extension-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mubelotix%2Fwasm-extension-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mubelotix%2Fwasm-extension-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mubelotix%2Fwasm-extension-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mubelotix","download_url":"https://codeload.github.com/Mubelotix/wasm-extension-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222156528,"owners_count":16940436,"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":["extension","rust","template","wasm","web","webextension"],"created_at":"2024-07-31T16:00:58.103Z","updated_at":"2024-10-30T03:31:18.533Z","avatar_url":"https://github.com/Mubelotix.png","language":"Shell","funding_links":[],"categories":["Shell","Rust","webextension"],"sub_categories":[],"readme":"# WASM Extension Template\n\nUse this template to quickly generate an empty *Hello World* web extension in Rust. This will get your code executed the right way.\n\nSupports both manifest v2 and v3.\n\nWill install wasm-specific build tools for you.\n\n## Install tools\n\n```sh\ncargo install cargo-generate\ncargo install wasm-pack\n```\n\n## Generate an extension\n\nYou can use `cargo-generate` to generate a new crate (modify the name at the end of the command):\n\n```sh\ncargo generate --git https://github.com/Mubelotix/wasm-extension-template --name amazing-extension\n```\n\nYour crate is now generated and ready to be compiled.\n\n## Compile your extension\n\nYou cannot use `cargo build` to compile your crate. Use the `build.sh` script instead:\n\n```sh\nsh build.sh\n```\n\nOnce compiled, the target files are ready to be used in the `pkg` folder.\n\n## Test your program\n\nWeb browsers allow developpers to test web extensions before publishment.\nSee your browser's specific instructions to do that.\nAfter build, the `manifest.json` file is located in the `pkg` folder.\nBy default, your extension will run on example.com and have no other permissions.\nYou should want to modify the manifest (see [the doc](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMubelotix%2Fwasm-extension-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMubelotix%2Fwasm-extension-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMubelotix%2Fwasm-extension-template/lists"}