微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🚀

自托管表单,数据主权在手

GateCrash Forms · v0.1.2
办公 安全 A 级 作者 phoenix2479 公开目录收录
下载 1.4k 安装 0 收藏 4.8k 浏览 12
原始页面

简介

开源 CLI 表单构建工具,支持 JSON 配置生成 HTML 表单,SMTP 自托管邮件通知,本地存储响应数据,零外部依赖,适合隐私优先的自托管场景。

原始描述

CLI-first form builder with BYOK philosophy. Generate beautiful HTML forms from JSON schemas, handle submissions via your own SMTP server, store responses lo...

技能正文


name: gatecrash-forms description: CLI-first form builder with BYOK philosophy. Generate beautiful HTML forms from JSON schemas, handle submissions via your own SMTP server, store responses locally. We crash gates, we don't build new ones. metadata: { "openclaw": { "emoji": "🚀", "requires": { "bins": ["gatecrash-forms", "node"] }, "install": [ { "id": "npm-global", "kind": "node", "package": "gatecrash-forms", "bins": ["gatecrash-forms"], "label": "Install GateCrash Forms globally (npm)", }, ], }, }

GateCrash Forms Skill

CLI-first form builder with BYOK (Bring Your Own Keys) philosophy

Generate beautiful, secure HTML forms from JSON schemas. Email notifications via YOUR SMTP server, response storage on YOUR infrastructure. No external services, no gatekeeping.

Quick Start

Generate a Form

./scripts/generate.sh examples/feedback.json output.html

Start Server

./scripts/serve.sh 3000

Visits http://localhost:3000 to see all forms.

Initialize Project

./scripts/init.sh

Creates forms/ and responses/ directories with example forms.

Features

  • 🎨 8+ Field Types: text, email, textarea, select, radio, checkbox, scale/rating, date
  • 🔒 Security Hardened: XSS prevention, CSRF tokens, honeypot spam protection, rate limiting
  • 📧 BYOK Email: Use your own SMTP server (Zoho, Gmail, SendGrid, etc.)
  • 💾 Local Storage: Responses saved as JSON or CSV
  • 🎨 Beautiful UI: Gradient purple theme, responsive design
  • 🚀 Self-Hosted: Deploy anywhere Node.js runs

Configuration

Set up your SMTP credentials globally:

gatecrash-forms config smtp.host smtp.example.com
gatecrash-forms config smtp.port 465
gatecrash-forms config smtp.secure true
gatecrash-forms config smtp.auth.user your-email@example.com
gatecrash-forms config smtp.auth.pass your-password

Or configure per-form in the JSON schema.

Example Form Schema

{
  "title": "Customer Feedback",
  "description": "We'd love to hear from you!",
  "fields": [
    {
      "type": "scale",
      "name": "rating",
      "label": "Overall satisfaction",
      "min": 1,
      "max": 5,
      "required": true
    },
    {
      "type": "checkbox",
      "name": "topics",
      "label": "What interested you most?",
      "options": ["Product", "Service", "Price", "Experience"]
    },
    {
      "type": "textarea",
      "name": "comments",
      "label": "Additional comments",
      "maxLength": 500
    }
  ],
  "submit": {
    "email": "your-email@example.com",
    "storage": "responses/feedback.json"
  }
}

Use Cases

  • Customer Feedback: Collect product/service feedback
  • Contact Forms: Simple contact forms for websites
  • Event Registration: Sign up forms for workshops/events
  • Surveys: Market research, user surveys
  • Lead Generation: Capture leads without third-party services

Philosophy: We Crash Gates

GateCrash Forms is NOT a service. It's a toolmaker.

  • ✅ Your SMTP server (email notifications)
  • ✅ Your storage (form responses)
  • ✅ Your deployment (host anywhere)
  • ✅ Your data (no external servers)

No GateCrash accounts. No GateCrash servers. No gatekeeping.

Links

Commands Reference

# Generate form from schema
gatecrash-forms generate schema.json output.html

# Start HTTP server
gatecrash-forms serve [port]

# Set global config
gatecrash-forms config <key> <value>

# Initialize project
gatecrash-forms init

# Show help
gatecrash-forms help

License

MIT - Use it, fork it, sell it. Just don't gatekeep it.


Made with 🔥 by Dinki & Molty

"We crash gates. We don't build new ones."

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

其他来源收录

同一技能在不同目录的原始页面:

标签

self-hostedprivacyformsclismtpjson-schemadata-sovereigntybyoknode-jsopen-source

同类 Skill