# Documenso — Open Source Document Signing Platform > Documenso is an open-source DocuSign alternative for self-hosted document signing with PDF e-signatures, audit trails, and Next.js stack. ## Install Save in your project root: ## Quick Use ```bash git clone https://github.com/documenso/documenso.git cd documenso cp .env.example .env npm ci npm run dx ``` Open `http://localhost:3000` — sign up and start sending documents for signature. ## Intro **Documenso** is an open-source alternative to DocuSign, built with Next.js, Prisma, and PostgreSQL. It provides legally-binding digital document signing with PAdES-standard compliance, making it suitable for businesses that need full control over their signing infrastructure. With 12.6K+ GitHub stars and AGPL-3.0 license, Documenso offers self-hosted deployment, custom branding, API access, and complete audit trails — all without per-signature fees. ## What Documenso Does Documenso handles the entire document signing workflow: - **PDF Upload & Signing Fields**: Upload any PDF, place signature fields, text fields, date fields, and checkboxes - **Email Invitations**: Send signing requests via email with automatic reminders - **Digital Signatures**: PAdES-standard compliant signatures with certificate embedding - **Audit Trail**: Complete signing history with timestamps, IP addresses, and verification - **Templates**: Create reusable document templates for recurring workflows - **API Access**: REST API for programmatic document creation and signing - **Self-Hosted**: Full control over data with Docker or manual deployment - **Custom Branding**: White-label the signing experience with your own domain and logo ### Tech Stack | Component | Technology | |-----------|-----------| | Frontend | Next.js 14, React, TypeScript | | Database | PostgreSQL + Prisma ORM | | Auth | NextAuth.js | | Storage | S3-compatible (AWS, MinIO) | | Signing | PAdES standard, PDF-lib | | Deploy | Docker, Vercel, Railway | ### Self-Hosting with Docker ```bash # Clone and configure git clone https://github.com/documenso/documenso.git cd documenso # Set environment variables cp .env.example .env # Edit .env with your database URL, SMTP settings, and S3 config # Run with Docker docker compose up -d ``` ### API Integration ```typescript import { DocumentApi } from "@documenso/sdk"; const api = new DocumentApi({ apiKey: "your-api-key" }); // Create and send a document const doc = await api.createDocument({ title: "Service Agreement", recipients: [ { email: "client@example.com", name: "Client" } ] }); // Upload PDF await api.uploadDocument(doc.id, pdfBuffer); // Add signing fields and send await api.sendDocument(doc.id); ``` ## FAQ **Q: Is Documenso legally binding?** A: Yes. Documenso uses PAdES-standard digital signatures with embedded certificates, which are legally recognized in most jurisdictions under eIDAS (EU) and ESIGN Act (US). **Q: How does it compare to DocuSign?** A: Documenso provides core signing features (PDF signing, templates, API) without per-signature pricing. You self-host for full data control. DocuSign has more enterprise features like bulk send and advanced workflows. **Q: Can I use my own SMTP server?** A: Yes. Configure SMTP in `.env` to send signing invitations from your own email domain. **Q: What storage backends are supported?** A: Any S3-compatible storage — AWS S3, MinIO, Cloudflare R2, DigitalOcean Spaces. ## Source & Thanks - GitHub: [documenso/documenso](https://github.com/documenso/documenso) — 12.6K+ ⭐ | AGPL-3.0 - Website: [documenso.com](https://documenso.com) - Docs: [documenso.com/docs](https://documenso.com/docs) ## 快速使用 ```bash git clone https://github.com/documenso/documenso.git cd documenso cp .env.example .env npm ci npm run dx ``` 打开 `http://localhost:3000`,注册账号即可开始发送文档签署请求。 ## 简介 **Documenso** 是一个开源的 DocuSign 替代方案,基于 Next.js、Prisma 和 PostgreSQL 构建。提供符合 PAdES 标准的合法数字签名,适合需要完全掌控签署基础设施的企业。 拥有 12.6K+ GitHub 星标和 AGPL-3.0 许可证,Documenso 支持自托管部署、自定义品牌、API 访问和完整的审计追踪,且无按次签署的费用。 ## 核心功能 - **PDF 上传与签署字段**:上传 PDF,放置签名、文本、日期和复选框字段 - **邮件邀请**:通过邮件发送签署请求,支持自动提醒 - **数字签名**:符合 PAdES 标准,嵌入证书 - **审计追踪**:完整的签署历史,包含时间戳、IP 地址和验证信息 - **模板**:为重复使用的工作流创建可复用的文档模板 - **API 访问**:REST API 支持程序化创建和签署文档 - **自托管**:通过 Docker 或手动部署完全掌控数据 ## 常见问题 **Q: Documenso 的签名具有法律效力吗?** A: 是的。Documenso 使用符合 PAdES 标准的数字签名,在大多数司法管辖区(包括欧盟 eIDAS 和美国 ESIGN 法案)具有法律效力。 **Q: 与 DocuSign 相比如何?** A: Documenso 提供核心签署功能(PDF 签署、模板、API),没有按次签署的定价。你可以自托管以完全控制数据。 ## 来源与致谢 - GitHub: [documenso/documenso](https://github.com/documenso/documenso) — 12.6K+ ⭐ | AGPL-3.0 - 官网: [documenso.com](https://documenso.com) --- Source: https://tokrepo.com/en/workflows/f8e25455-3474-11f1-9bc6-00163e2b0d79 Author: AI Open Source