{"id":22492844,"url":"https://github.com/akshays-repo/wasm-react","last_synced_at":"2025-03-27T20:34:38.445Z","repository":{"id":218871378,"uuid":"746564046","full_name":"akshays-repo/wasm-react","owner":"akshays-repo","description":"WebAssembly with Go and React","archived":false,"fork":false,"pushed_at":"2024-01-24T08:10:14.000Z","size":469,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T22:49:27.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/akshays-repo.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}},"created_at":"2024-01-22T09:05:53.000Z","updated_at":"2024-08-06T06:29:01.000Z","dependencies_parsed_at":"2024-01-24T10:51:55.537Z","dependency_job_id":null,"html_url":"https://github.com/akshays-repo/wasm-react","commit_stats":null,"previous_names":["akshays-repo/wasm-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshays-repo%2Fwasm-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshays-repo%2Fwasm-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshays-repo%2Fwasm-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshays-repo%2Fwasm-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akshays-repo","download_url":"https://codeload.github.com/akshays-repo/wasm-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245921554,"owners_count":20694333,"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-12-06T18:23:19.410Z","updated_at":"2025-03-27T20:34:38.421Z","avatar_url":"https://github.com/akshays-repo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebAssembly with Go and React\n\nThis repository demonstrates the integration of WebAssembly (Wasm) with Go and React.\n\n## How to Run\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/akshays-repo/wasm-react.git\n    cd wasm-react\n    ```\n\n2. ### Build Go WebAssembly:\n\n   ```bash\n   GOARCH=wasm GOOS=js go build -o main.wasm\n   ```\n\n3. ### Copy `wasm_exec.js`:\n\n   ```bash\n   cp \"$(go env GOROOT)/misc/wasm/wasm_exec.js\" .\n   ```\n\n4. ### Move the `main.wasm` file to public:\n\n\n5. ### Move the `wasm_exec.js` file to src:\n\n\n6. ### Run the React App:\n\n   ```bash\n   npm install\n   npm start\n   ```\n\n7. Open your browser and visit [http://localhost:5173](http://localhost:5173). You should see the React app with integrated WebAssembly.\n\nAdjust the code and configurations based on your specific requirements. Feel free to explore and modify the code for your needs. Happy coding!\n```\n\nThis version provides a concise set of instructions on how to run the code without focusing on the installation process.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshays-repo%2Fwasm-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakshays-repo%2Fwasm-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshays-repo%2Fwasm-react/lists"}