{"id":13600216,"url":"https://github.com/cherish-chat/xxim-server","last_synced_at":"2025-05-15T10:00:33.694Z","repository":{"id":63179597,"uuid":"544278340","full_name":"cherish-chat/xxim-server","owner":"cherish-chat","description":"惺惺 —— 属于你的社交地盘！惺惺是一个100%开源社交平台，每个人都可以搭建自己的服务器，掌握数据的所有权。此APP非盈利项目！","archived":false,"fork":false,"pushed_at":"2023-08-31T17:59:05.000Z","size":3964,"stargazers_count":2763,"open_issues_count":12,"forks_count":426,"subscribers_count":236,"default_branch":"cloudx","last_synced_at":"2025-04-14T15:56:52.132Z","etag":null,"topics":["go","go-zero","golang","im"],"latest_commit_sha":null,"homepage":"https://www.cherish.chat","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cherish-chat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-10-02T04:32:07.000Z","updated_at":"2025-04-12T16:18:39.000Z","dependencies_parsed_at":"2024-01-14T04:43:20.718Z","dependency_job_id":"22dce56f-7569-4f36-806f-1ce4b45440bb","html_url":"https://github.com/cherish-chat/xxim-server","commit_stats":{"total_commits":373,"total_committers":1,"mean_commits":373.0,"dds":0.0,"last_synced_commit":"0b8e71ba80b3f8f55486468ce1131990480dcdef"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherish-chat%2Fxxim-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherish-chat%2Fxxim-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherish-chat%2Fxxim-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherish-chat%2Fxxim-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cherish-chat","download_url":"https://codeload.github.com/cherish-chat/xxim-server/tar.gz/refs/heads/cloudx","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319715,"owners_count":22051072,"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":["go","go-zero","golang","im"],"created_at":"2024-08-01T18:00:32.366Z","updated_at":"2025-05-15T10:00:32.777Z","avatar_url":"https://github.com/cherish-chat.png","language":"Go","funding_links":[],"categories":["Go","武器库"],"sub_categories":["后端"],"readme":"# xxim\n\n\u003cp align=\"center\"\u003e\n\u003cimg align=\"center\" width=\"150px\" src=\"https://raw.githubusercontent.com/cherish-chat/xx-doc/master/docs/images/logo.1x.webp\"\u003e\n\u003c/p\u003e\n\nxxim-server是一个功能超多的开箱即用的IM服务器。它的诞生是为了让每个人都能使用自己的IM APP，不需要再使用令人不爽的第三方IM\nAPP。xxim-server是一个开源项目，欢迎大家一起来完善它。\n\n\u003cdiv align=center\u003e\n\n[![Go](https://github.com/cherish-chat/xxim-server/workflows/Go/badge.svg?branch=master)](https://github.com/cherish-chat/xxim-server/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/cherish-chat/xxim-server)](https://goreportcard.com/report/github.com/cherish-chat/xxim-server)\n[![Release](https://img.shields.io/github/v/release/cherish-chat/xxim-server.svg?style=flat-square)](https://github.com/cherish-chat/xxim-server)\n[![Go Reference](https://pkg.go.dev/badge/github.com/cherish-chat/xxim-server.svg)](https://pkg.go.dev/github.com/cherish-chat/xxim-server)\n[![Awesome Go](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/avelino/awesome-go)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![XXIM](https://api.cherish.chat/api/server/onlineshield/202303051934)](https://xxim.cherish.chat)\n\n\u003c/div\u003e\n\n# ⚠️⚠️⚠️⚠️⚠️⚠️\n\n**Status:**\n\n代码重构升级中，在线体验暂时不可用。\n\n# ⚠️⚠️⚠️⚠️⚠️⚠️\n\n## 🤷‍ xxim 介绍\n\n简体中文 | [English](README-EN.md)\n\nxxim-server代码不复杂，im大多逻辑都在于客户端，所以xxim-server只是一个简单的im服务器，但它具备了一个IM应有的全部功能。\n\n~~在线体验：[惺惺](https://xxim.cherish.chat) ｜ [企业](https://enterprise.cherish.chat/)~~\n\n全平台sdk：[xxim_sdk_universal](https://github.com/cherish-chat/xxim_sdk_universal)\n正在开发中，欢迎各原生平台开发者加入。通用sdk选择使用`rust`开发，因为`rust`的性能和安全性都是目前最好的。\n\n#### 包括但不限于：\n\n* [x] 发送消息（可定时的、可群发），包括：文本、图片、语音、视频、文件、位置、名片、撤回、转发、@、表情、对方正在输入、自定义消息等\n* [x] 按需拉取离线消息，且没有消息数量/天数限制\n* [x] 群聊20万成员上限\n* [x] 端对端加密(ECOD密钥协商算法)\n* [x] p2p连接，无公网ip也能搭建属于自己的im服务器。(也可以使用传统网络方式)\n* [ ] 当用户不在线时，通过厂商推送（极光、腾讯、Mob）将消息推送给用户\n\n## xxim的背景\n\n2022年初，我们公司的社交产品需要一个IM，但是我们不想使用第三方IM，所以我们自己开发了一个IM，但是我们发现开发一个IM并不容易，所以我们决定开源出来，让更多的人能够使用自己的IM。\n\n* 服务端使用 `Go` 语言开发\n    * 高性能\n    * 简单语法，易于维护代码\n    * 部署简单\n    * 服务器资源占用少\n* 客户端sdk使用 `rust` 开发\n    * 高性能\n    * 安全性高\n    * 原生async/await，很适合客户端开发\n    * 动静态库体积小\n\n## xxim的设计原则\n\n通过im服务器，我们希望解决以下问题：\n\n* 聊天受监控\n* 消息漫游天数有限制\n* 群聊人数有限制\n* 消息占用磁盘空间过大\n\n## xxim-server 架构\n\n## 点点star! ⭐\n\n如果你喜欢或正在使用这个项目来学习或开始你的解决方案，请给它一个星。谢谢！\n\n[![Star History Chart](https://api.star-history.com/svg?repos=cherish-chat/xxim-server\u0026type=Date)](#xxim-server)\n\n## 帮助我们 🙏\n\n如果你想帮助我们，可以投几个币给我们，你们的支持是我们开发的最大动力。\n\n|                                                                                          支付宝                                                                                          |                                                                                               微信                                                                                               |                                                                                         币安(USDT)                                                                                         |\n|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|\n| [![AliPay](https://raw.githubusercontent.com/cherish-chat/xx-doc/master/docs/images/alipay.png)](https://raw.githubusercontent.com/cherish-chat/xx-doc/master/docs/images/alipay.png) | [![WechatPay](https://raw.githubusercontent.com/cherish-chat/xx-doc/master/docs/images/wechatpay.png)](https://raw.githubusercontent.com/cherish-chat/xx-doc/master/docs/images/wechatpay.png) | [![binance](https://raw.githubusercontent.com/cherish-chat/xx-doc/master/docs/images/binance.png)](https://raw.githubusercontent.com/cherish-chat/xx-doc/master/docs/images/binance.png) | \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcherish-chat%2Fxxim-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcherish-chat%2Fxxim-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcherish-chat%2Fxxim-server/lists"}