{"id":29798337,"url":"https://github.com/jordandchappell/node-chat-server","last_synced_at":"2025-07-28T07:16:06.865Z","repository":{"id":119103232,"uuid":"565351656","full_name":"JordanDChappell/node-chat-server","owner":"JordanDChappell","description":"An SSH chat server written in NodeJS","archived":false,"fork":false,"pushed_at":"2024-03-16T23:25:17.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-24T09:06:09.749Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/JordanDChappell.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}},"created_at":"2022-11-13T05:32:19.000Z","updated_at":"2023-01-31T20:56:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa9646dc-6dec-49c2-80ae-1b171d46d632","html_url":"https://github.com/JordanDChappell/node-chat-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JordanDChappell/node-chat-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanDChappell%2Fnode-chat-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanDChappell%2Fnode-chat-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanDChappell%2Fnode-chat-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanDChappell%2Fnode-chat-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JordanDChappell","download_url":"https://codeload.github.com/JordanDChappell/node-chat-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanDChappell%2Fnode-chat-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267477431,"owners_count":24093736,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-28T07:16:01.206Z","updated_at":"2025-07-28T07:16:06.851Z","avatar_url":"https://github.com/JordanDChappell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node Chat Server\n## SSH Chat Enabler\nA simple SSH server implementation using the [nodejs ssh2 library](https://github.com/mscdex/ssh2) intended to be used as a basic, secure chat application in your favourite terminal!\n\n### How do I connect?\nUsing your favourite SSH client (PuTTY, Bash, Terminal, Powershell) to connect to {server TBA}\n\n### What commands are available?\nThe server has a list of 'slash' commands that are detailed if the user requests by sending `/commands` in the chat,\nhelp for each command is availabe using the `/help \u003ccommand\u003e` 'slash' command.\n\n## Developer Quickstart Guide\nMake sure that you have installed NodeJS and it's dependencies and are using yarn as your package manager.\n\nSource files are located in the `/codebase` folder, the following guide assumes that your working directory is set as such.\n\n### Configuration\nConfiguration of the server is achieved using a `.env` [file](https://hexdocs.pm/dotenvy/dotenv-file-format.html) that needs to be added to the `/codebase` directory.\n\n`.env` files usually contain basic key-value pairs of secret variables, the below table describes each option, if it is required, and if not, it's default value.\n\n#### Options\n| Name      | Description | Required | Default |\n| ----------- | ----------- | ----------- | ----------- |\n| MAX_CONNECTION_COUNT | The maximum allowed number of concurrent client connections | ❎ | `128` |\n| MESSAGE_LOG_SIZE | The number of messages that are persisted across user sessions | ❎ | `10` |\n| PORT | The port that the application will be bound to | ❎ | `22` |\n| PRIVATE_KEY | Private SSH key | ✅ | N/A |\n\n\n### Install Dependencies\n`yarn install`\n\n### Starting The App\n`yarn start`\n\n### Linting \u0026 Formatting\nAn ESLint and Prettier configuration has been provided and should be used to check code quality and for correct formatting.\n\n**Note:** You can host your own chat server by cloning the repo and running the above commands on any computer running NodeJS.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordandchappell%2Fnode-chat-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordandchappell%2Fnode-chat-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordandchappell%2Fnode-chat-server/lists"}