Skip to content

GenForm AI is an AI-powered SaaS tool that instantly creates customizable forms from simple prompts. With flexible plans, Stripe integration, analytics, and editing options, it simplifies form creation and boosts productivity.

License

Notifications You must be signed in to change notification settings

Amansingh0807/GenForm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

184 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

🚀 GenForm - AI-Powered Form Builder

Transform Ideas into Beautiful Forms in Seconds

Live Demo License SWOC 2026 PRs Welcome

Live DemoReport BugRequest Feature


📍 Jump To


🤝 Contributors

We ❤️ our contributors!
GenForm proudly participates in SWOC'26, and we appreciate everyone who contributes to this project.

🌟 Contributors


Aman Singh

Takunda Lennox J Galanje

Nikitha

Kenneth Jerome Fernandes

Shihab Hasan

Prabuddha Narayan Datta

David Pratama

Archita Agrawal

Nitya Gattu

Shaurya Singh

Vishwanath Patre

Shatrughan

Roshan Kumar Singh

Yash Mhetras

Manab Biswas

Sudharsana Saravanan S

Trapti Vishwakarma

Karthik Hegde

Nitya Gosain

🌟 Overview

GenForm is a cutting-edge SaaS platform that leverages AI to revolutionize form creation. Simply describe your form in plain English, and our AI instantly generates a fully functional, customizable form. No coding required, no complex setup—just intelligent form building at your fingertips.

✨ Why GenForm?

  • Lightning Fast - Create forms in seconds, not hours
  • 🤖 AI-Powered - Intelligent field suggestions and form generation
  • 🎨 Beautiful Design - Modern, responsive forms that work everywhere
  • 📊 Analytics Built-in - Track submissions and gain insights
  • 🔒 Secure - Enterprise-grade security with encrypted data
  • 💰 Flexible Pricing - Free tier available, scale as you grow

🎯 Key Features

🤖 AI Form Generation

  • Natural Language Processing - Describe your form in plain English
  • Smart Field Detection - AI automatically suggests appropriate field types
  • Instant Creation - Generate complete forms in under 5 seconds
  • Context Understanding - AI understands your form's purpose and adapts accordingly

✏️ Rich Text Editing

  • WYSIWYG Editor - Format form descriptions with bold, italic, underline
  • List Support - Add ordered and unordered lists
  • Link Integration - Include hyperlinks in descriptions
  • Google Forms-like Experience - Familiar and intuitive interface

🎨 Form Customization

  • Inline Title Editing - Edit form names directly from dashboard or edit page
  • Field Management - Add, remove, reorder, and customize fields
  • Field Types - Text, email, number, select, radio, checkbox, and more
  • Required/Optional - Mark fields as required or optional
  • Placeholders - Add helpful placeholder text for better UX

📊 Analytics Dashboard

  • Submission Tracking - Monitor form responses in real-time
  • Visual Charts - Beautiful graphs and statistics
  • Submission Details - View individual responses with timestamps
  • Export Data - Download submissions for further analysis
  • Form Performance - Track engagement and completion rates

🔐 Authentication & Security

  • Clerk Integration - Secure user authentication
  • User Management - Sign up, sign in, profile management
  • Protected Routes - Form ownership verification
  • Data Encryption - Secure storage with Prisma and PostgreSQL
  • UUID System - Prevent form enumeration attacks

💳 Subscription & Payments

  • Stripe Integration - Secure payment processing
  • Multiple Plans - Free, Pro, and Enterprise tiers
  • Usage Limits - Form limits based on subscription
  • Upgrade Flow - Seamless subscription management

🎯 Form Sharing

  • Unique URLs - Each form gets a UUID-based public URL
  • Social Sharing - Share via WhatsApp, Email, LinkedIn, Twitter
  • QR Codes - Generate QR codes for offline sharing
  • Embed Options - Embed forms on your website
  • Copy Link - One-click link copying

🌓 Modern UI/UX

  • Dark Mode - Full dark mode support
  • Responsive Design - Perfect on mobile, tablet, and desktop
  • Gradient Themes - Beautiful green/blue color scheme
  • Smooth Animations - Polished transitions and hover effects
  • Toast Notifications - Real-time feedback for user actions

Technology Stack

Category Technology Usage
Frontend Next.js 15 App Router & Server Components
Language TypeScript Type-safe Development
Styling Tailwind CSS Modern UI & Responsive Design
Database PostgreSQL Relational data via Supabase
AI Engine Gemini API Natural Language Form Parsing
Payments Stripe Secure Payment Gateway
Package Mgr npm Dependency & Package Management
Runtime Node.js Server-side JavaScript Execution
Auth Clerk Authentication & User Management

📁 Project Structure

Here’s a quick look at how the repository is organized:

📁 Project Structure
├── .github/                # GitHub workflows & configs
├── app/                    # Next.js App Router pages & layouts
├── components/             # UI components
├── hooks/                  # Custom React hooks
├── lib/                    # Utility modules & helpers
├── prisma/                 # Database schema & migrations
├── public/                 # Public assets (images, etc.)
├── types/                  # TypeScript type definitions
├── .editorconfig           # Editor config rules
├── .gitignore              # Git ignore rules
├── .hintrc                 # Linter configuration
├── .prettierrc             # Prettier config
├── CODE_OF_CONDUCT.md      # Contributor guidelines
├── CONTRIBUTING.md         # Contribution guide
├── LEARN.md                # Learning doc / usage tips
├── LICENSE                 # MIT License
├── README.md               # Project overview & instructions
├── SECURITY.md             # Security policy
├── components.json         # Shadcn UI component config
├── eslint.config.mjs       # ESLint config
├── middleware.ts           # Next.js middleware
├── next.config.ts          # Next.js config
├── package.json            # Dependencies & scripts
├── package-lock.json       # Locked dependencies
├── postcss.config.mjs      # PostCSS config
├── tailwind.config.ts      # Tailwind CSS config
└── tsconfig.json           # TypeScript config

🚀 Getting Started

Prerequisites

Node.js 18.x or higher
npm
PostgreSQL database

Installation

  1. Clone the repository
git clone https://github.com/Amansingh0807/GenForm.git
cd GenForm
  1. Install dependencies
npm install
  1. Set up environment variables
cp .env.example .env

Add your credentials:

# Database
DATABASE_URL="your_postgresql_url"
DIRECT_URL =

# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="your_clerk_publishable_key"
CLERK_SECRET_KEY="your_clerk_secret_key"

NEXT_PUBLIC_CLERK_SIGN_IN_URL="Your_link"
NEXT_PUBLIC_CLERK_SIGN_UP_URL="Your_link"


NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL="Your_link"
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL="Your_link"

# Stripe
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="your_stripe_publishable_key"
STRIPE_SECRET_KEY="your_stripe_secret_key"

# Google Gemini AI
GEMINI_API_KEY="your_gemini_api_key"

NEXT_PUBLIC_BASE_URL = "Link"
  1. Run database migrations
npx prisma migrate dev
npx prisma generate
  1. Start development server
npm run dev

Visit http://localhost:3000 🎉


📖 Usage Guide

Creating Your First Form

  1. Sign Up/Sign In - Create an account or log in
  2. Navigate to Dashboard - Click "Create Form" or go to Dashboard
  3. Describe Your Form - Enter a prompt like:
    Create a customer feedback form with name, email,
    rating (1-5), and comments
    
  4. AI Generates Form - Watch as AI creates your form instantly
  5. Customize - Edit fields, add descriptions, adjust settings
  6. Publish - Click "Publish" to make your form live
  7. Share - Copy the link or share via social media

Managing Forms

  • Edit Forms - Click edit icon on any form
  • View Submissions - Click on form card to see responses
  • Delete Forms - Remove unwanted forms
  • Analytics - Track form performance in Analytics tab

🎨 Features Showcase

AI Form Generation

User Input: "Create a job application form"

AI Output:
✓ Full Name (Text, Required)
✓ Email Address (Email, Required)
✓ Phone Number (Text, Required)
✓ Resume Upload (File, Required)
✓ Cover Letter (Textarea, Optional)
✓ Expected Salary (Number, Optional)

Rich Text Descriptions

  • Add formatted instructions to your forms
  • Include links to privacy policies
  • Create professional-looking form headers
  • Format text with lists and emphasis

Real-Time Analytics

  • Track total submissions
  • Monitor submission trends
  • View individual responses
  • Export data to CSV

🌟 Don't forget to star this repo!


📸 Screenshots

GenForm Dashboard


🤝 Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Please read our Contributing Guidelines and Code of Conduct before getting started.


🛡️ Security

If you discover any security-related issues, please refer to our Security Policy.


📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


👨‍💻 Author

Aman Singh


🙏 Acknowledgments


📞 Support

Need help? We're here for you!


⭐ Star this repository if you find it helpful!

Made with ❤️ by Aman Singh

🚀 Try GenForm Now

About

GenForm AI is an AI-powered SaaS tool that instantly creates customizable forms from simple prompts. With flexible plans, Stripe integration, analytics, and editing options, it simplifies form creation and boosts productivity.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 22