{"id":15980244,"url":"https://github.com/appcypher/wasabi","last_synced_at":"2025-10-06T17:31:38.836Z","repository":{"id":57671886,"uuid":"170052492","full_name":"appcypher/wasabi","owner":"appcypher","description":"[WIP] Trying to be an alternative to Emscripten","archived":false,"fork":false,"pushed_at":"2019-07-09T09:29:46.000Z","size":66,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-15T07:23:21.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/appcypher.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}},"created_at":"2019-02-11T02:06:07.000Z","updated_at":"2020-03-08T17:58:05.000Z","dependencies_parsed_at":"2022-08-30T12:00:22.162Z","dependency_job_id":null,"html_url":"https://github.com/appcypher/wasabi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appcypher%2Fwasabi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appcypher%2Fwasabi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appcypher%2Fwasabi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appcypher%2Fwasabi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appcypher","download_url":"https://codeload.github.com/appcypher/wasabi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235538025,"owners_count":19006072,"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":[],"created_at":"2024-10-08T00:03:10.482Z","updated_at":"2025-10-06T17:31:33.527Z","avatar_url":"https://github.com/appcypher.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"#\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://github.com/appcypher/wasabi/blob/master/media/wasabi.png\" alt=\"Wasabi Logo\" width=\"140\" height=\"140\"\u003e\u003c/img\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003eWASABI\u003c/h1\u003e\n\nWasabi is supposed to be a WebAssembly-focused way of generating wasm files from C/C++ code. Generated wasm files have what I call a `wasm32-llvm-linux` ABI.\n\n### BUILDING THE PROJECT\n\n#### BSD (macOS, ...) and Linux\n- Clone the repository and its submodules.\n\n    ```bash\n    git clone --recurse-submodules https://github.com/appcypher/wasabi.git\n    ```\n\n    ```bash\n    cd wasabi\n    ```\n- Wasabi is a [rust](https://www.rust-lang.org) project so it depends on `rustc` and `cargo`.\n\n    ```bash\n    curl https://sh.rustup.rs -sSf | sh\n    ```\n\n- Build `wasabi` and its dependencies.\n\n    ```bash\n    bash setup.sh install\n    ```\n    This command does the following:\n    - clones the [`llvm`](https://llvm.org/) repository and builds it using steps defined in `wasmception`. This step may take a while.\n    - clones `musl` repository.\n    - builds the `wasabi` project.\n    - installs necessary commands like `wacc`, `wa++` and `wasabi`.\n\n- After a successful install you should be able to use the `setup.sh` script through the `wasabi` command.\n    ```bash\n    wasabi --help\n    ```\n\n- Use `wacc` or `wa++` command\n    ```bash\n    wacc test.c -o test.wasm\n    ```\n\n    ```bash\n    wa++ test.cpp -o test.wasm -Wl,--export=func --gen=web\n    ```\n\n#### Windows\n- N/A\n\n### ATTRIBUTIONS\n- [wasmception](https://github.com/yurydelendik/wasmception) - needed for installing llvm and getting libs/abis.\n- [freepik](https://www.freepik.com/) - wasabi current logo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappcypher%2Fwasabi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappcypher%2Fwasabi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappcypher%2Fwasabi/lists"}