mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-15 11:47:54 +00:00
258 lines
9.8 KiB
Markdown
258 lines
9.8 KiB
Markdown
<!--
|
||
* @Author: jackning 270580156@qq.com
|
||
* @Date: 2024-06-05 09:43:27
|
||
* @LastEditors: jackning 270580156@qq.com
|
||
* @LastEditTime: 2025-05-24 09:46:34
|
||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||
* Business Source License 1.1: https://github.com/Bytedesk/bytedesk/blob/main/LICENSE
|
||
* contact: 270580156@qq.com
|
||
* 联系:270580156@qq.com
|
||
* Copyright (c) 2024 by bytedesk.com, All Rights Reserved.
|
||
-->
|
||
# Bytedesk - Chat as a Service
|
||
|
||
AI powered Omnichannel customer service With Team Cooperation
|
||
|
||
## Language
|
||
|
||
- [English](./README.md)
|
||
- [中文](./README.zh.md)
|
||
|
||

|
||

|
||
|
||
## Introduction
|
||
|
||
### [TeamIM](./modules/team/readme.md)
|
||
|
||
- Multi-level organizational structure
|
||
- Role management
|
||
- Permission management
|
||
- ...
|
||
|
||
### [Customer Service](./modules/service/readme.md)
|
||
|
||
- Support multiple channels
|
||
- multiple routing strategies, and detailed assessment indicators
|
||
- Seating workbench
|
||
- ...
|
||
|
||
### [Knowledge Base](./modules/kbase/readme.md)
|
||
|
||
- Internal Docs
|
||
- HelpCenter
|
||
- FAQ
|
||
|
||
### [Ticket](./modules/ticket/readme.md)
|
||
|
||
- Ticket management
|
||
- Ticket SLA management
|
||
- Ticket statistics and reports
|
||
- ...
|
||
|
||
### [AI Agent](./modules/ai/readme.md)
|
||
|
||
- Chat with Ollama/DeepSeek/ZhipuAI/...
|
||
- Chat with Knowledge base(RAG)
|
||
- Function calling
|
||
- Mcp
|
||
|
||
### workflow
|
||
|
||
- form
|
||
- process
|
||
- ticket process
|
||
- ...
|
||
|
||
### [Voice Of Customer](./modules/voc/readme.md)
|
||
|
||
- feedback
|
||
- survey
|
||
- ...
|
||
|
||
### [Call Center](./plugins/freeswitch/readme.zh.md)
|
||
|
||
- Professional call platform based on FreeSwitch
|
||
- Supports incoming call pop-up screens, automatic allocation, and call recording
|
||
- Data statistics, seamless integration of voice and text services
|
||
|
||
### [Video Customer Service](./plugins/webrtc/readme.zh.md)
|
||
|
||
- High-definition video calls based on WebRTC technology
|
||
- Supports one-click video conversations and screen sharing
|
||
- Suitable for service scenarios requiring intuitive demonstrations
|
||
|
||
### [Video Conference](./plugins/jitsi/readme.zh.md)
|
||
|
||
- Professional meeting platform integrated with Jitsi
|
||
- Supports multi-person online meetings and screen sharing
|
||
- Meeting recording and other features to meet remote collaboration needs
|
||
|
||
### [project kanban](./plugins/kanban/readme.md)
|
||
|
||
- todo list
|
||
- daily/weekly report
|
||
- statistics
|
||
- ...
|
||
|
||
### [Social Group](./modules/social/readme.md)
|
||
|
||
- like Discord
|
||
- ...
|
||
|
||
### Multi-tenant
|
||
|
||
- Multi-tenant management
|
||
- Tenant isolation
|
||
- Tenant statistics
|
||
- ...
|
||
|
||
## Docker Quick Start
|
||
|
||
### method 1: clone project and start docker compose container,need ollama
|
||
|
||
```bash
|
||
git clone https://github.com/Bytedesk/bytedesk.git && cd bytedesk/deploy/docker && docker compose -p bytedesk -f docker-compose.yaml up -d
|
||
```
|
||
|
||
#### ollama pull model
|
||
|
||
```bash
|
||
# chat model
|
||
ollama pull qwen3:0.6b
|
||
# embedding model
|
||
ollama pull bge-m3:latest
|
||
# rerank model
|
||
ollama pull linux6200/bge-reranker-v2-m3:latest
|
||
# or download model from huggingface
|
||
# ollama pull hf.co/<username>/<model-repository>
|
||
```
|
||
|
||
### method 2: run docker compose with ollama
|
||
|
||
```bash
|
||
git clone https://github.com/Bytedesk/bytedesk.git && cd bytedesk/deploy/docker && docker compose -p bytedesk -f docker-compose-ollama.yaml up -d
|
||
```
|
||
|
||
#### docker ollama pull model
|
||
|
||
```bash
|
||
# chat model
|
||
docker exec ollama-bytedesk ollama pull qwen3:0.6b
|
||
# embedding model
|
||
docker exec ollama-bytedesk ollama pull bge-m3:latest
|
||
# rerank model
|
||
docker exec ollama-bytedesk ollama pull linux6200/bge-reranker-v2-m3:latest
|
||
# or download model from huggingface
|
||
# docker exec ollama-bytedesk ollama pull hf.co/<username>/<model-repository>
|
||
```
|
||
|
||
<!-- #### if don't need ollama, you can change `docker-compose.yaml` or `docker-compose-ollama.yaml`
|
||
|
||
```bash
|
||
# disable Ollama chat
|
||
SPRING_AI_OLLAMA_CHAT_ENABLED: false
|
||
# disable Ollama embedding
|
||
SPRING_AI_OLLAMA_EMBEDDING_ENABLED: false
|
||
``` -->
|
||
|
||
#### stop container
|
||
|
||
```bash
|
||
docker compose -p bytedesk -f docker-compose.yaml stop
|
||
```
|
||
|
||
#### change config, otherwise upload image, file and knowledge base cannot be displayed normally
|
||
|
||
- change `docker-compose.yaml` file or `docker-compose-ollama.yaml`
|
||
|
||
```bash
|
||
# please replace 127.0.0.1 with your server ip
|
||
BYTEDESK_UPLOAD_URL: http://127.0.0.1:9003
|
||
BYTEDESK_KBASE_API_URL: http://127.0.0.1:9003
|
||
```
|
||
|
||
### method 3: run from source code
|
||
|
||
```bash
|
||
git clone https://github.com/Bytedesk/bytedesk.git && cd bytedesk && ./mvnw install -Dmaven.test.skip=true && cd starter && ./mvnw spring-boot:run
|
||
```
|
||
|
||
## Preview
|
||
|
||
local preview
|
||
|
||
```bash
|
||
# please replace 127.0.0.1 with your server ip
|
||
http://127.0.0.1:9003/
|
||
# open port: 9003, 9885
|
||
demo username: admin@email.com
|
||
demo password: admin
|
||
```
|
||
|
||
```bash
|
||
# Community
|
||
bytedesk.appkey=ZjoyMDI1LTA2LTIxOkNPTU1VTklUWTo6
|
||
BYTEDESK_APPKEY: ZjoyMDI1LTA2LTIxOkNPTU1VTklUWTo6
|
||
# Enterprise Trial
|
||
Until: 2025-06-21
|
||
bytedesk.appkey=ZjoyMDI1LTA2LTIxOkVOVEVSUFJJU0U6Og==
|
||
BYTEDESK_APPKEY: ZjoyMDI1LTA2LTIxOkVOVEVSUFJJU0U6Og==
|
||
# Platform Trial
|
||
Until: 2025-06-21
|
||
bytedesk.appkey=ZjoyMDI1LTA2LTIxOlBMQVRGT1JNOjo=
|
||
BYTEDESK_APPKEY: ZjoyMDI1LTA2LTIxOlBMQVRGT1JNOjo=
|
||
```
|
||
|
||
## architecture
|
||
|
||
- [architecture](https://www.weiyuai.cn/architecture.html)
|
||
|
||
## Open Source Client
|
||
|
||
- [desktop](https://github.com/Bytedesk/bytedesk-desktop)
|
||
- [mobile](https://github.com/Bytedesk/bytedesk-mobile)
|
||
|
||
## Open Source Demo + SDK
|
||
|
||
| Project | Description | Forks | Stars |
|
||
|-------------|-----------------------|----------------|-------------------|
|
||
| [iOS](https://github.com/bytedesk/bytedesk-swift) | iOS |  |  |
|
||
| [Android](https://github.com/bytedesk/bytedesk-android) | Android |  |  |
|
||
| [Flutter](https://github.com/bytedesk/bytedesk-flutter) | Flutter | |  |
|
||
| [UniApp](https://github.com/bytedesk/bytedesk-uniapp) | Uniapp |  |  |
|
||
| [Web](https://github.com/bytedesk/bytedesk-web) | Vue/React/Angular/Next.js/JQuery/... |  |  |
|
||
| [Wordpress](https://github.com/bytedesk/bytedesk-wordpress) | Wordpress |  |  |
|
||
| [Woocommerce](https://github.com/bytedesk/bytedesk-woocommerce) | woocommerce |  |  |
|
||
| [Magento](https://github.com/bytedesk/bytedesk-magento) | Magento |  |  |
|
||
| [Prestashop](https://github.com/bytedesk/bytedesk-prestashop) | Prestashop |  |  |
|
||
| [Shopify](https://github.com/bytedesk/bytedesk-shopify) | Shopify |  |  |
|
||
| [Opencart](https://github.com/bytedesk/bytedesk-opencart) | Opencart |  |  |
|
||
| [Laravel](https://github.com/bytedesk/bytedesk-laravel) | Laravel |  |  |
|
||
| [Django](https://github.com/bytedesk/bytedesk-django) | Django |  |  |
|
||
|
||
## Links
|
||
|
||
- [Download](https://www.weiyuai.cn/download.html)
|
||
- [Docs](https://www.weiyuai.cn/docs/)
|
||
|
||
<!-- ## Dev Stack -->
|
||
<!-- - [sofaboot](https://github.com/sofastack/sofa-boot/blob/master/README_ZH.md) for im server -->
|
||
<!-- - [springboot-3.x for im server](https://github.com/Bytedesk/bytedesk) -->
|
||
<!-- - [python for ai](https://github.com/Bytedesk/bytedesk-ai) -->
|
||
<!-- - [react for web](https://github.com/Bytedesk/bytedesk-react) -->
|
||
<!-- - [flutter for ios&android](https://github.com/Bytedesk/bytedesk-mobile) -->
|
||
<!-- - [electron for windows&mac&linux](https://github.com/Bytedesk/bytedesk-desktop) -->
|
||
|
||
## License
|
||
|
||
Copyright (c) 2013-2025 微语 Bytedesk.com, All rights reserved.
|
||
|
||
Licensed under GNU AFFERO GENERAL PUBLIC LICENSE(AGPL v3) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
|
||
|
||
<https://www.gnu.org/licenses/agpl-3.0.html>
|
||
|
||
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|