{"id":14982663,"url":"https://github.com/flyjay123/ourchat","last_synced_at":"2025-10-29T16:30:51.254Z","repository":{"id":65860887,"uuid":"601568364","full_name":"flyjay123/OurChat","owner":"flyjay123","description":"QT6开发的网络聊天室，模仿QQ微信风格","archived":false,"fork":false,"pushed_at":"2024-06-03T09:44:36.000Z","size":2064,"stargazers_count":54,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-12T01:21:01.831Z","etag":null,"topics":["chatroom","cmake","cpp","qmake","qt","qt6"],"latest_commit_sha":null,"homepage":"","language":"C++","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/flyjay123.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}},"created_at":"2023-02-14T10:49:23.000Z","updated_at":"2024-10-05T08:34:50.000Z","dependencies_parsed_at":"2023-11-24T06:45:53.720Z","dependency_job_id":"a60d1ef8-3e63-4e5e-aa16-ce05d4dd1eda","html_url":"https://github.com/flyjay123/OurChat","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyjay123%2FOurChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyjay123%2FOurChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyjay123%2FOurChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyjay123%2FOurChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flyjay123","download_url":"https://codeload.github.com/flyjay123/OurChat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219857515,"owners_count":16556062,"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":["chatroom","cmake","cpp","qmake","qt","qt6"],"created_at":"2024-09-24T14:05:49.612Z","updated_at":"2025-10-29T16:30:45.860Z","avatar_url":"https://github.com/flyjay123.png","language":"C++","readme":"# OurChat\n一款基于Qt的网络聊天室，高仿wechat\n\u003cbr\u003e一个自制IM，采用QT6制作客户端，linux C++实现后端。\n## 聊天界面\n![513(8@KQJNHXV6U)JJ)O1_G](https://github.com/flyjay123/OurChat/assets/118870803/5324a713-b900-48fe-8b81-b85eef3d032e)\n\n## 选择头像\n![image](https://user-images.githubusercontent.com/118870803/236397873-4704059a-e0c8-4c22-a3ef-4ed00495eaf9.png)\n## 发送表情\n![image](https://github.com/flyjay123/OurChat/assets/118870803/e85c9496-9a64-48c6-981e-4504b3e134a3)\n\n# 构建\n## Server\n- sqlite3作为数据库底层驱动和SQLiteCpp静态库。\n```bash\ncd OurChat/server/thirdparty\ngit clone git@github.com:SRombauts/SQLiteCpp.git\n```\n- nlohmann/json库。\n```bash\ncd OurChat/server/thirdparty\ngit clone git@github.com:nlohmann/json.git\n```\n现在可以开始编译server\n```bash\ncd OurChat/server\nmkdir build\ncd build\ncmake ..\nmake\n./server -s ${IpAddress} -p ${Port}\n```\n\n## Client\n本项目支持cmake和qmake,采用Qt6开发,使用Qt5构建需要修改部分代码.\n\u003cbr\u003e\n以MinGW作为示例：\n\u003cbr\u003e\n将 \"Qt\\Qt6.5.0\\Tools\\MinGW1120_64\\bin\" (视Qt版本和MinGW版本而自行更正目录) 添加至环境变量\n\u003cbr\u003e\n定位至CMakeLists.txt line:36, 按自己的编译器路径修改 CMAKE_PREFIX_PATH \n```bash\ncd OurChat\\Client\nmkdir build\ncd build\ncmake -G \"MinGW Makefiles\" ..\nmingw32-make.exe\n.\\OurChat.exe\n```\n\n编译前应当修改Tools\\tcpclient.h中m_server与m_port变量，以设置IP与端口号。\n\n## Visitor Count\n\n![:name](https://count.getloli.com/get/@flyjay123?theme=gelbooru)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyjay123%2Fourchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflyjay123%2Fourchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyjay123%2Fourchat/lists"}