All Projects → codingheping → Hyperf Chat

codingheping / Hyperf Chat

Licence: mit
Hyperf Chat

Projects that are alternatives of or similar to Hyperf Chat

Inchat
一个轻量级、高效率的支持多端(应用与硬件Iot)的可分布式、异步网络应用通讯框架
Stars: ✭ 654 (+370.5%)
Mutual labels:  chat, im
Netty Websocket Spring Boot Starter
🚀 lightweight high-performance WebSocket framework ( 轻量级、高性能的WebSocket框架)
Stars: ✭ 885 (+536.69%)
Mutual labels:  chat, im
Ghchat
📱A chat application for GitHub. React + PWA + Node(koa2) + Typescripts + Mysql + Socket.io
Stars: ✭ 791 (+469.06%)
Mutual labels:  chat, im
React Native Chat Demo
网易云信IM示例
Stars: ✭ 325 (+133.81%)
Mutual labels:  chat, im
Uni Huanxin Im
💬 uniapp集成环信小程序sdk,实现多端实时通讯
Stars: ✭ 84 (-39.57%)
Mutual labels:  chat, im
Chatengine
Open source mtproto server written in golang with compatible telegram client
Stars: ✭ 544 (+291.37%)
Mutual labels:  chat, im
Angular Chat
(IM App)Chat App built using Angular and Socket.io
Stars: ✭ 12 (-91.37%)
Mutual labels:  chat, im
React Native Netease Im
网易云信React Native组件
Stars: ✭ 204 (+46.76%)
Mutual labels:  chat, im
Gochat
goim server write by golang !🚀
Stars: ✭ 1,144 (+723.02%)
Mutual labels:  chat, im
Easychatandroidclient
EasyChat是一个开源的社交类的App。主要包含消息、好友、群组等相关的IM核心功能。部分界面参照了QQ、微信等相关社交APP。EasyChat APP整体采用MVVM模式,基于JetPack(Lifecycle,LiveData,ViewModel,Room)构建
Stars: ✭ 64 (-53.96%)
Mutual labels:  chat, im
Oim Fx
OIM是采用 Java平台开发的一套即时通讯聊天系统,献给对即时通讯有兴趣的朋友。服务端实现了TCP Socket和WebSocket。方便接入网页版、安卓、IOS、PC桌面版客户端。OIM已经实现桌面版客户端,可以跨平台Windows、mac、Linux使用,用于公司内网、外网通讯、客服系统等,聊天系统。OIM项目可用于任何商业、个人作品中并且希望能够保留作者信息。如果OIM能够帮助到您,请点赞好评,加个星
Stars: ✭ 324 (+133.09%)
Mutual labels:  chat, im
Android yichat lite
android client
Stars: ✭ 118 (-15.11%)
Mutual labels:  chat, im
Hrlchatui
android自定义聊天界面 支持语音 图片 视频 文件布局的显示
Stars: ✭ 273 (+96.4%)
Mutual labels:  chat, im
Xz wechat
微信聊天框架搭建,高仿微信聊天框架,一步步学习聊天框架的搭建
Stars: ✭ 634 (+356.12%)
Mutual labels:  chat, im
Exchat
(Not maintaining) A Slack-like app by Elixir, Phoenix & React(redux)
Stars: ✭ 252 (+81.29%)
Mutual labels:  chat, im
Ios Chat
开源的即时通讯(野火IM)系统
Stars: ✭ 867 (+523.74%)
Mutual labels:  chat, im
Android Chat
开源即时通讯(野火IM)系统Android端
Stars: ✭ 2,107 (+1415.83%)
Mutual labels:  chat, im
Srain
Modern IRC client written in GTK
Stars: ✭ 197 (+41.73%)
Mutual labels:  chat, im
Qtalk
Startalk is a high-performace IM software for business. It has been stably used in Qunar for more than 4 years, providing services as well as consultation after and before sales to business. Startalk is applicable to multiple scenarios, such as office automation, business services, and first-party SDKs for IM scenes
Stars: ✭ 980 (+605.04%)
Mutual labels:  chat, im
Matrix Commander
simple but convenient CLI-based Matrix client app for sending and receiving
Stars: ✭ 90 (-35.25%)
Mutual labels:  chat, im

感谢sl-im作者提供的demo,自己就是想写一套im,用hyperf重写.

sl-im

hyperf-im

Php Version Swoole Version sl-im License

简介

hyperf-im 是基于 Hyperf 微服务协程框架和 Layim 网页聊天系统 所开发出来的聊天室。

体验地址

hyperf-im https://im.jayjay.cn

功能

1.0

  • 登录注册(Http)
  • 单点登录(Websocket)
  • 私聊(Websocket)
  • 群聊(Websocket)
  • 在线人数(Websocket)
  • 获取未读消息(Websocket)
  • 好友在线状态(Websocket)
  • 好友 查找 添加 同意 拒绝(Http+Websocket)
  • 群 创建 查找 添加 同意 拒绝(Http+Websocket)
  • 聊天记录存储
  • 心跳检测
  • 消息重发
  • 断线重连
  • 发送图片及文件

1.1

  • webrtc(视频聊天)

Requirement

部署方式

Composer

composer update

env配置

vim .env

WS_URL=wss://im.jayjay.cn/im
STORAGE_IMG_URL=$host/storage/upload/
STORAGE_FILE_URL=$host/file/upload/
APP_URL=https://im.jayjay.cn
WEB_RTC_URL=wss://im.jayjay.cn/video

nginx配置

server{
    listen 80;
    server_name im.jayjay.cn;
    return 301 https://$server_name$request_uri;
}

server{
    listen 443 ssl;
    root /data/wwwroot/;
    add_header Strict-Transport-Security "max-age=31536000";
    server_name im.jayjay.cn;
    access_log /data/wwwlog/im.jayjay.cn.access.log;
    error_log /data/wwwlog/im.jayjay.cn.error.log;
    client_max_body_size 100m;
    ssl_certificate /etc/nginx/ssl/full_chain.pem;
    ssl_certificate_key /etc/nginx/ssl/private.key;
    ssl_session_timeout 5m;
    ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
    ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;
    location / {
        proxy_pass http://127.0.0.1:9501;
        proxy_set_header Host $host:$server_port;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Real-PORT $remote_port;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
   
    location /im {
        proxy_pass http://127.0.0.1:9502;
        proxy_http_version 1.1;
        proxy_read_timeout   3600s;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
     
     location /video {
             proxy_pass http://127.0.0.1:9502;
             proxy_http_version 1.1;
             proxy_read_timeout   3600s;
             proxy_set_header Upgrade $http_upgrade;
             proxy_set_header Connection "upgrade";
     }

   
    location ~ .*\.(js|ico|css|ttf|woff|woff2|png|jpg|jpeg|svg|gif|htm)$ {
        root /data/wwwroot/IM/public;
    }
}

Start

  • 挂起
php bin/hyperf.php start

打赏(你的支持是我最大的动力,下个版本重大升级中)

联系方式

  • WeChat:naicha_1994
  • QQ:847050412
  • QQ群:658446650

hyperf-chat升级版欢迎star

hyperf-chat升级版

License

LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].