# WCP智能知识管理系统
**Repository Path**: macplus/WCP
## Basic Information
- **Project Name**: WCP智能知识管理系统
- **Description**: WCP知识协作系统是一套BS架构的开源知识及档案管理系统、知识库系统。它能提供团队知识库档案库建设的一整套功能,从知识档案创建、知识档案更新、知识档案推送到知识评价、知识激励、知识统计以及基于以上功能权限控制等功能。最新版本支持RAG智能流程编排。
标签:私有知识库/知识管理系统/知识库系统/智能知识库/AI知识库/AI智能问答/AI知识管理系统/智能知识管理系统
- **Primary Language**: Java
- **License**: GPL-3.0
- **Default Branch**: master
- **Homepage**: http://www.wcpdoc.com
- **GVP Project**: No
## Statistics
- **Stars**: 2165
- **Forks**: 1007
- **Created**: 2014-12-12
- **Last Updated**: 2026-09-23
## Categories & Tags
**Categories**: doc-tools
**Tags**: 私有知识库, AI智能知识问答, AI, llm, 大模型
## README
🌿 WCP5 — Intelligent Knowledge Management System
An all-in-one enterprise knowledge management and intelligent collaboration platform built on Spring Boot + Vue3
---
## ✨ Features
WCP5 provides a complete enterprise-grade knowledge management solution, making team collaboration smarter and more efficient!
### Core Modules
| Module | Description |
|:---|:---|
| 📚 **Knowledge Management** | Multi-format knowledge base creation and maintenance (Rich Text, Markdown) |
| 🔍 **Intelligent Search** | Full-text search engine powered by Apache Lucene + IK Analyzer |
| 🤖 **AI Assistant** | LLM integration (DashScope / ChatGPT) with smart Q&A and embedding retrieval |
| 🔄 **Workflow Engine** | Visual AI workflow orchestration (Vue Flow) |
| 🏷️ **Category System** | Flexible multi-level knowledge categorization and tagging |
| 📁 **File Management** | Attachment upload, preview, transcoding, and storage management |
| 🔐 **User & Auth** | RBAC permission control based on JWT + Spring Security |
| 💬 **Social Interaction** | Comments, likes, favorites, and community features |
| 📊 **Reporting Center** | Data report export (Excel / Word / PDF) |
🖼️ System Dashboard / Home Page (Replace with actual screenshots in docs/images/)
---
## 🛠️ Tech Stack
### Backend
- ⚡ **Core Framework**: Spring Boot 3.4 + Java 17
- 💾 **Persistence**: MyBatis + MySQL 5.7
- 🔒 **Security**: Spring Security + JWT
- 🔎 **Full-Text Search**: Apache Lucene 9 + IKAnalyzer
- 🚀 **Cache**: Ehcache
- 🧠 **AI Integration**: Alibaba Cloud DashScope SDK, ChatGPT API
- 📄 **Document Processing**: Apache POI, PDFBox, EasyExcel, JODConverter
- 🎬 **Multimedia**: JAVE (video transcoding)
- 📦 **Build Tool**: Maven (multi-module)
### Frontend
- ⚡ **Core Framework**: Vue 3 + TypeScript + Vite 6
- 🎨 **UI Library**: Element Plus
- 🗂️ **State Management**: Pinia
- 🌐 **Routing**: Vue Router 4
- ✏️ **Rich Text Editor**: TipTap
- 📈 **Charts**: ECharts 6
- 🧮 **Math Rendering**: KaTeX
- 🔧 **Others**: Axios, Dayjs, Marked, html2canvas
---
## 📁 Project Structure
```
wcp5/
├── backend/ # Backend (Maven multi-module)
│ ├── farm2-main # Application entry
│ ├── farm2-base # Base common module
│ ├── farm2-auth # Authentication & Authorization
│ ├── farm2-local-user # User management
│ ├── farm2-skc-know # Knowledge management core
│ ├── farm2-llm # LLM integration
│ ├── farm2-ai-flow # AI workflow orchestration
│ ├── farm2-lucene # Full-text search engine
│ ├── farm2-files # File service
│ ├── farm2-report # Report export
│ ├── farm2-social # Social interaction
│ ├── farm2-wdap # WDAP module
│ ├── farm2-service # Business service layer
│ └── farm2-tools # Utilities
├── frontend/ # Frontend (Vue3 + Vite)
│ ├── src/
│ │ ├── views/ # Page views
│ │ │ ├── web_page/ # Public pages
│ │ │ └── frame/ # Admin dashboard frame
│ │ ├── components/ # Shared components
│ │ ├── router/ # Route configuration
│ │ ├── service/ # API request layer
│ │ └── store/ # Pinia state management
│ └── package.json
├── docs/ # Project documentation
└── scripts/ # Deployment / build scripts
```
---
## 🚀 Quick Start
### Prerequisites
| Dependency | Version | Notes |
|:---|:---|:---|
| ☕ JDK | 17+ | Java Runtime Environment |
| 🟢 Node.js | 18+ | Frontend build environment |
| 🐬 MySQL | 5.7+ | Relational database |
| 📦 Maven | 3.8+ | Java build tool |
| 📚 LibreOffice | Latest | Attachment online preview and conversion (recommended default installation directory) |
### 1️⃣ Run Backend
```bash
cd backend
mvn clean install
mvn spring-boot:run -pl farm2-main
```
The service runs at `http://localhost:8080/farm2/` by default.
### 2️⃣ Run Frontend
```bash
cd frontend
npm install
npm run dev
```
The frontend runs at `http://localhost:5173/` by default.
### 3️⃣ Database Initialization
Execute the SQL scripts under `docs/sql/`, then update the database connection in `backend/farm2-main/src/main/resources/jdbc.properties`.
> 💡 **Tip**: Make sure MySQL is running and the target database has been created!
---
## 📸 Screenshots
📚 Knowledge Base List Page
✏️ Knowledge Detail / Editor
🤖 AI Editor
🔀 Workflow Orchestration Interface
☕ Image Recognition
📚 Attachment PPT Online Preview
---
## 🤝 Contributing
We welcome every developer to participate and contribute!
1. 🍴 Fork this repository
2. 🌿 Create a `Feat_xxx` branch
3. 💾 Commit your changes
4. 📬 Create a Pull Request
---
## 📜 License
This project is released under the [GPL-3.0](LICENSE) open source license.
---
⭐ If this project helps you, don't forget to give it a Star!
Migrated from SKC to WCP5, continuously evolving.