{"id":17329819,"url":"https://github.com/fgimenez/libp2p-poc-base","last_synced_at":"2025-03-27T05:43:39.955Z","repository":{"id":151240195,"uuid":"537769007","full_name":"fgimenez/libp2p-poc-base","owner":"fgimenez","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-22T11:10:03.000Z","size":1222,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T11:11:03.530Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fgimenez.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-17T10:09:03.000Z","updated_at":"2023-01-10T16:11:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"537b5e52-07a8-4180-9056-05db3bf22058","html_url":"https://github.com/fgimenez/libp2p-poc-base","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Flibp2p-poc-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Flibp2p-poc-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Flibp2p-poc-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Flibp2p-poc-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fgimenez","download_url":"https://codeload.github.com/fgimenez/libp2p-poc-base/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791927,"owners_count":20672669,"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-15T14:49:31.672Z","updated_at":"2025-03-27T05:43:39.940Z","avatar_url":"https://github.com/fgimenez.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Test](https://github.com/fgimenez/libp2p-poc/actions/workflows/test.yml/badge.svg)](https://github.com/fgimenez/libp2p-poc/actions/workflows/test.yml)\n\n# libp2p-poc\n\nBased on https://github.com/shazow/rnges.us/tree/feature/vue-setup/wasm-net\n\nConnectivity tests between libp2p nodes: browser \u003c-\u003e desktop, browser \u003c-\u003e browser.\n\n## Prerrequisites\n```sh\n# install rust\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n\n# install wasm-pack\ncurl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh\n\n# install wasm target\nrustup target add wasm32-unknown-unknown\nrustup target add wasm32-unknown-unknown --toolchain nightly\n\n# Install nodejs\n\n# Install yarn\n```\n\n## Running automated tests:\n```\n./scripts/run-tests.sh\n```\n\n## Running the example app locally\n### Sync submodules and apply patches\n```sh\n./scripts/apply-patches.sh\n```\n\n### Backend node\nOn a shell console run:\n```sh\n./scripts/run-backend.sh\n```\nYou wil see the logs from the desktop node.\n\n### Frontend\nOn a different shell console:\n```sh\n./scripts/run-backend.sh\n```\nOnce the app is running open http://localhost:8080 in a browser (tested on Chrome)\nand click on `Connect`.\n\nThis will trigger the connection from the browser to the backend node, you will\nstart seeing log entries about the interaction in the backend node shell console\nopen previously.\n\nYou can also open the browser console to check the logs printed by the browser node.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgimenez%2Flibp2p-poc-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffgimenez%2Flibp2p-poc-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgimenez%2Flibp2p-poc-base/lists"}