泡泡IM是一套完整的仿微信聊天源碼 ,源碼開(kāi)源未加密,包含完整的前端、后端、數(shù)據(jù)庫(kù)、文檔。此仿微信源碼項(xiàng)目完全獨(dú)立,不依賴(lài)第三方即時(shí)通訊服務(wù),可直私有化部署聊天系統(tǒng)??捎胔uilder等軟件打包成微信小程序,app。
文檔全面,代碼精簡(jiǎn)規(guī)范、低耦合、注釋全面、接口清晰,非常有利于二次開(kāi)發(fā)。
此聊天源碼對(duì)外銷(xiāo)售,購(gòu)買(mǎi)請(qǐng)進(jìn)入 聊天系統(tǒng)源碼
基于仿微信聊天源碼的界面設(shè)計(jì)。后端基于websocket高性能即時(shí)通訊解決方案workerman開(kāi)發(fā),api接口則基于tp5開(kāi)發(fā)。
前端基于vue開(kāi)發(fā),前后端分離,模塊化開(kāi)發(fā)。以websocket協(xié)議完成即時(shí)通訊,保證消息數(shù)據(jù)即時(shí)傳輸。自帶網(wǎng)絡(luò)檢測(cè),斷網(wǎng)自動(dòng)重連,保證消息可靠送達(dá)。支持SSL/TLS通信隧道加密。即時(shí)通訊部分與業(yè)務(wù)邏輯高度解偶。
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、支持發(fā)語(yǔ)音、文字、圖片、表情、文件
2、支持一對(duì)一私聊和多對(duì)多群聊,一對(duì)一視頻聊天
3、群聊支持建群、退群、解散群組、禁言、踢人、拉人進(jìn)群、群備注等功能
4、個(gè)人信息支持更改昵稱(chēng)、頭像、個(gè)性簽名等
5、支持查看歷史消息、離線消息
6、支持好友查找、好友申請(qǐng)、同意好友申請(qǐng)、拒絕申請(qǐng)、刪除好友,好友備注
7、支持消息撤回,臟字過(guò)濾
8、支持通訊錄,按字母順序排列
9、管理后臺(tái)功能
?
如果你想了解更多請(qǐng)參考PHP聊天系統(tǒng)源碼-即時(shí)通訊聊天解決方案
?
原文連接:泡泡IM
哪里下載呢