GithubHelp home page GithubHelp logo

xyzonecodes / kefu.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xnx3/kefu.js

0.0 0.0 0.0 7.34 MB

H5在线客服,拿来即用,支持手机、电脑、APP、小程序。

Home Page: http://www.kefu.zvo.cn

License: Apache License 2.0

JavaScript 90.13% CSS 9.87%

kefu.js's Introduction

输入图片说明 输入图片说明 输入图片说明

简介

H5做的在线客服对话窗口,类似百度商桥。结合后端功能有:

  1. 支持手机端、电脑端。
  2. 聊天记录使用ELK持久化保存。支撑巨量聊天记录无延迟
  3. 支持离线消息。上线后自动接收离线消息
  4. 聊天中,上滑可无感加载历史聊天记录
  5. 用户打开聊天窗口时自动给用户发送欢迎语、常见问题
  6. 当用户发送消息,但客服不在线时,会自动发送设置好的一段文字给用户
  7. 对已录入的常见问题进行自动匹配、自动回复。
  8. 本地消息存储,最新消息的本地缓存,极致流畅度
  9. 支持图片上传、发送图片、图片放大。
  10. 支持表情
  11. 新消息提醒。当我跟A用户正在聊天,B用户给我发来消息,顶部实时显示别的用户发来的新消息提醒
  12. 支持自定义插件,如发送订单、更多自定义表情、发送商品、发送位置、文件、名片、礼物……都可以用插件方式扩展。
  13. 支持自定义心跳及心跳包扩展
  14. 支持断线自动重连

快速体验

可以进入我们这个客服项目的网站,快速测试体验:
www.kefu.zvo.cn

使用及开发

懒人极速体验代码

新建一个HTML文件,其内容如下,直接用浏览器打开即可看到效果。适用于懒人。

<!DOCTYPE html>
<html lang="zh-cn"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DEMO</title>
</head>
<body>
<script src="https://res.weiunity.com/wm/wm.js"></script>
<script src="https://res.weiunity.com/kefu/dev/h5Pc/h5Pc.js"></script>
<button onclick="kefu.ui.chat.entry('365fef747a9e493fb631b621ee36eed1');">打开PC端客服聊天窗口</button>
</body>
</html>

更多更详细的文档,已托管在码云文档,请看下面

码云托管的前端扩展及开发的详细文档

输入图片说明 文档地址:
https://gitee.com/leimingyun/dashboard/wikis/leimingyun/kefujs-api-interface-of/preview?sort_id=3663196&doc_id=1274007

与第三方系统对接,API接口文档

如果您已经有现有的系统,想给自己的系统增加一个在线客服功能模块,你可以快速利用本客服系统提供的API接口,快速将云客服嵌入到您自己的系统中去。API文档可参考:
https://gitee.com/leimingyun/dashboard/wikis/leimingyun/third-party-system/preview?doc_id=1357285&sort_id=3897564

系统安装到自己服务器,安装文档

https://gitee.com/leimingyun/dashboard/wikis/leimingyun/install/preview?doc_id=1381432&sort_id=3940906
目前后端不断更改中,而且变动的地方也比较大,可以先自行安装,建议配置云存储,以便后面进行升级

其他

当前项目只是开源的前端代码,后端代码尚未开源,还在不断完善,预计后端代码可能会于2021.6月份左右开源,目前已开放帮安装,可以将后端安装到您自己的服务器!

版权

已有知识产权保护,如果用于商业用途,没事,随便用吧!!

kefu.js's People

Contributors

xnx3 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.