{"id":13858801,"url":"https://github.com/zfletch/ncurses-chat-rb","last_synced_at":"2025-05-13T16:33:00.729Z","repository":{"id":9946710,"uuid":"11964937","full_name":"zfletch/ncurses-chat-rb","owner":"zfletch","description":"Chat server and client using ncurses in ruby","archived":false,"fork":false,"pushed_at":"2013-08-13T18:30:26.000Z","size":796,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T20:20:57.168Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zfletch.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}},"created_at":"2013-08-08T01:44:11.000Z","updated_at":"2017-11-05T11:49:06.000Z","dependencies_parsed_at":"2022-09-24T05:50:48.243Z","dependency_job_id":null,"html_url":"https://github.com/zfletch/ncurses-chat-rb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfletch%2Fncurses-chat-rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfletch%2Fncurses-chat-rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfletch%2Fncurses-chat-rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfletch%2Fncurses-chat-rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zfletch","download_url":"https://codeload.github.com/zfletch/ncurses-chat-rb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253981903,"owners_count":21994352,"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-08-05T03:02:21.267Z","updated_at":"2025-05-13T16:33:00.682Z","avatar_url":"https://github.com/zfletch.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"ncurses chat\n============\n\nChat server and client using ncurses in ruby.\n\nDescription\n-----------\n\nSimple chat server, client, and ncurses client\nwritten in ruby using the ruby-ncurses library.\n\nThe basic setup: starting a server creates a chat room\nthat clients can connect to.\nThe server and clients use TCP Sockets to communicate.\nThe clients can send commands to the server\nto op other clients, private message other clients,\nadd a password to the room, and some other things\nclients can usually do in group chat programs.\n\nIf someone out there is looking for some code examples\nfor using ncurses-ruby or for making a simple chat program,\nI hope this code will come in handy.\n\nHow to use\n----------\n\n - gem install ncurses-ruby\n - git clone https://github.com/zfletch/ncurses-chat-rb\n - cd ncurses-chat-rb\n - ruby server.rb\n - (in another terminal window) ruby nclient.rb\n - type '/help' in the client to see a list of commands\n\nExamples\n--------\n\nSimple example of multiple users using the chat.\n![simple](https://github.com/zfletch/ncurses-chat-rb/blob/master/pictures/simple.png?raw=true)\n\nSlightly more complicated example using the guardian.rb script\nto create a bot that sits in the room and ops people who\nmessage it the password.\n![guardian](https://github.com/zfletch/ncurses-chat-rb/blob/master/pictures/guardian.png?raw=true)\n\nNotes\n-----\n\nTested on ruby 2.0.0 on OSX 10.8.4.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfletch%2Fncurses-chat-rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzfletch%2Fncurses-chat-rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfletch%2Fncurses-chat-rb/lists"}