{"id":18595652,"url":"https://github.com/wineee/simple-chat","last_synced_at":"2025-10-24T04:31:37.335Z","repository":{"id":51045271,"uuid":"359466546","full_name":"wineee/simple-chat","owner":"wineee","description":"[一个聊天软件Demo] a chat software powered by libevent/mysql and qt","archived":false,"fork":false,"pushed_at":"2021-09-10T17:05:17.000Z","size":4408,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T00:05:09.652Z","etag":null,"topics":["chat","libevent","mysql","qt5"],"latest_commit_sha":null,"homepage":"","language":"C++","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/wineee.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":"2021-04-19T13:18:27.000Z","updated_at":"2025-03-03T14:11:54.000Z","dependencies_parsed_at":"2022-09-11T08:11:31.028Z","dependency_job_id":null,"html_url":"https://github.com/wineee/simple-chat","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/wineee%2Fsimple-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wineee%2Fsimple-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wineee%2Fsimple-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wineee%2Fsimple-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wineee","download_url":"https://codeload.github.com/wineee/simple-chat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248252691,"owners_count":21072701,"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":["chat","libevent","mysql","qt5"],"created_at":"2024-11-07T01:20:31.883Z","updated_at":"2025-10-24T04:31:37.231Z","avatar_url":"https://github.com/wineee.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-chat\n\n\n## Yet another Chat software, support private chat and group chat, based on libevent\n\n## 客户端\n\n\u003e 使用 Qt 5.15，理论上在 linux 和 windows 下都可以编译运行\n\n#### 注册界面\n\n![wishimg](https://cdn.jsdelivr.net/gh/wineee/MarkDownPIC@master/img/0807b54b8f4625a37aaffedf4b8eb9d0.png)\n\n#### 登录界面\n\n![wishimg](https://cdn.jsdelivr.net/gh/wineee/MarkDownPIC@master/img/23929ebbcb61e4b9eb3d575f989eccfc.png)\n\n#### 私聊\n\n![wishimg](https://cdn.jsdelivr.net/gh/wineee/MarkDownPIC@master/img/75fe8ef4a354026df356123a27c12cff.png)\n\n#### 群聊\n\n![wishimg](https://cdn.jsdelivr.net/gh/wineee/MarkDownPIC@master/img/2fb9182d2b251b46e7abc4a1c8bf25e5.png)\n\n#### 传文件\n\n![wishimg](https://cdn.jsdelivr.net/gh/wineee/MarkDownPIC@master/img/d72d87d1e66f3511dfc5ffb797b2b531.png)\n\n参考资料(事实上参考资料的界面更完善)：[Fdog系列（四）：使用Qt框架模仿QQ实现登录界面，界面篇](https://blog.csdn.net/Fdog_/article/details/115864249)\n[QtQQ](https://github.com/Blackmamba-xuan/QtQQ)\n\n## 服务端\n\n\u003e 使用阿里云  Ubuntu 20.04.2 系统\n\n需要安装 libevent jsoncpp mysql\n\n```bash\napt-get install libevent-dev libjsoncpp-dev\napt-get install mysql-server mysql-client libmysqlclient-dev \n```\n\n[阿里云添加安全组规则](https://www.jb51.net/article/190342.htm)\n\n---\n\n参考教程：https://www.bilibili.com/video/BV19U4y1p7pT\n\n### [放上一点可供参考的笔记](https://github.com/wineee/simple-chat/blob/main/libevent.md)\n\n\u003e *虽然还有很多不完善的地方，比如客户端存储记录等等，不过主要思路已经实现了，以后可能不会积极更新*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwineee%2Fsimple-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwineee%2Fsimple-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwineee%2Fsimple-chat/lists"}