仿微信聊天源码-泡泡IM

popoim

聊天源码介绍

泡泡IM是一套完整的仿微信聊天源码 ,源码开源未加密,包含完整的前端、后端、数据库、文档。此仿微信源码项目完全独立,不依赖第三方即时通讯服务,可直私有化部署聊天系统。可用huilder等软件打包成微信小程序,app。
文档全面,代码精简规范、低耦合、注释全面、接口清晰,非常有利于二次开发。

此聊天源码对外销售,购买请进入 聊天系统源码

技术特点

基于仿微信聊天源码的界面设计。后端基于websocket高性能即时通讯解决方案workerman开发,api接口则基于tp5开发。
前端基于vue开发,前后端分离,模块化开发。以websocket协议完成即时通讯,保证消息数据即时传输。自带网络检测,断网自动重连,保证消息可靠送达。支持SSL/TLS通信隧道加密。即时通讯部分与业务逻辑高度解偶。

源码片段

function Subscriber(options) { this.doNotConnect = 0; options = options || {}; options.heartbeat = options.heartbeat || 25000; options.pingTimeout = options.pingTimeout || 10000; this.config = options; this.uid = 0; this.channels = {}; this.connection = null; this.pingTimeoutTimer = 0; Subscriber.instances.push(this); this.connect(); } Subscriber.prototype.checkoutPing = function() { var _this = this; setTimeout(function () { if (_this.connection.networkState == 'established') { _this.connection.send('1'); if (_this.pingTimeoutTimer) { clearTimeout(_this.pingTimeoutTimer); _this.pingTimeoutTimer = 0; } _this.pingTimeoutTimer = setTimeout(function () { _this.connection.closeAndClean(); if (!_this.connection.doNotConnect) { _this.connection.waitReconnect(); } }, _this.config.pingTimeout); } }, this.config.heartbeat); }; Subscriber.prototype.channel = function (name) { return this.channels.find(name); }; Subscriber.prototype.allChannels = function () { return this.channels.all(); };

功能

1、支持发语音、文字、图片、表情、文件
2、支持一对一私聊和多对多群聊,一对一视频聊天
3、群聊支持建群、退群、解散群组、禁言、踢人、拉人进群、群备注等功能
4、个人信息支持更改昵称、头像、个性签名等
5、支持查看历史消息、离线消息
6、支持好友查找、好友申请、同意好友申请、拒绝申请、删除好友,好友备注
7、支持消息撤回,脏字过滤
8、支持通讯录,按字母顺序排列
9、管理后台功能
 

效果预览

泡泡IM移动端预览图

泡泡IM移动端预览图

泡泡IM移动端预览图

泡泡IM移动端预览图

了解更多

如果你想了解更多请参考PHP聊天系统源码-即时通讯聊天解决方案
 
原文连接:泡泡IM

20990 10 3
10个评论

chenchen

哪里下载呢

  • 暂无评论
4213942

可以对接微信么

  • 暂无评论
JasonXYL

好东西

  • 暂无评论
49987

我们是公司内部沟通用,内网那种,你这个可以使用么?

  • popoim 2025-07-08

    可以的,这个聊天源码无外部第三方接口依赖,可以内网部署使用

JasonXYL

我们公司服务器上部署这个聊天系统后浏览器一直刷这个错误,请问怎么解决

subscriber.js?v=3.6.1:185 WebSocket connection to 'wss://xxx.com/ws' failed: subscriber.js?v=3.6.1:185 WebSocket connection to 'wss://xxx.com/ws' failed: subscriber.js?v=3.6.1:185 WebSocket connection to 'wss://xxx.com/ws' failed: 
  • JasonXYL 2025-07-07

    hello,有人么?技术支持周末没在线,只能求助社区了

  • popoim 2025-07-07

    看看是不是websocket服务没启动

  • JasonXYL 2025-07-07

    我启动过了

  • popoim 2025-07-07

    执行 ps auxf 看下进程在不在

  • JasonXYL 2025-07-07

    确实不在了,我 php start.php start 运行过了

  • popoim 2025-07-07

    php start.php start -d 启动,不然终端关闭了,服务就停了,文档有说明

  • JasonXYL 2025-07-07

    好的,了解了,👍

fanbing101

支持官方

  • 暂无评论
ygpti32337

你好,只有移动端么?支持PC端用么?

  • popoim 2025-07-22

    支持PC浏览器、PC端软件、H5移动端、苹果APP、安卓APP、微信小程序

请问

正需要,赞

  • 暂无评论
zhang21

gateway-worker写的么?支持分部署部署吧?

  • popoim 2025-09-04

    对,gateway-worker写的,支持分部署部署

WKLMX01

会丢消息不?稳定的话整一套

  • popoim 2025-09-07

    不丢消息,稳定性没有任何问题

  • WKLMX01 2025-09-07

    行,我和老板说下,也就这两天

popoim

140
积分
0
获赞数
0
粉丝数
2025-06-06 加入
🔝