Shubham Palriwala 13afba7615 feat: move env vars from build-time to run-time to better support self-hosting environments (#789)
* feat: privacy, imprint, and terms URL env vars now do not need rebuilding

* feat: disable_singup env var now do not need rebuilding

* feat: password_reset_disabled env var now do not need rebuilding

* feat: email_verification_disabled env var now do not need rebuilding

* feat: github_oauth & google_oauth env var now do not need rebuilding

* feat: move logic of env vars to serverside and send boolean client-side

* feat: invite_disabled env var now do not need rebuilding

* feat: rename vars logically

* feat: migration guide

* feat: update docker-compose as per v1.1

* deprecate: unused NEXT_PUBLIC_VERCEL_URL & VERCEL_URL

* deprecate: unused RAILWAY_STATIC_URL

* deprecate: unused RENDER_EXTERNAL_URL

* deprecate: unused HEROKU_APP_NAME

* fix: define WEBAPP_URL & replace NEXT_WEBAPP_URL with it

* migrate: NEXT_PUBLIC_IS_FORMBRICKS_CLOUD to IS_FORMBRICKS_CLOUD

* chore: move all env parsing to a constants.ts from page files

* feat: migrate client side envs to server side

* redo: isFormbricksCloud to navbar serverside page

* fix: constants is now a server only file

* fix: removal of use swr underway

* fix: move 1 tag away from swr to service

* feat: move away from tags swr

* feat: move away from surveys  swr

* feat: move away from eventClass swr

* feat: move away from event swr

* fix: make constants server-only

* remove comments from .env.example, use constants in MetaInformation

* clean up services

* rename tag function

* fix build error

* fix smaller bugs, fix Response % not working in summary

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-30 21:40:59 +02:00
2022-10-13 09:46:43 +02:00
2022-10-13 09:46:43 +02:00
2023-05-31 17:45:23 +02:00

Open Source Experience Management Solution Qualtrics Alternative Logo

Formbricks

The Open Source Survey & Experience Management solution for fast growing companies
Website | Join Discord community

License Join Formbricks Discord Github Stars Hacker News Product Hunt Github Accelerator


Trusted by                       

About Formbricks

formbricks-sneak

Formbricks is your go-to solution for in-product micro-surveys that will supercharge your product experience. Use micro-surveys to target the right users at the right time without making surveys annoying.

Try it out in the cloud at formbricks.com

💪 Mission: Make customer-centric decisions based on data.

Formbricks helps you apply best practices from data-driven work and experience management to make better business decisions. Ask users as they experience your product - and leverage a significantly higher conversion rate. Gather all insights you can - including partial submissions and build conviction for the next product decision. Better data, better business.

Features

  • 📲 Create in-product surveys with our no code editor with multiple question types
  • 📚 Choose from a variety of best-practice templates
  • 👩🏻 Launch and target your surveys to specific user groups without changing your application code
  • 🔗 Create shareable link surveys
  • 👨‍👩‍👦 Invite your team members to collaborate on your surveys
  • 🔌 Integrate Formbricks with Slack, Posthog, Zapier, n8n and more
  • 🔒 All open source, transparent and self-hostable

Built on Open Source

🚀 Getting started

We've got several options depending on your need to help you quickly get started with Formbricks

☁️ Cloud Version

Formbricks has a hosted cloud offering with a generous free plan to get you up and running as quickly as possible. To get started, please visit formbricks.com

🐳 Self-hosted version

Formbricks is available Open-Source under AGPLv3 license. You can host Formbricks on your own servers using Docker without a subscription.

(In the future we may develop additional features that aren't in the free Open-Source version).

If you opt for self-hosting Formbricks, here are a few options to consider:

Docker

To get started with self-hosting with Docker, take a look at our self-hosting docs.

Community managed One Click Hosting

Railway

You can deploy Formbricks on Railway using the button below.

Deploy on Railway

👨‍💻 Development

Prerequisites

Here is what you need to be able to run Formbricks

  • Node.js (Version: >=18.x)
  • Pnpm
  • Docker - to run PostgreSQL and MailHog

Local Setup

To get started locally, we've got a guide to help you.

Gitpod Setup

  1. Click the button below to open this project in Gitpod.

  2. This will open a fully configured workspace in your browser with all the necessary dependencies already installed.

Open in Gitpod

✍️ Contribution

We are very happy if you are interested in contributing to Formbricks 🤗

Here are a few options:

  • Star this repo
  • Create issues every time you feel something is missing or goes wrong
  • Upvote issues with 👍 reaction so we know what's the demand for particular issue to prioritize it within roadmap

Please check out our contribution guide and our list of open issues for more information.

📆 Contact us

Let's have a chat about your survey needs and get you started.

Book us with Cal.com

⚖️ License

Distributed under the AGPLv3 License. See LICENSE for more information.

🔒 Security

We take security very seriously. If you come across any security vulnerabilities, please disclose them by sending an email to security@formbricks.com. We appreciate your help in making our platform as secure as possible and are committed to working with you to resolve any issues quickly and efficiently. See SECURITY.md for more information.

Description
No description provided
Readme AGPL-3.0 464 MiB
Latest
2025-10-30 02:39:21 -05:00
Languages
TypeScript 98.1%
Shell 1%
CSS 0.3%
JavaScript 0.3%
MDX 0.1%