| Crates.io | wonfy-tools |
| lib.rs | wonfy-tools |
| version | 0.1.3 |
| created_at | 2025-05-18 12:20:55.414177+00 |
| updated_at | 2025-08-01 18:10:35.143781+00 |
| description | Collection of tools for personal use, provides library and CLI. |
| homepage | |
| repository | https://github.com/SalahaldinBilal/wonfy-tools |
| max_upload_size | |
| id | 1678613 |
| size | 104,792 |
Simple collection of tools, mostly for personal usage.
You can checkout deployed version with UI on https://tools.won.fyi
cargo install wonfy-tools --features cli
then use it as
wonfy-tools-cli -f ./0.png ./1.png ...
can use --help to list all possible inputs for the cli
wonfy-tools-cli --help
cargo add wonfy-tools
npm install @wonfsy/wonfy-tools
Then initiating the wasm before using any of the functionality.
import initWasm, { stitch } from "@wonfsy/wonfy-tools";
function main() {
initWasm().then(() => stitch(/* params */))
}
If you're using a bundler, you're gonna have to tell the bundler to include the wasm file and then get a link to it.
import initWasm, { stitch } from "@wonfsy/wonfy-tools";
import wasmUrl from "@wonfsy/wonfy-tools/wonfy_tools_bg.wasm?url"
function main() {
initWasm({ module_or_path: wasmUrl }).then(() => stitch(/* params */))
}