Zero-bug, zero-config form & integration suite β A complete monorepo containing everything you need to build modern web applications with forms, editors, and integrations.
Version: 0.5 Beta
This is an early beta release. We welcome feedback, bug reports, and especially contributors!
Contributors: Please review our Code Guidelines before submitting a PR. The guidelines include detailed, line-by-line help and best practices for contributing to this codebase.
- 28-field form builder with validation and conditional logic
- Universal integration engine (Editor.js, Shadcn, Google Fonts, LLMs)
- Developer UX: CLI + GUI, live preview, export to CodeSandbox/StackBlitz
- Self-healing, cross-platform bootstrap and dependency doctor
- TypeScript, Turbo, pnpm, Vite, and full monorepo setup
- Integration Schemas: Standardized, reusable integration blueprints for third-party services
- π€ AI Assisted Form Builder (via Integration Engine)
- Serverless Integration Handling (Supabase)
- CRM Integrations (HubSpot, Zoho, Next CRM, others)
- Cloud Storage Integrations (Google Drive, OneDrive, Dropbox)
- Payments Integration (Stripe, others)
- Clone or download this repository
- Run the bootstrap script:
# Via Node.js
node bootstrap.js
# Or make it executable and run directly
chmod +x bootstrap.js
./bootstrap.jsThe bootstrap will:
- β Check Node.js 18+ requirement
- π¦ Auto-install pnpm (or use npm/yarn if preferred)
- π Install all workspace dependencies
- π©Ί Run health checks on all packages
- π― Present interactive menu for next steps
After bootstrap, choose from:
- Start dev servers β Hot-reload development for all packages
- Build everything β Production builds for all packages
- Run unit tests β Complete test suite across all packages
formity-zero/
βββ bootstrap.js # π©Ί 1-click setup & health check
βββ package.json # π¦ Root workspace configuration
βββ pnpm-workspace.yaml # π§ Workspace definition
βββ turbo.json # β‘ Monorepo task orchestration
βββ apps/
β βββ developer-ux/ # π οΈ CLI + GUI development tools
βββ packages/
β βββ formity/ # π Form builder with 28 field types
β βββ integration-engine/ # π Universal integration hub
β βββ ahead-editor/ # βοΈ Editor.js wrapper
β βββ ahead-shadcn/ # π¨ Shadcn/ui components
βββ scripts/
βββ doctor.js # π©Ί Dependency health checker
The core form building engine with:
- 28 field types (text, email, select, file upload, etc.)
- Built-in validation system
- Conditional logic support
- Tailwind CSS theming
- Zero configuration required
Universal hub for connecting any service:
- Pre-configured Editor.js integration
- Shadcn/ui component system
- Google Fonts loader
- LLM provider support
- Extensible registry pattern
Complete Editor.js solution:
- All essential blocks (header, paragraph, list, quote, etc.)
- Image upload support
- Link tool with preview
- Inline code formatting
- Zero-config setup
Ready-to-use Shadcn/ui components:
- Button, Input, and core components
- Tailwind CSS utilities
- Dark/light mode support
- Fully typed with TypeScript
Complete development experience:
- Interactive CLI for common tasks
- Web-based GUI (http://localhost:3001)
- Live preview of all components
- Export to CodeSandbox/StackBlitz
pnpm dev
# Starts all packages in development mode with hot-reloadpnpm build
# Creates optimized builds for all packagespnpm test
# Runs unit tests across all packagespnpm check
# TypeScript type checking for all packagespnpm lint
# ESLint across all packagesimport { Formity } from 'formity';
const form = new Formity('#my-form', {
fields: [
{ type: 'short-text', id: 'name', label: 'Full Name' },
{ type: 'email', id: 'email', label: 'Email Address' },
{ type: 'select', id: 'role', label: 'Role', options: ['User', 'Admin'] }
],
onSubmit: (data) => console.log('Form submitted:', data)
});
form.render();import { IntegrationEngine } from '@integration-engine/core';
const engine = new IntegrationEngine();
// Load Google Fonts
engine.use('google-fonts').init('Inter', [400, 500, 700]);
// Initialize Editor.js
const editor = await engine.use('codex-editor').init({
holder: 'editor-container',
placeholder: 'Start writing...'
});import { Ahead } from 'ahead-editor';
// Simple setup
const editor = Ahead.init('editor');
// With custom tools
const editor = Ahead.init('editor', {
customTool: { class: MyCustomTool }
});
// Save content
const content = await Ahead.save(editor);All packages are pre-configured with sensible defaults, but can be customized:
- TypeScript β Strict mode enabled
- ESLint β Recommended rules
- Vite β Fast development and building
- Turbo β Optimized monorepo builds
- pnpm β Efficient package management
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests:
pnpm test - Build:
pnpm build - Submit a pull request
MIT License - see LICENSE file for details
- π Check the documentation in each package's README
- π Report issues on GitHub
- π¬ Ask questions in discussions
Formity Zero features an AI Assisted Form Builder powered by the Integration Engine. This engine is the backbone for all integrations, including current and upcoming roadmap features. Every integrationβwhether serverless, CRM, storage, or paymentsβis managed through the Integration Engine, ensuring a unified, extensible, and maintainable architecture.
- LLM-driven form generation from plain language prompts
- AI validation rules that adapt to user answers
- Auto-mapping form fields to CRM columns
| Task | Status |
|---|---|
| AI Form Generator | π§ LLM prompt β JSON schema |
| AI Validation Engine | π§ Auto-adaptive rules |
| Supabase Auth | π§ User sign-up flows |
| HubSpot OAuth | π§ Token storage & sync |
| Google Drive Upload | π§ OAuth + list/delete files |
| Stripe Checkout Field | π§ Payment confirmation webhook |
- Google AI API Integration [High Priority]
- Integrate Google AI API with the Integration Engine for LLM-driven form generation
- Enable prompt-to-JSON schema conversion and adaptive validation using Google AI
- LLM-driven Form Generation [High Priority]
- Build UI for plain language form creation using [ahead-shadcn]
- AI Validation Rules [High Priority]
- Create adaptive validation logic that responds to user answers
- Integrate validation feedback into the form UI using [ahead-shadcn]
- Auto-mapping to CRM Columns [High Priority]
- Map generated form fields to CRM columns automatically
- Allow user override and review of mappings using [ahead-shadcn]
- OpenAI Integration [Medium Priority]
- Integrate OpenAI (GPT-4/3.5) for form generation and validation
- Add fallback and multi-provider support in the Integration Engine
- Kimi 2, DeepSeek, Claude, Grok Integrations [Medium Priority]
- Add Kimi 2, DeepSeek, Claude, and Grok as selectable LLM providers in the Integration Engine
- Standardize LLM API schema for easy extension and provider switching
- Database Integration for Form Builder [High Priority]
- Implement Supabase client and connection config in the integration engine
- Enable saving form definitions and user submissions to Supabase tables
- Authentication [High Priority]
- Add Supabase Auth for end-user sign-up/sign-in flows (with SSO support)
- Connect form access and submission to authenticated user sessions using [ahead-shadcn] UI
- HubSpot Integration [High Priority]
- Add OAuth2/SSO flow and token storage for HubSpot
- Map form fields to HubSpot contact properties and push submissions
- Zoho/Next CRM Integration [Medium Priority]
- Implement Zoho/Next CRM API connectors with SSO
- Enable mapping and syncing of form data to CRM leads/contacts using [ahead-shadcn] UI
- Google Drive Integration [High Priority]
- Add OAuth2/SSO and file upload endpoint for Google Drive
- Allow users to select/upload files directly to their Drive from the form using [ahead-shadcn]
- OneDrive/Dropbox Integration [Medium Priority]
- Implement OneDrive/Dropbox file upload endpoints with SSO
- Support file management (list, delete, download) from the form UI using [ahead-shadcn]
- Stripe Integration [High Priority]
- Add Stripe Checkout/Elements to the form builder as a payment field using [ahead-shadcn]
- Handle payment confirmation and webhook for form submission
- Other Payment Providers [Medium Priority]
- Add support for additional providers (e.g., PayPal, Square, Amazon Payment Services, 2Checkout/Verifone, Geidea, Fawry, Mada, takepayments, Worldpay, Revolut) with SSO where available
- Standardize payment integration schema for easy extension
- Google Calendar Integration [High Priority]
- Integrate Google Calendar API via the Integration Engine for booking forms
- Build booking form UI using [ahead-shadcn] and support SSO for end users
- Microsoft Calendar Integration [Medium Priority]
- Integrate Microsoft Calendar API for event creation and management
- Enable two-way sync and booking management using [ahead-shadcn] UI
- Fork the repo and pick a subtask above (start with an easy one if you're new!)
- Open an issue to discuss your approach or ask for guidance
- Submit a PR with your changes and reference the subtask
- Join the discussion: Suggest new features, integrations, or improvements
We prioritize easy subtasks for new contributors, but all help is welcome!
Ready to build something amazing? Run node bootstrap.js and you'll be up and running in under 30 seconds! π