{"id":18274781,"url":"https://github.com/liuderchi/chattium","last_synced_at":"2025-06-13T07:32:55.368Z","repository":{"id":42108037,"uuid":"133212418","full_name":"liuderchi/chattium","owner":"liuderchi","description":"💬 A simple chat app powered by service worker and web socket","archived":false,"fork":false,"pushed_at":"2022-12-09T00:36:23.000Z","size":2068,"stargazers_count":2,"open_issues_count":26,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T03:31:51.569Z","etag":null,"topics":["create-react-app","now-cli","react-modal","service-worker","socket-io"],"latest_commit_sha":null,"homepage":"https://derektwliu-chattium.now.sh/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liuderchi.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":"2018-05-13T06:41:27.000Z","updated_at":"2023-03-04T05:01:02.000Z","dependencies_parsed_at":"2023-01-25T18:31:50.641Z","dependency_job_id":null,"html_url":"https://github.com/liuderchi/chattium","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/liuderchi/chattium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuderchi%2Fchattium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuderchi%2Fchattium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuderchi%2Fchattium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuderchi%2Fchattium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liuderchi","download_url":"https://codeload.github.com/liuderchi/chattium/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuderchi%2Fchattium/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259602274,"owners_count":22882954,"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":["create-react-app","now-cli","react-modal","service-worker","socket-io"],"created_at":"2024-11-05T12:10:46.137Z","updated_at":"2025-06-13T07:32:55.323Z","avatar_url":"https://github.com/liuderchi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chattium\n\nChattium is a tiny chatroom PWA powered by socket.io and create-react-app\n\n\n## Quick Run in Docker Container\n\n```bash\ndocker run --rm -d -p 3000:3000 liuderchi/chattium:latest\n```\n\nNow you can go to `locaohost:3000` in browser\n\n\n## Run Locally for Development\n\n```sh\ngit clone https://github.com/liuderchi/chattium.git\ncd chattium\n\n// 1. start server\nnpm i \u0026\u0026 npm run start:watch\n\n// 2. open another terminal, start client\ncd client; yarn \u0026\u0026 yarn run start\n```\n\nNow you can go to `locaohost:3001` in browser\n\n\n## Develop in Docker Container\n\n1. Clone and run the container\n\n```bash\ngit clone https://github.com/liuderchi/chattium.git\ncd chattium\ndocker run -it --rm -d \\\n  -p 3000:3000 -p 3001:3001 \\\n  -v $PWD:/root/chattium \\\n  liuderchi/chattium:raw-env-node-yarn\n```\n\n2. start the server in bash\n\n```bash\ndocker exec -it MYCONTAINER sh\n~/chattim $ npm i \u0026\u0026 npm run start:watch\n```\n\n3. start the client dev server in bash\n\n```bash\ndocker exec -it MYCONTAINER sh\n~/chattium $ cd client\n~/chattium/client $ yarn \u0026\u0026 yarn run start\n```\n\nNow you can go to `locaohost:3001` in browser\n\n\n## Deploy with [Now CLI](https://github.com/zeit/now-cli)\n\n```sh\ncd client \u0026\u0026 \\\n  yarn run build:now \u0026\u0026 \\\n  rm build/static/js/*.map\ncd ../ \u0026\u0026 now\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuderchi%2Fchattium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuderchi%2Fchattium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuderchi%2Fchattium/lists"}