{"id":15323891,"url":"https://github.com/LeoBorai/rust-cli-chat","last_synced_at":"2025-02-26T17:31:31.802Z","repository":{"id":104134138,"uuid":"268923300","full_name":"LeoBorai/rust-cli-chat","owner":"LeoBorai","description":"Rust Client \u0026 Server CLI Chat Application","archived":false,"fork":false,"pushed_at":"2020-10-27T02:13:50.000Z","size":6,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T09:57:29.553Z","etag":null,"topics":["chat","mpsc","rust","streams","sync","tcp"],"latest_commit_sha":null,"homepage":"","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/LeoBorai.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":"2020-06-02T22:40:26.000Z","updated_at":"2024-11-13T11:54:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"1710ec11-95fa-4643-9b70-76617bb48066","html_url":"https://github.com/LeoBorai/rust-cli-chat","commit_stats":null,"previous_names":["leoborai/rust-cli-chat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Frust-cli-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Frust-cli-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Frust-cli-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Frust-cli-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeoBorai","download_url":"https://codeload.github.com/LeoBorai/rust-cli-chat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240271520,"owners_count":19774859,"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":["chat","mpsc","rust","streams","sync","tcp"],"created_at":"2024-10-01T09:23:08.428Z","updated_at":"2025-02-26T17:31:31.796Z","avatar_url":"https://github.com/LeoBorai.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://camo.githubusercontent.com/734a3468bce992fbc3b729562d41c92f4912c99a/68747470733a2f2f7777772e727573742d6c616e672e6f72672f7374617469632f696d616765732f727573742d6c6f676f2d626c6b2e737667\" height=\"120\" width=\"120\" /\u003e\n  \u003ch1\u003erust-cli-chat\u003c/h1\u003e\n  \u003csmall\u003eRust Client \u0026 Server CLI Chat Application\u003c/small\u003e\n\u003c/div\u003e\n\n## Motivation\n\nExplore Rust threads, TCP streams and channels.\n\n## Getting Started\n\n- Run the `server` crate\n\n```bash\ncd server \u0026\u0026 cargo run\n```\n\nA TCP listener will bind to `127.0.0.1:6000`, awating for connections.\n\n```log\n➜  server git:(main) cargo run\n   Compiling server v0.1.0 (/projects/rust-cli-chat/server)\n    Finished dev [unoptimized + debuginfo] target(s) in 0.78s\n     Running `target/debug/server`\nClient 127.0.0.1:56795 connected\n```\n\nThen you must run the `client` crate in another terminal window or tab.\n\n```bash\ncd client \u0026\u0026 cargo run\n```\n\nA connection to the TCP listener on `127.0.0.1:6000` will be established\nand you will be prompted to write a message:\n\n```log\n➜  client git:(main) cargo run\n   Compiling client v0.1.0 (/projects/rust-cli-chat/client)\n    Finished dev [unoptimized + debuginfo] target(s) in 0.78s\n     Running `target/debug/client`\nWrite a message:\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeoBorai%2Frust-cli-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeoBorai%2Frust-cli-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeoBorai%2Frust-cli-chat/lists"}