ใช้ทำอะไรได้
ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ
- ต่อแบบ คลาวด์ (ต่อผ่านอินเทอร์เน็ต)
- บัญชีหรือคีย์ ล็อกอินกับบริการตอนต่อ (OAuth)
- หมวด เอกสาร ตาราง และงานออฟฟิศ
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Form builder for AI agents: build, publish and analyze forms, quizzes and lead qualifiers.ใช้คู่กับ
Skill ที่สอน AI ทำงานแบบนี้ ใช้ร่วมกับตัวนี้ได้
watermarks-remover
watermarks-remover เป็นแอปที่เน้นความเป็นส่วนตัว ใช้สำหรับลบลายน้ำ AI ออกจากเนื้อหาที่ผู้ใช้เป็นเจ้าของ
obsidian-skills
obsidian-skills คือชุดทักษะสำหรับ AI เพื่อให้ใช้งาน Obsidian CLI และรูปแบบไฟล์ของ Obsidian ได้ เช่น Markdown, Bases และ JSON Canvas
ทำไมอยู่อันดับนี้
ตัวนี้อยู่ในแท็บ "แอปที่ต่อกับ AI" ซึ่งเรียงโดยไม่ใช้ดาว ตามลำดับเหล่านี้
| 1. อยู่ในสมุด connector ของ Claude | ไม่ | |
|---|---|---|
| 2. ทีมลองใช้จริงแล้ว | ไม่ | |
| 3. ใช้กับงานคนไทย | ไม่ | |
| 4. การใช้งานไม่นับดาว | 20/100 | ความนิยม 0 · ความสด 12 · ระบบยังตอบ 8 · ถูกใจจากผู้ใช้ +0 |
| 5. ลงทะเบียนเมื่อ | 2026-11-13 |
ถูกใจจากผู้ใช้: 0 · บวกในลำดับได้สูงสุด 5 คะแนน (1 คะแนนต่อ 1 คน) ไม่มีใครจ่ายเงินเพื่อเพิ่มได้
คุณภาพ: ผลตรวจเบื้องต้นผ่าน 4/5 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง)
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ให้ AI ติดตั้งให้ด้วยประโยคเดียว
ติดตั้ง dForms ให้หน่อย ทำตาม https://mcp.popnx.com/i/dforms.md แสดงคำสั่งให้ฉันดูและรอฉันตกลงก่อนรันคัดลอกไปวางในแชตของ AI ที่ทำงานในเครื่องคุณได้ (เช่น Claude Code, Cursor) · AI จะอ่านขั้นตอนจากเรา แสดงคำสั่งให้ดู และรอคุณตกลงก่อน · ไม่ต้องใช้คีย์ ไม่ต้องสมัคร · ดูข้อความเต็มที่ AI จะอ่าน
ผลตรวจผ่าน 4/5 · สิ่งที่คุณถามผ่านเซิร์ฟเวอร์ของผู้ทำ (mcp.dforms.ai) · ✓ ตรวจคำสั่งแล้ว 14 พ.ย. 2569
ขั้นแรก: คุณใช้ AI ตัวไหน
เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง
ต่อกับ Claude ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ตั้งครั้งเดียวที่ claude.ai หรือแอปบนคอม แล้วใช้ในแชตได้ · บัญชีฟรีเพิ่มได้ 1 ตัว · แผน Team/Enterprise ให้เจ้าของ (Owner) เป็นคนเพิ่ม
เปิดหน้า Connectors ของ Claude
CustomizeConnectors
กด “Add” → “Custom” → “Web” แล้วกรอก 2 ช่องนี้
คัดลอกจากที่นี่ไปวางในช่องชื่อเดียวกันบนหน้าจอของ Claude แล้วกด Continue
Name · ชื่อdFormsRemote MCP server URL · ที่อยู่https://mcp.dforms.ai/mcpกด Continue ผ่านหน้าตรวจการล็อกอินที่ Claude ตรวจเจอ · หัวข้อ Authentication เลือกตามที่ผู้ทำบอก (Sign in now, Sign in when needed หรือ No sign in) แล้วกด Add
เปิดใช้ในแชต
+ConnectorsdForms
ลองเลย
ใช้ dForms บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude บอกว่ากำลังใช้ dForms หรือมีชื่อเครื่องมือของ dForms ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ ChatGPT ได้ ขึ้นกับแผน
MCP แบบเต็ม: ChatGPT Business, Enterprise หรือ Edu บนเว็บ · Pro: ต่อได้ด้วยสิทธิ์อ่านและดึงข้อมูล เครื่องมือที่แก้ข้อมูลอาจใช้ไม่ได้ · Plus: เอกสารยังไม่ยืนยัน ถ้าเห็นเมนูเพิ่ม MCP แบบกำหนดเองในหน้าปลั๊กอิน ลองตามขั้นตอนได้ · ใช้บนเว็บเท่านั้น
เปิดหน้าเพิ่ม MCP ของ ChatGPT บนเว็บ
Plugins+Add custom MCP server
กรอกชื่อและที่อยู่
ใส่ชื่อ แล้ววางที่อยู่ใต้ Connection ติ๊กยอมรับคำเตือน แล้วกด Create as a plugin
Name · ชื่อdFormsConnection · ที่อยู่https://mcp.dforms.ai/mcpเลือก dForms ในแชต
เปิดแชตใหม่แล้วเลือก dForms จากรายการปลั๊กอินก่อนพิมพ์
ลองเลย
ใช้ dForms บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า ChatGPT บอกว่ากำลังใช้ dForms หรือมีชื่อเครื่องมือของ dForms ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ OpenAI เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Claude Code ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
เปิด Terminal
Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell
วางคำสั่งนี้แล้วกด Enter
claude mcp add --transport http --scope user dforms https://mcp.dforms.ai/mcpพิมพ์ /mcp ใน Claude Code
ต้องเห็น dForms ในรายการและขึ้นว่าเชื่อมต่อแล้ว
ลองเลย
ใช้ dForms บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude Code บอกว่ากำลังใช้ dForms หรือมีชื่อเครื่องมือของ dForms ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Cursor ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
เปิดแชตของ AI ใน Cursor โหมด Agent
ลองเลย
ใช้ dForms บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Cursor บอกว่ากำลังใช้ dForms หรือมีชื่อเครื่องมือของ dForms ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ VS Code ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
เปิดแชตของ AI ใน VS Code โหมด Agent
ลองเลย
ใช้ dForms บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า VS Code บอกว่ากำลังใช้ dForms หรือมีชื่อเครื่องมือของ dForms ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม
ที่อยู่สำหรับโปรแกรมที่ต่อผ่านเว็บ
https://mcp.dforms.ai/mcpค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON
ต่อผ่านเว็บ
Claude Code
claude mcp add --transport http --scope user dforms https://mcp.dforms.ai/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"dforms": {
"url": "https://mcp.dforms.ai/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"dforms": {
"type": "http",
"url": "https://mcp.dforms.ai/mcp"
}
}
}ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
สรุป
- ดาว GitHubi
- 51 (ดาวเป็นของรีโปอื่น)
รายการนี้ชี้ไปที่รีโปของคนอื่น ดาวจึงไม่นับในอันดับ - ดาวน์โหลดต่อสัปดาห์i
- ไม่มียอดใน npm/PyPI
- โดเมนที่ยืนยัน
- ✓ dforms.ai
- การเชื่อมต่อ
- รันบนคลาวด์
- ช่องทาง (transport)
- streamable-http
- รุ่นล่าสุดi
- 1.0.0
- ส่งเข้า registryi
- 14 พ.ย. 2569
- แก้โค้ดล่าสุดi
- 18 พ.ย. 2569
- ตรวจล่าสุดเมื่อ
- 14 พ.ย. 2569
- ผู้ทำ
- Dapta-Tech
- เว็บผู้ทำ
- dforms.ai
- สถานะใน registry
- ใช้งานอยู่
ใช้กับโปรแกรมไหนได้
ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ต่อผ่านคลาวด์ได้ใน
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
คู่มือที่เกี่ยวข้อง
ทำอะไรได้บ้าง
server ให้ล็อกอินก่อนจึงจะแสดงรายการเครื่องมือ
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 19 พ.ย. 2569
- ! ควรระวัง
ตัวตนผู้ทำตรงกับ repo
ผู้ลงทะเบียน (dforms.ai) ไม่ใช่เจ้าของ repo (Dapta-Tech) อาจเป็นคนอื่นที่นำมาลงต่อ
- ✓ ผ่าน
ยังมีคนดูแล
มีการแก้โค้ดล่าสุด เมื่อวาน
- ✓ ผ่าน
มีสัญญาอนุญาต (license)
ใช้ MIT
- ✓ ผ่าน
endpoint ตอบ
ตอบกลับใน 256 ms (HTTP 401)
- ✓ ผ่าน
ล็อกอินแบบ OAuth
ประกาศวิธีล็อกอินแบบ OAuth ให้โปรแกรม AI พาไปล็อกอินเอง
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
ผู้ทำ: ขอให้ตรวจใหม่ หรือแจ้งข้อมูลผิด
สำหรับผู้ทำ: ติดป้ายใน README
ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้
[](https://mcp.popnx.com/th/servers/dforms)พูดคุย
ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์
ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย
ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx
รีวิวจากผู้ใช้
ยังไม่มีรีวิว
เทียบกับตัวอื่นในหมวด เอกสาร ตาราง และงานออฟฟิศi
- ดาวมากกว่า 0% ของอีก 4126 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 86% ของอีก 4126 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 53% ของอีก 4126 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
dForms ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 4 จาก 5 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวาน และส่งรุ่นล่าสุด (1.0.0) เข้า registry 5 วันที่ผ่านมา
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT บนเว็บ (แบบเต็มในแผน Business ขึ้นไป · Pro แบบอ่านอย่างเดียว)
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี Puter MCP, XcodeBuildMCP, Vexa, Atlassian Rovo MCP Server, Anki MCP Server
ตัวอื่นที่ทำงานคล้ายกัน
หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Puter MCP
Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more
XcodeBuildMCP
ให้ AI จัดการโปรเจกต์ Xcode สั่ง build และใช้ iOS Simulator
Vexa
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Atlassian Rovo MCP Server
server ทางการของ Atlassian ให้ AI ค้นและจัดการงานใน Jira และเอกสารใน Confluence ต่อผ่านคลาวด์และล็อกอินแบบ OAuth
Anki MCP Server
MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect.
| ตัวนี้ dForms | Puter MCP | XcodeBuildMCP | Vexa | Atlassian Rovo MCP Server | Anki MCP Server | |
|---|---|---|---|---|---|---|
| ทำงานที่ไหน | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ต้องลงในเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ต้องลงในเครื่อง |
| ต้องใส่คีย์ | ไม่ | ไม่ | ไม่ | ใช่ | ไม่ | ไม่ |
| กด + ใน Claude ได้ | ไม่ | ไม่ | ไม่ | ไม่ | ใช่ | ไม่ |
| ผลตรวจเบื้องต้น | 4/5 | 4/4 | 3/3 | 2/4 | 4/4 | 3/3 |
| สัญญาอนุญาต | MIT | AGPL-3.0 | MIT | Apache-2.0 | Apache-2.0 | MIT |
| ราคา | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน |
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Open-source forms that qualify, score and route your leads.
Build a multi-step form, score every answer, book the meeting and sync the lead to your CRM. Self-host it anywhere.
Website · Quickstart · Self-hosting · Contributing
What is dForms?
dForms is a form builder for teams that sell. A respondent answers a few questions; dForms scores each answer, decides which outcome they reach (a thank-you message, a redirect, or a calendar to book a call), and delivers the lead to HubSpot or any webhook. You see where people drop off and which answers convert.
It is a Turborepo monorepo: a Next.js 16 web app (public forms, admin and builder) and a NestJS API. Postgres is the source of truth in CI and production; SQLite lets you clone and run it in a minute with no infrastructure.
The public form, in the author's own brand One question per screen, keyboard-friendly
https://github.com/user-attachments/assets/d78fb38b-31ca-4845-9a46-4a5457a28910
Features
| Build | 13 question types: short and long text, name, email (with a work-email check), phone, URL, dropdown, single and multiple choice (list or cards, with emoji or logos), slider, file upload, message, reveal screen and an embedded scheduler. Slides or one-page layout, live WYSIWYG canvas, desktop and mobile preview. |
| Logic | Show/hide conditions and jumps on any answer, numeric operators (equal, greater, less, between), hidden fields filled from ?param=value, and @ recall of earlier answers in question text. A visual map of the whole flow. |
| Score and route | Points per option (negatives allowed), per-question scoring switch and score ranges mapped to outcomes. Each outcome shows its own message, redirects, or opens a booking step (HubSpot Meetings or Calendly). |
| Capture | Partial submissions from a point you choose, one submission per session (upgraded in place when the respondent finishes), and file answers with permanent signed links. |
| Integrations | HubSpot (contact upsert, note on the contact, a mirrored HubSpot form submission for attribution), signed JSON webhooks (HMAC-SHA256), owner and respondent emails with editable templates. Every delivery goes through a durable outbox with retries and a visible delivery history. |
| Tracking | Per-form Google Tag Manager, Meta Pixel, PostHog and HubSpot tracking code. UTM parameters are captured automatically and can be mapped to CRM properties. |
| Design | Theme presets, any brand color, 9 font families or your own font, background styles, corner radius, button and progress styles, logo, cover screen with badge, headline and trust line, and a workspace brand kit. |
| Analytics | Views, starts, submissions, completion rate, time to complete, partial submits, daily trends and question-by-question drop-off. |
| Share | Readable links (/{account}/f/{slug}) with editable slugs, a QR code, and an embed.js helper that auto-resizes iframes and carries redirects to the host page. |
| Operate | Responses table with header filters, search, time zone and CSV export; folders; workspaces with members and roles; Cloudflare Turnstile spam protection; English and Spanish across the app and the forms. |
Screenshots
Build. Questions, live canvas and per-question settings, with points on every option. Logic. The whole flow on one canvas, branching into scored outcomes.
Design. Language, layout, theme and brand, with a live device preview. Connect. Webhook, HubSpot and tracking pixels per form.
Submissions. Complete and partial responses with their score, filters and CSV export. Analytics. Funnel metrics, daily trends and question-by-question drop-off.
Forms. Every form with its status, submissions and completion rate. Mobile. The same form, sized for a phone.
The brand in these screenshots, "Pulse", is fictional, and so are the respondents.
Quickstart
git clone https://github.com/Dapta-Tech/dapta-forms.git dforms && cd dforms
pnpm install # Node >= 20.9, pnpm >= 10 pnpm dev # builds packages, creates and seeds a SQLite DB, starts both apps
Then open:
- Web: http://localhost:3000, with a seeded demo form at
/acme/f/lead-qualifier. The admin at/adminsigns you in as the seeded demo user. - API: http://localhost:4000/health, and the API reference at http://localhost:4000/docs (raw spec at
/openapi.json).
No Docker, no Postgres, no accounts. The database is a file at .data/dev.db, email is log-only (notices print to the API log), and pnpm db:reset restores the demo data.
Two dev modes
| Mode | Command | Database | Use it for |
|---|---|---|---|
| Fast | pnpm dev | SQLite file (.data/dev.db) | Zero-infra onboarding |
| Parity | pnpm dev:pg | Postgres in Docker | The same engine as CI and production |
pnpm dev:pg starts Postgres from docker-compose.yml, migrates, seeds and runs both apps against it. If port 5432 is taken, run PG_PORT=5433 pnpm dev:pg. Ports, Windows shells and running each app on its own are covered in CONTRIBUTING.md.
Architecture
apps/
web/ Next.js 16 (App Router, RSC): public forms, admin, builder api/ NestJS: public + admin API, outbox worker, OpenAPI packages/ engine/ pure form logic: skip-logic, validation, scoring, outcomes (no I/O) types/ zod contracts shared by web and api (form config v1, submissions, events) db/ Drizzle schema for Postgres and SQLite, migrations, seed, repositories destinations/ SubmissionDestination port + webhook, HubSpot and log-only adapters notifications/ EmailProvider port + log-only, noop, SMTP and HTTP adapters mcp/ the dForms MCP server (tools, HTTP door, agent guide), mounted by the api at /mcp shared/ i18n (EN/ES), handle utils, growth attribution, design tokens config/ zod env schema + shared tsconfig and prettier presets
- The web app reaches the API only over HTTP, so the two deploy independently.
- The engine is pure and shared, so the client preview and the server verdict always agree. Scores are always recomputed on the server.
- One submission per session is enforced twice: an app-level upsert and a unique index on
(form_id, session_id)on both dialects. CI asserts it on Postgres on every PR. - Side effects go through an outbox: emails, webhooks and CRM syncs are enqueued in the same transaction and drained with retries and backoff.
- Every integration sits behind a port (auth, email, destinations, storage, captcha) and falls back to a safe no-op, so a bare fork runs with nothing configured.
ARCHITECTURE.md has the request-flow diagram and the package boundaries.
Configuration
Every variable has a safe default; .env.example documents all of them. Copy it to .env to override (a real environment variable always wins).
| Variable | Default | What it does |
|---|---|---|
DATABASE_URL | file:./.data/dev.db | A postgres:// URL switches to Postgres |
PUBLIC_APP_URL | _(empty)_ | The public URL of the web app; set it on every real deploy |
API_URL | NEXT_PUBLIC_API_URL | Where the web server reaches the API, read at runtime |
NEXT_PUBLIC_API_URL | http://localhost:4000 | Where the browser reaches the API, baked in at build time |
AUTH_PROVIDER | local | local stub for dev, or workos |
EMAIL_PROVIDER | log-only | noop, smtp or http |
HUBSPOT_PRIVATE_APP_TOKEN | _(empty)_ | Enables the HubSpot destination |
CALENDLY_API_TOKEN | _(empty)_ | Enriches bookings made through Calendly |
STORAGE_BUCKET | _(empty)_ | Any S3-compatible bucket; enables file uploads |
CAPTCHA_SITE_KEY / CAPTCHA_SECRET_KEY | _(empty)_ | Both set enables Cloudflare Turnstile |
When one Docker image is promoted across environments, set API_URL per environment: NEXT_PUBLIC_* values are frozen into the image at build time.
Scripts
| Command | What it does |
|---|---|
pnpm dev / pnpm dev:pg | Build packages, migrate and seed, run web and api (SQLite / Postgres) |
pnpm build | Build every package and both apps |
pnpm test | Unit tests across the workspace (Vitest) |
pnpm typecheck / pnpm lint | Type-check / lint the workspace |
pnpm qa | End-to-end tests with Playwright |
pnpm db:migrate / pnpm db:seed / pnpm db:reset | Database lifecycle |
pnpm dev migrates before it starts the apps. If you start an app by hand against a fresh database, run pnpm db:migrate first.
Deploy
dForms runs anywhere Node or Docker runs; it uses no host-specific APIs.
apps/web/Dockerfilebuilds a Next.js standalone image andapps/api/Dockerfilethe API image. PointDATABASE_URLat Postgres.docker-compose.prod.ymlis a production-shaped smoke test: Postgres, a one-shot migration, the API and the web a