# mini-im **Repository Path**: stuinfer/mini-im ## Basic Information - **Project Name**: mini-im - **Description**: 简单的im服务 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 7 - **Forks**: 0 - **Created**: 2019-09-30 - **Last Updated**: 2024-05-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MINI-IM mini-im 是 [webchat](https://gitee.com/yuwei149/webchat) 的 golang 后端实现, 也可以作为 im服务 进行二次开发. 具有简单易用,容易扩展,分布式等优点 ## 原版地址 frontend: [github.com/weiyuc/webchat](https://github.com/weiyuc/webchat) backend: [github.com/weiyuc/webchat-backend](https://github.com/weiyuc/webchat-backend) ## 在线体验 [https://im.cocktail1024.top](https://im.cocktail1024.top) 用户1, 账号: abc123, 密码: abc123 用户2, 账号: abc1234, 密码: abc1234 ## 使用docker-compose 快速使用 * environment GO111MODULE=on * go vesion ≥ 1.13.1 ```shell script 1. make docker_build 2. docker-compose -f docker-compose.yml up -d ``` ## 安装 * environment GO111MODULE=on * go vesion ≥ 1.13.1 * mysql * redis * nats ```shell script 1. make install 2. 导入 resource/db.sql 到 mysql, 3. 修改 build/conf/config.toml 成自己的配置 ``` ## 运行 ```shell script 1. 启动mysql, redis, nats 服务 2. make run // 默认只启动 http 跟 sockjs 服务 ``` ## 参考 1. [github.com/weiyuc/webchat-backend](https://github.com/weiyuc/webchat-backend) 2. [github.com/Terry-Mao/goim](https://github.com/Terry-Mao/goim) 3. [gitee.com/farsunset/cim](https://gitee.com/farsunset/cim) 4. [gitee.com/qiqiim/qiqiim-server](https://gitee.com/qiqiim/qiqiim-server) ## Thanks 1. [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) 2. [github.com/jinzhu/gorm](https://github.com/jinzhu/gorm) 3. [github.com/go-redis/redis](https://github.com/go-redis/redis) 4. [github.com/igm/sockjs-go](http://github.com/igm/sockjs-go) 5. [github.com/aceld/zinx](https://github.com/aceld/zinx) ...