{"id":13671593,"url":"https://github.com/hua1995116/webchat","last_synced_at":"2025-05-15T12:05:02.998Z","repository":{"id":47793673,"uuid":"89442380","full_name":"hua1995116/webchat","owner":"hua1995116","description":":speaker: Websocket project based on vue（基于vue2.0的实时聊天项目）","archived":false,"fork":false,"pushed_at":"2023-08-28T15:31:28.000Z","size":2977,"stargazers_count":2027,"open_issues_count":5,"forks_count":501,"subscribers_count":78,"default_branch":"master","last_synced_at":"2025-04-14T22:18:03.329Z","etag":null,"topics":["express","mongodb","nodejs","project","vue","websocket"],"latest_commit_sha":null,"homepage":"","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/hua1995116.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}},"created_at":"2017-04-26T05:41:25.000Z","updated_at":"2025-04-14T11:41:25.000Z","dependencies_parsed_at":"2022-08-12T13:50:41.290Z","dependency_job_id":"7a8c9a18-2c06-4249-92ff-893911b9db14","html_url":"https://github.com/hua1995116/webchat","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2Fwebchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2Fwebchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2Fwebchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2Fwebchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hua1995116","download_url":"https://codeload.github.com/hua1995116/webchat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337612,"owners_count":22054253,"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":["express","mongodb","nodejs","project","vue","websocket"],"created_at":"2024-08-02T09:01:14.072Z","updated_at":"2025-05-15T12:04:57.986Z","avatar_url":"https://github.com/hua1995116.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# webchat\n\n\u003cimg src=\"https://s3.qiufengh.com/webchat/webchat-logo-160.png\" /\u003e\n\n[![Build Status](https://www.travis-ci.org/hua1995116/webchat.svg?branch=master)](https://www.travis-ci.org/hua1995116/webchat)\n\n[中文版](./README.md) [English](./zh_en.md)\n\n\u003e 说明: master 分支还不太稳定，可以查看 https://github.com/hua1995116/webchat/tree/v2.2.0 稳定分支， 3.0 版本持续重构中。\n\n## 功能\n\n- [x] 注册登录功能\n- [x] 聊天功能\n- [x] 查看历史记录\n- [x] 多个聊天室\n- [x] 与机器人对接\n- [x] 图片发送\n- [x] 发送链接\n- [x] 发送表情\n- [x] 图片预览\n- [x] 消息未读\n- [x] 断线重连\n- [x] 好友资料查看\n- [x] 添加好友\n- [x] 单聊\n- [x] 搜索好友\n- [x] 热门好友推荐\n\n\n## 启动项目\n\nDev环境: MongoDB、Node 8.5.0+、Npm 5.3.0+\n\nProd环境: Redis、MongoDB、Node 8.5.0+、Npm 5.3.0+\n\n启动客户端\n```\n$webchat cd client\n\n$client npm install -----安装依赖\n\n$client npm run serve -----运行\n\n```\n启动服务端\n```\n$client cd ..\n\n$webchat npm install\n\n$webchat npm run dev\n```\n\n## 打包\n\n打包客户端\n```\ncd client\n\nnpm run build\n```\n\n服务端运行\n```\ncd ..\n\nnpm run prod\n```\n\n在线观看\n\n\u003cimg src=\"http://s3.qiufengh.com/images/1536588077.png\" width=\"400\" /\u003e\n\n## 技术交流\n\n\nqq群: 437938625\n\n微信群: 加微信拉你进微信群。\n\n\u003cimg src=\"https://s3.qiufengh.com/webchat/webcaht-my.jpeg?imageView2/2/w/360\" width=\"300\" /\u003e\n\n\n## 技术栈\n\n - 前端 vue，vue-router ,vuex\n - 后端 nodejs，express\n - 数据库 mongodb\n - 通讯 websocket\n - 脚手架工具 vue-cli\n\n## 效果\n\n\u003cimg src=\"http://s3.qiufengh.com/screenshot/1.png\"/\u003e\n\n\u003cimg src=\"http://s3.qiufengh.com/screenshot/2.png\"/\u003e\n\n\u003cimg src=\"http://s3.qiufengh.com/screenshot/3.png\"/\u003e\n\n\u003cimg src=\"http://s3.qiufengh.com/screenshot/4.png\"/\u003e\n\n## 版本更新\n\n**v3新增功能**\n\n1. 网络异常判断、重连提示\n2. 多端信息同步\n3. 好友资料查看\n4. 添加好友\n5. 单聊\n6. 搜索好友\n7. 热门好友推荐\n8. 性别、手机号修改\n9. 搜索加好友\n\n## 版本预览\n\n**v2 稳定版本**\n\nhttps://github.com/hua1995116/webchat/tree/v2.2.0\n\n**其他版本**\n\n\u003ca href=\"./RELEASE.md\"\u003eRELEASE\u003c/a\u003e\n\n## 项目wiki\n\nhttps://qiufeng.blue/node/#websocket-%E7%B3%BB%E5%88%97\n\n## API\n\n\u003ca href=\"./API.md\"\u003eAPI\u003c/a\u003e\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nMIT License\n\nCopyright (c) 2018 蓝色的秋风\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhua1995116%2Fwebchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhua1995116%2Fwebchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhua1995116%2Fwebchat/lists"}