Formbricks — Open-Source Survey & Feedback Platform
In-product surveys, user research, and feedback collection. Self-hostable Qualtrics/Typeform alternative. 12K+ GitHub stars.
What it is
Formbricks is an open-source survey and feedback platform designed for in-product research. It lets you embed surveys inside your web application, trigger them based on user actions, and collect structured feedback without sending users to external survey tools. It supports NPS, CSAT, CES, and custom survey types.
It targets product teams and developers who want to collect user feedback at the right moment inside their application, with full control over data and self-hosting options.
How it saves time or tokens
Formbricks removes the friction of external survey tools. Instead of redirecting users to Typeform or Google Forms, surveys appear in-context as tooltips, modals, or embedded forms. Event-based triggers mean surveys show at the right moment (after a feature is used, after onboarding, etc.). For AI applications, you can collect feedback on model outputs directly in the UI, improving your training data and user satisfaction metrics.
How to use
- Self-host with Docker:
docker compose up -d
# From the Formbricks repository
- Or use the cloud at formbricks.com.
- Embed the widget in your app:
<script type="text/javascript">
!function(){var t=document.createElement("script");
t.type="text/javascript";t.async=!0;
t.src="https://your-instance.com/js/formbricks.umd.cjs";
document.body.appendChild(t)}();
window.formbricks = { init: { environmentId: 'your-env-id' } };
</script>
Example
// Track user actions and trigger surveys
import formbricks from '@formbricks/js';
// Initialize
formbricks.init({
environmentId: 'your-env-id',
apiHost: 'https://your-instance.com'
});
// Track when a user completes an AI-powered task
formbricks.track('ai_task_completed', {
taskType: 'document_summary',
modelUsed: 'gpt-4o',
processingTime: 3.2
});
// This can trigger a survey like:
// 'How helpful was the AI summary? (1-5)'
// Configured in the Formbricks dashboard
Related on TokRepo
- AI tools for research -- Research and user feedback tools
- AI tools for self-hosted -- Self-hostable platforms
Common pitfalls
- Survey fatigue is real. Do not trigger surveys on every page load or action. Use targeted triggers based on meaningful user events and rate-limit survey frequency per user.
- Self-hosting requires PostgreSQL. The Docker setup handles this, but ensure you have backups configured for survey data.
- Custom survey logic (branching, conditional questions) needs configuration in the dashboard. Plan your survey flow before building it.
Frequently Asked Questions
Formbricks is open-source, self-hostable, and designed for in-product surveys that appear inside your app. Typeform is a standalone survey tool that users visit externally. Formbricks gives you higher response rates through in-context triggering and full data ownership through self-hosting.
Formbricks supports NPS (Net Promoter Score), CSAT (Customer Satisfaction), CES (Customer Effort Score), free-text feedback, multiple choice, rating scales, and custom survey types. You can build multi-page surveys with branching logic based on responses.
Yes. Formbricks supports user attributes and event-based targeting. You can show surveys to specific user segments (free vs. paid, new vs. returning), trigger based on custom events, and set display frequency limits to avoid survey fatigue.
Yes. Formbricks provides webhooks and integrations with tools like Slack, Notion, Google Sheets, and Zapier. Survey responses can be sent to your analytics pipeline, CRM, or project management tool automatically.
Yes, especially when self-hosted. Self-hosting means survey data stays on your infrastructure in your chosen jurisdiction. Formbricks provides features for data anonymization and consent collection to support GDPR compliance.
Citations (3)
- Formbricks GitHub Repository— Formbricks is an open-source survey and feedback platform
- Formbricks Documentation— Formbricks supports NPS, CSAT, and in-product surveys
- Formbricks Blog— In-context surveys achieve higher response rates than external tools
Related on TokRepo
Source & Thanks
Created by Formbricks. Licensed under AGPL-3.0.
formbricks — ⭐ 12,000+
Discussion
Related Assets
Conda — Cross-Platform Package and Environment Manager
Install, update, and manage packages and isolated environments for Python, R, C/C++, and hundreds of other languages from a single tool.
Sphinx — Python Documentation Generator
Generate professional documentation from reStructuredText and Markdown with cross-references, API autodoc, and multiple output formats.
Neutralinojs — Lightweight Cross-Platform Desktop Apps
Build desktop applications with HTML, CSS, and JavaScript using a tiny native runtime instead of bundling Chromium.