{"id":23239156,"url":"https://github.com/th4s/wasm-tokio","last_synced_at":"2025-04-05T21:41:50.428Z","repository":{"id":180696720,"uuid":"611286026","full_name":"th4s/wasm-tokio","owner":"th4s","description":"This is test repo for tokio in wasm","archived":false,"fork":false,"pushed_at":"2023-03-11T17:05:20.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T02:08:36.605Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/th4s.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":"2023-03-08T14:10:30.000Z","updated_at":"2023-03-09T16:14:14.000Z","dependencies_parsed_at":"2023-07-29T20:16:45.937Z","dependency_job_id":null,"html_url":"https://github.com/th4s/wasm-tokio","commit_stats":null,"previous_names":["th4s/wasm-tokio"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th4s%2Fwasm-tokio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th4s%2Fwasm-tokio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th4s%2Fwasm-tokio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th4s%2Fwasm-tokio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/th4s","download_url":"https://codeload.github.com/th4s/wasm-tokio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406078,"owners_count":20933803,"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-19T04:22:04.960Z","updated_at":"2025-04-05T21:41:50.405Z","avatar_url":"https://github.com/th4s.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wasm-Tokio Example\n\nThis is a test project to run KOS OT `rand_setup` in the browser using WASM, making use of a\nsingle-threaded tokio runtime and multiple rayon threads.\n\n## How to run it\n\n### Requirements\n1. Install google-chrome browser.\n2. Install [simple-http-server](https://github.com/TheWaWaR/simple-http-server)\n3. Install [wasm-pack](https://rustwasm.github.io/wasm-pack/)\n\n### Run\n```\n# Build wasm modules and js wrapper\nwasm-pack build -t web -d www/pkg --release\n\n# Serve files\nsimple-http-server --ip 127.0.0.1 --nocache -t1 -i --coop --coep www\n```\n\nNow open Chrome at `localhost:8000`. You should see some messages in the\nconsole.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth4s%2Fwasm-tokio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fth4s%2Fwasm-tokio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth4s%2Fwasm-tokio/lists"}