{"id":29248580,"url":"https://github.com/rstudio-tech/p2p-gossiping-rust","last_synced_at":"2025-07-04T00:08:13.511Z","repository":{"id":302494992,"uuid":"904100243","full_name":"rstudio-tech/p2p-gossiping-rust","owner":"rstudio-tech","description":"P2P-gossiping application with rust","archived":false,"fork":false,"pushed_at":"2024-12-16T08:57:33.000Z","size":95,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T17:55:29.029Z","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/rstudio-tech.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,"zenodo":null}},"created_at":"2024-12-16T08:56:58.000Z","updated_at":"2025-02-21T15:59:57.000Z","dependencies_parsed_at":"2025-07-02T17:55:31.929Z","dependency_job_id":"4487a74a-cd62-4d12-9e6d-8493ff256efb","html_url":"https://github.com/rstudio-tech/p2p-gossiping-rust","commit_stats":null,"previous_names":["rstudio-tech/p2p-gossiping-rust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rstudio-tech/p2p-gossiping-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio-tech%2Fp2p-gossiping-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio-tech%2Fp2p-gossiping-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio-tech%2Fp2p-gossiping-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio-tech%2Fp2p-gossiping-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rstudio-tech","download_url":"https://codeload.github.com/rstudio-tech/p2p-gossiping-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio-tech%2Fp2p-gossiping-rust/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263421932,"owners_count":23464051,"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":"2025-07-04T00:08:12.656Z","updated_at":"2025-07-04T00:08:13.436Z","avatar_url":"https://github.com/rstudio-tech.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple p2p gossiping app written with actix-actor framework\n\nThe peer have a cli interface to start it and connect itself to the other peers. \nOnce connected, the peer starts sending a random gossip message (and printing it) to all the other peers every N seconds. \nThe messaging period [N] is specifiable in the command line. \nWhen a peer receives a message from the other peers, it prints it in the console.\n\n* to build peer bin:\n\n   `cargo build --release`\n\n* to run peer app:\n\n  `cargo run --package p2p_gossiping_app --bin p2p_gossiping_app -- [options]` or `target/release/p2p_gossiping_app [options]`\n\n### Starting the first peer with messaging period 5 seconds at port 8080:\n\n`cargo run --package p2p_gossiping_app --bin p2p_gossiping_app -- --period=5 --port=8080`\n\n### Starting the second peer (with options) which will connect to the first, messaging period - 6 seconds, port - 8081\n\n`cargo run --package p2p_gossiping_app --bin p2p_gossiping_app -- --period=6 --port=8081 --connect=\"127.0.0.1:8080\"`\n\n### Starting the third peer (with options) which will connect to all the peers through the first, messaging period - 7 seconds, port - 8082\n\n`cargo run --package p2p_gossiping_app --bin p2p_gossiping_app -- --period=7 --port=8082 --connect=\"127.0.0.1:8080\"`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstudio-tech%2Fp2p-gossiping-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frstudio-tech%2Fp2p-gossiping-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstudio-tech%2Fp2p-gossiping-rust/lists"}