{"id":20368010,"url":"https://github.com/mcaptcha/pow_wasm","last_synced_at":"2025-04-12T05:37:19.886Z","repository":{"id":104908193,"uuid":"433835152","full_name":"mCaptcha/pow_wasm","owner":"mCaptcha","description":"WASM port of the proof-of-work library used in mCaptcha","archived":false,"fork":false,"pushed_at":"2023-10-29T00:50:00.000Z","size":2588,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T01:03:23.439Z","etag":null,"topics":["mcaptcha","proof-of-work","wasm"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@mcaptcha/pow-wasm","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mCaptcha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE_APACHE","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},"funding":{"open_collective":null,"liberapay":"mcaptcha","issuehunt":null,"custom":["https://mcaptcha.org/donate"]}},"created_at":"2021-12-01T13:19:57.000Z","updated_at":"2025-03-04T02:51:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"fea9f914-98ae-4474-b5c9-d65493c51be1","html_url":"https://github.com/mCaptcha/pow_wasm","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"34af0dc0d3743f25efceb10362bb823b2b7cf6d2"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mCaptcha%2Fpow_wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mCaptcha%2Fpow_wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mCaptcha%2Fpow_wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mCaptcha%2Fpow_wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mCaptcha","download_url":"https://codeload.github.com/mCaptcha/pow_wasm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525166,"owners_count":21118616,"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":["mcaptcha","proof-of-work","wasm"],"created_at":"2024-11-15T00:36:05.222Z","updated_at":"2025-04-12T05:37:19.835Z","avatar_url":"https://github.com/mCaptcha.png","language":"Rust","funding_links":["https://liberapay.com/mcaptcha","https://mcaptcha.org/donate"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n  \u003ch1\u003ePoW JavaScript library\u003c/h1\u003e\n\n\u003cstrong\u003eJavaScript library to generate PoW for mCaptcha\u003c/strong\u003e\n\n[![0.1.0](https://img.shields.io/badge/Rust_docs-master-dea584)](https://mcaptcha.github.io/pow_wasm/pow_wasm/index.html)\n[![Build](https://github.com/mCaptcha/pow_wasm/actions/workflows/linux.yml/badge.svg)](https://github.com/mCaptcha/pow_wasm/actions/workflows/linux.yml)\n[![dependency status](https://deps.rs/repo/github/mCaptcha/pow_wasm/status.svg)](https://deps.rs/repo/github/mCaptcha/pow_wasm)\n\u003cbr /\u003e\n[![codecov](https://codecov.io/gh/mCaptcha/pow_wasm/branch/master/graph/badge.svg)](https://codecov.io/gh/mCaptcha/pow_wasm)\n\n\u003c/div\u003e\n\n**NOTE:** wasm compilation currently requires `rustc` nightly and\nwasm optimization of this library will have to be done manually at the\nmoment. Please refer to https://github.com/rustwasm/wasm-pack/issues/886\nfor more information.\n\n### Optimization:\n\n```\n$ /path/to/wasm-opt pkg/pow_bg.wasm -o pkg/pow_bg.wasm -O --enable-mutable-globals\n```\n\nMy `/path/to/wasm-opt` is `~/.cache/.wasm-pack/wasm-opt-4d7a65327e9363b7/wasm-opt`\n\n---\n\n\u003ch2\u003e  Default documentation provided by Rust wasm: \u003c/h2\u003e\n\n  \u003ch3\u003e\n    \u003ca href=\"https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/index.html\"\u003eTutorial\u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://discordapp.com/channels/442252698964721669/443151097398296587\"\u003eChat\u003c/a\u003e\n  \u003c/h3\u003e\n\n\u003csub\u003eBuilt with 🦀🕸 by \u003ca href=\"https://rustwasm.github.io/\"\u003eThe Rust and WebAssembly Working Group\u003c/a\u003e\u003c/sub\u003e\n\n\u003c/div\u003e\n\n## About\n\n[**📚 Read this template tutorial! 📚**][template-docs]\n\nThis template is designed for compiling Rust libraries into WebAssembly and\npublishing the resulting package to NPM.\n\nBe sure to check out [other `wasm-pack` tutorials online][tutorials] for other\ntemplates and usages of `wasm-pack`.\n\n[tutorials]: https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html\n[template-docs]: https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/index.html\n\n## 🚴 Usage\n\n### 🐑 Use `cargo generate` to Clone this Template\n\n[Learn more about `cargo generate` here.](https://github.com/ashleygwilliams/cargo-generate)\n\n```\ncargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project\ncd my-project\n```\n\n### 🛠️ Build with `wasm-pack build`\n\n```\nwasm-pack build\n```\n\n### 🔬 Test in Headless Browsers with `wasm-pack test`\n\n```\nwasm-pack test --headless --firefox\n```\n\n### 🎁 Publish to NPM with `wasm-pack publish`\n\n```\nwasm-pack publish\n```\n\n## 🔋 Batteries Included\n\n- [`wasm-bindgen`](https://github.com/rustwasm/wasm-bindgen) for communicating\n  between WebAssembly and JavaScript.\n- [`console_error_panic_hook`](https://github.com/rustwasm/console_error_panic_hook)\n  for logging panic messages to the developer console.\n- [`wee_alloc`](https://github.com/rustwasm/wee_alloc), an allocator optimized\n  for small code size.\n\n## Funding\n\n### NLnet\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cimg\n\t\theight=\"150px\"\n\t\talt=\"NLnet NGIZero logo\"\n\t\tsrc=\"./static/third-party/NGIZero-green.hex.svg\"\n\t/\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n2023 development is funded through the [NGI0 Entrust\nFund](https://nlnet.nl/entrust), via [NLnet](https://nlnet.nl/). Please\nsee [here](https://nlnet.nl/project/mCaptcha/) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcaptcha%2Fpow_wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcaptcha%2Fpow_wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcaptcha%2Fpow_wasm/lists"}