1 Star 0 Fork 12

ruiwentong / web-chat

forked from 野火IM / web-chat 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

野火IM解决方案

野火IM是一套跨平台开源的即时通讯解决方案,主要包含以下内容。

仓库 说明 备注
android-chat 野火IM Android SDK源码和App源码 可以很方便地进行二次开发,或集成到现有应用当中
ios-chat 野火IM iOS SDK源码和App源码 可以很方便地进行二次开发,或集成到现有应用当中
pc-chat 基于Electron开发的PC平台应用
web-chat Web平台的Demo, 体验地址
wx-chat 微信小程序平台的Demo
server IM server
app server 应用服务端
robot_server 机器人服务端
push_server 推送服务器
docs 野火IM相关文档,包含设计、概念、开发、使用说明

web-chat说明

本工程是野火IM Web平台Demo,详情可以阅读docs.

开发一套IM系统真的很艰辛,请路过的朋友们给点个star,支持我们坚持下去🙏🙏🙏🙏🙏

联系我们

商务合作请优先采用邮箱和我们联系。技术问题请到野火IM论坛发帖交流。

  1. heavyrain.lee 邮箱: heavyrain.lee@wildfirechat.cn 微信:wildfirechat
  2. imndx 邮箱: imndx@wildfirechat.cn 微信:wfchat

问题交流

  1. 如果大家发现bug,请在GitHub提issue
  2. 其他问题,请到野火IM论坛进行交流学习
  3. 微信公众号

体验

在线体验野火IM Web版,请使用野火IM Andorid或iOS Demo扫码登录

截图

home

chat

create_conversation

更多截图,请查看wewechat readme

开发

$ npm install
$ npm run dev
浏览器访问: http://localhost:3000

目前有问题,前端跨域,欢迎提交PR,谢谢。请打包部署测试。

打包

$ npm install
$ npm run build

本地部署测试

  1. 修改config.js#APP_SERVER为http://localhost:8888
  2. 打包
  3. 本地测试,需要配置nginx,参考配置如下:
    server {
        listen       8888 default_server;
        listen [::]:8888 default_server;

        #server_name  localhost;
        root  /<your-path-to-web-chat>/dist/src;

        location /pc_session{
          proxy_pass   http://pc.wildfirechat.cn:8888;
        }
        location /session{
          proxy_pass   http://pc.wildfirechat.cn:8888;
        }
        location /session_login{
          proxy_pass   http://pc.wildfirechat.cn:8888;
        }
        location / {
          index  index.html;
        }
    }
  1. 浏览器访问http://localhost:8888

更多信息,请查看wewechat readme

License

  1. Under the MIT license. See the LICENSE file for details.

  2. Under the 996ICU License. See the LICENSE file for details.

鸣谢

本项目基于wewechat开发,原项目的READ见wewechat readme

The MIT License (MIT) Copyright (c) 2017 var.darling@gmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

野火IM Web平台Demo 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/ruiwentong/web-chat.git
git@gitee.com:ruiwentong/web-chat.git
ruiwentong
web-chat
web-chat
master

搜索帮助