Skip to content

Formscale/formscale

Repository files navigation

Formscale

The most powerful form builder for any site.

Table of Contents

Features

  • Create usable forms in seconds

  • Hosted forms for static sites

  • Form UI templates

  • Send email notifications, connect webhooks, & integrate with CRMs

  • Custom field validation, bot protection, and file upload/storage

  • Cooler features

    • Multi-step forms
    • Form success & redirects
    • Editable email templates
    • Cookies & UTM tracking
    • Exportable data
    • React SDK for form templates & validation (future)

Project Structure

  • frontend - Next.js app
  • api - Workers API
  • packages/* - Shared packages
    • types/* - Shared types
    • ui/* - UI components
    • templates/* - UI templates
    • utils/* - Shared utilities
  • cli - CLI for managing Formscale
  • react - React SDK

Getting Started

  1. Clone repository:
git clone https://github.com/Formscale/formscale.git
  1. Install dependencies:
pnpm install
  1. Generate Prisma client:
pnpm generate
  1. Build packages:
pnpm build
  1. Start development servers:
pnpm dev
  1. Configure environment:
  • Add your own bucket and database from Cloudflare to api/wrangler.toml.
  • Add your own Resend API key and JWT secret to api/.dev.vars.example and rename it to .dev.vars.

Usage

WIP

Contributing

Contributions are welcome! Please feel free to open an issue or submit a pull request.

DM on Discord for questions (dris404).

Planning to launch end of Feb 2025?

Pull Requests

  1. Create a feature branch:
git checkout -b feature/new-feature
  1. Make changes and commit:
git commit -m "feat: added new feature"
git commit -m "fix: fixed bug with..."
git commit -m "docs: updated readme"
  1. Run checks before pushing:
pnpm lint        # lint
pnpm build       # see if it builds
pnpm test        # run tests
  1. Push and create PR:
git push origin feature/new-feature

License

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

About

The most powerful open-source form builder & management tool.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages