百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
compdf-self-hosted

compdf-self-hosted

> 数据库
免费

在 PDF、Office 格式、HTML、TXT、CSV、RTF、JSON 和 iWork 文档中编辑、转换和转换文档

142 stars0 点赞4 次浏览
访问官网GitHub

工具介绍

在 PDF、Office 格式、HTML、TXT、CSV、RTF、JSON 和 iWork 文档中编辑、转换和转换文档

English | 繁體中文 | 简体中文

ComPDF Self-Hosted — Open Source PDF Editor & PDF Converter

Part of the KDAN ecosystem, ComPDF Self-Hosted offers PDF editing and document conversion, helping teams process PDFs, Office files, and images securely in private Docker deployments.

  • If you find ComPDF Self-Hosted useful, please consider giving us a ⭐ Star on GitHub. It helps us grow and improve.
  • Got questions or ideas? Join the conversation in our Discussions.
Features •

Quick Start • Architecture • Upgrade to Enterprise • support • License • Enterprise →

Why ComPDF Self-Hosted?

Unlike traditional SDKs that require deep integration, ComPDF Self-Hosted is a ready-to-deploy open-source PDF processing platform. It combines PDF editing and conversion capabilities, while also supporting image format conversion—covering the full spectrum from documents to images. This enables enterprises to quickly establish a fully controllable, self-owned document center.

Key Advantages

  • Docker Compose deployment
  • Complete PDF tool center — edit, convert, merge, split
  • API key management and license management
  • Private deployment with enterprise-ready architecture
  • Commercial support and dedicated assistance available

Whether you're building an internal document platform, document automation workflow, or enterprise PDF service, ComPDF Self-Hosted helps you get started in minutes.

Features

1. PDF Tool Center

ComPDF Self-Hosted provides a ready-to-use open source PDF editor, open source PDF converter, and open source image converter center directly accessible through a browser.

Category Features
PDF Editing Merge PDF, Split PDF, Rotate PDF, Insert Pages, Delete Pages, Extract Pages, Add Watermark, Remove Watermark, Encrypt PDF, Decrypt PDF
PDF to Others PDF to Word, PDF to Excel, PDF to Slide, PDF to Image (PNG, JPG, JPEG, JPEG2000, BMP, TIFF, TGA, GIF, WEBP), PDF to HTML, PDF to TXT, PDF to CSV, PDF to RTF, PDF to JSON, PDF to SearchablePDF, PDF to OFD, PDF to Markdown, PDF To PDF/A
Others to PDF Word to PDF, Excel to PDF, Slide to PDF, HTML to PDF, TXT to PDF, CSV to PDF, RTF to PDF, PNG to PDF
Image to Others Image to Word, Image to Excel, Image to Slide, Image to HTML, Image to CSV, Image to TXT, Image to RTF, Images to JSON, Images to PDF

2. Dashboard Console

ComPDF Self-Hosted provides a unified management console for viewing API Key details, API usage, and License status, as well as supporting operation log auditing, account management, and core system configuration.

  • Overview Panel: Displays API Key details, API usage statistics, License scope, and usage status.

  • Operation Logs: Track, search, and export all the operation logs.

  • Account Management: Set the username and password.

  • System Settings: Set the name, logo, and theme color of the system.

Quick Start

1. Start with Docker Compose

  1. Clone the repository and enter the project directory:
bash
git clone https://github.com/ComPDF/compdf-self-hosted.git
cd compdf-self-hosted
  1. Prepare the environment file before starting services:
bash
cp .env.example .env

.env includes a free License by default for local development, feature evaluation, and API verification. Docker Compose automatically loads .env from the project directory.

  1. Start the full stack:
bash
docker compose up -d
  1. Open ComPDF Web and Dashboard:
ComPDF Web: http://localhost:8080/
Dashboard:  http://localhost:8080/admin

The dashboard ships with a default administrator account on first deployment: admin / admin.

To use an Enterprise license, replace COMPDF_LICENSE_KEY in .env with the issued License Key. Restart the services after updating the License Key.

Apply for the Enterprise version to obtain the following benefits:

  • Watermark-free document processing
  • No limit on the number of document pages processed
  • Batch document processing

2. Start the development environment

Development uses Docker for the infra and SDK services, while the server and Web UI can run locally for hot reload.

Start the development stack:

bash
docker compose -f docker-compose.dev.yml up -d --build compdf-infra compdf-app compdf-server

Open ComPDF Web and Dashboard:

bash
cd frontend/compdf-web
npm install
npm run dev

Development URLs:

ComPDF Web: http://localhost:5173/
Dashboard:  http://localhost:5173/admin
Server API: http://localhost:8080/api/v1/

You can also view the Documentation.

3. Check status and logs

bash
docker compose -f docker-compose.dev.yml ps
docker compose -f docker-compose.dev.yml logs -f compdf-infra compdf-app

The production deployment stores persistent data in Docker volumes and mounts ./configs into the server container.

4. Build the production image from source

Keep this path when you have changed the local source code and need to package a new production compdf-server image from the root Dockerfile. The Dockerfile builds ComPDF Web and Dashboard from frontend/compdf-web, copies the static assets into /app/public/compdf-web, builds the server, and serves pages and APIs together on port 8080.

bash
docker compose -f docker-compose.yml up -d --build compdf-infra compdf-app compdf-server

All features above come with ComPDF — check them out here.

Architecture

…

In local development, compdf-infra, compdf-app, and compdf-server all run through docker-compose.dev.yml so the service-to-service connections stay consistent with the deployment topology.

Upgrade to Enterprise

Contact sales to update to the Enterprise Edition.

Feature Free Edition Enterprise
PDF Editing ✅ ✅
PDF Conversion ✅ ✅
Web UI ✅ ✅
Dashboard ✅ ✅
Watermark-Free Output ❌ ✅
Unlimited Pages ❌ ✅
Custom Concurrency ❌ ✅
Commercial License ❌ ✅
Technical Support ❌ ✅

Documentation

  • SDK Documentation: https://www.compdf.com/guides/pdf-sdk/self-hosted-deployment/overview

  • API Reference: https://www.compdf.com/guides/pdf-sdk/self-hosted-deployment/api-reference-conversion

Support

Have suggestions? Start a discussion. If you find ComPDF Self-Hosted useful, please consider giving us a ⭐ Star on GitHub. It helps us grow and improve.

License

  • This project is licensed under the MIT License. See the LICENSE file for details.

  • Contact Sales for the Commercial / Enterprise licenses for ComPDF Self-Hosted.


Built by the ComPDF team.

Website · Docs · Enterprise Inquiries

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

dockerimage-converterocr

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年9月9日
最后更新2026年9月18日
分类数据库
定价免费

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库