{"id":18837729,"url":"https://github.com/m1k1o/chat","last_synced_at":"2025-08-22T03:32:34.944Z","repository":{"id":41947758,"uuid":"125731427","full_name":"m1k1o/chat","owner":"m1k1o","description":"Lightweight plug \u0026 play, self-hosted, zeroconfig node.js chat.","archived":false,"fork":false,"pushed_at":"2025-02-24T20:53:08.000Z","size":995,"stargazers_count":40,"open_issues_count":5,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T21:51:24.540Z","etag":null,"topics":["chat","docker","lightweight","nodejs","self-hosted","socket-io"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/m1k1o.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":"2018-03-18T14:09:23.000Z","updated_at":"2025-03-14T03:34:51.000Z","dependencies_parsed_at":"2024-04-19T18:31:37.726Z","dependency_job_id":"9441e838-be66-443b-a6c7-26900f1e2cb3","html_url":"https://github.com/m1k1o/chat","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/m1k1o/chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1k1o%2Fchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1k1o%2Fchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1k1o%2Fchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1k1o%2Fchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1k1o","download_url":"https://codeload.github.com/m1k1o/chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1k1o%2Fchat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271579442,"owners_count":24784250,"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-08-22T02:00:08.480Z","response_time":65,"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":["chat","docker","lightweight","nodejs","self-hosted","socket-io"],"created_at":"2024-11-08T02:36:10.341Z","updated_at":"2025-08-22T03:32:34.573Z","avatar_url":"https://github.com/m1k1o.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chat\r\nSimple plug \u0026 play real-time JavaScript chat implemented using Socket.io.\r\n\r\nWhere simplicity meets usability:\r\n\r\n* No user accounts - just enter nickname and join.\r\n* No history saved by default - only logged-in users can see recent history.\r\n* No configuration.\r\n* Only one room - you can't create any other rooms or write PM to others.\r\n* Files sharing is possible - without storing any data on server.\r\n* Emojis - just a few of them.\r\n\r\n![screenshot](https://raw.githubusercontent.com/m1k1o/chat/master/screenshot.png)\r\n\r\n## docker\r\n\r\n```sh\r\ndocker run -d \\\r\n\t--name chat \\\r\n\t-p 80:80 \\\r\n\tm1k1o/chat:latest\r\n```\r\n\r\n## docker-compose\r\n\r\n```yml\r\nversion: \"3\"\r\nservices:\r\n  chat:\r\n    image: m1k1o/chat:latest\r\n    restart: unless-stopped\r\n    ports:\r\n      - 80:80\r\n    environment:\r\n      CACHE_SIZE: 50 # optional: message count stored. Defaults to zero.\r\n ```\r\n\r\n## Cache\r\n`CACHE_SIZE` is optional and determines the number of messages stored on the server. When new users join (or reconnect), that cache is sent to give a brief history. This defaults to zero, but can be set as an environment variable.\r\n\r\nIf you're not running in a docker container, you can make a `.env` file in the project root with `CACHE_SIZE=50` in.\r\n\r\nNote: This cache will be text or images so be mindful not to set it too high as it could be n images sent to every new user.\r\n\r\n## How to install\r\n\r\nRequirements: `nodejs`, `npm`\r\n\r\n1. Clone this repository.\r\n\t- `git clone https://github.com/m1k1o/chat .`\r\n2. Install server dependencies.\r\n\t- `npm install`\r\n3. Run server (default port is `80`).\r\n\t- `npm start [custom_port]`\r\n4. Done, visit your chat in browser.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1k1o%2Fchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1k1o%2Fchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1k1o%2Fchat/lists"}