Marketing

Stop paying for Tally

A tidy, document-like form builder with the exports you need.

Tally costs US$29–89 / mo, which is US$348–1,068 a year. You have two paths:

Option 1 · Install

Install HeyForm for free

HeyForm is the Typeform-style form, one question at a time, but self-hosted. In the visual editor you build surveys, quizzes, contact or order forms, with conditional logic, themes, custom CSS, Stripe payments, file uploads and signatures. Answers land in a results table with drop-off rates, export to CSV and flow to your tools through webhooks, Zapier, Make, Google Sheets, Airtable or Slack. It runs on your server with Docker: the app, a MongoDB database and a Redis. AGPL-3.0 license, and a hosted version exists from €13 a month. The part that matters: the project went through a big wave of security advisories in 2026 and hardened its code in August. So install the latest version, not an older one.

HeyForm vs Typeform

CriterionHeyFormTypeform
PriceUS$0, plus a small VPS for a few euros a month€24 a month billed yearly, €35 month to month
Responses per monthNo cap, it is your database100 on Basic, then you upgrade
Where answers liveIn your MongoDB, on your serverOn their servers
Removing the brandingIncluded, with your own CSSPlus plan, from €48 per month
UsersYour team, no extra cost1 seat on Basic
Security and updatesUp to you, and here it mattersHandled by them

How to install it (even from zero)

Three containers (the app, MongoDB, Redis) and an HTTPS proxy in front. The prompt does it all; you bring a server and a domain name. Plan on about twenty minutes.

  1. 1

    Paste this prompt into Claude (Code or Desktop)

    It deploys HeyForm from the official project with Docker Compose, sets the variables, puts an HTTPS proxy in front and checks your first form:

    Install HeyForm on my server (the open source Typeform-style form builder, GitHub repo heyform/heyform) with Docker Compose, following the official docs at docs.heyform.net/open-source/self-hosting. Start from scratch: check that Docker and Docker Compose are present, and install them if not. Create a heyform folder with a docker-compose.yml that runs three services: the heyform/community-edition image with a recent tagged version (at least v3.0.2, never older than v3.0.1, the one that contains the security fixes), a MongoDB database and a Redis (KeyDB), each with a volume to keep the data. Generate two long random keys for SESSION_KEY and FORM_ENCRYPTION_KEY, set APP_HOMEPAGE_URL to my domain name over https, and set TRUST_PROXY to 1 since the application will be behind a proxy. Do not publish port 9157 to the internet: install a reverse proxy (Caddy preferably) that serves my domain over HTTPS with an automatic certificate and forwards to the HeyForm container. Start everything, open the address, create my administrator account, then add APP_DISABLE_REGISTRATION=true and restart to close sign-ups. Check that a first form can be created, published and a test response received. Explain each step simply, I'm a beginner.
    
    Review the GitHub repository and check whether it is safe to install given my machine and my infrastructure. Ask me as many questions as possible, using widgets, to clarify my request and be as precise as you can.
  2. 2

    Close sign-ups as soon as you have your account

    Once your account exists, the instance has to refuse new accounts, otherwise anyone can sign up on your domain. The prompt takes care of it with the variable made for that. Check by opening the sign-up page in a private window.

  3. 3

    Update, and don't wait six months

    The project fixed 42 security advisories between May and August 2026. Install version 3.0.2 at least, subscribe to the releases on GitHub, and pull the images again with every new version. A public form is an open door into your server.

What you'll use it for

Your contact form, in a story or on your site

A one-question-at-a-time form gets completed more often than a wall of fields. You link it in a story or embed it on your site, and every answer reaches you by email or by webhook in your CRM.

A quote or a complete client file

File uploads, signature, Stripe payment, conditional logic: you collect everything in one go, and the file is already in your database instead of sitting in an inbox.

Surveys and quizzes for your audience

You ask your community what it wants, see where people drop off, and export to CSV. With no response cap, you can do it again at every launch.

Project health

GitHub stars
9,000
Forks
717
Contributors
34
Commits
300
Project age
2.6 years
License
AGPL-3.0

Built with: TypeScript 94.7% · SCSS 4.1% · HTML 0.7%

Public GitHub repository data, captured on October 8, 2026.

Option 2 · Build

Build your own Tally

Who this is for

This build is for a small team publishing lead, feedback, and application forms. The goal: put together branded forms quickly, collect dependable responses, and route them to the tools you already use. If you need more than that, keep paying. Building it yourself is about owning a tool shaped exactly like your workflow, not re-implementing a venture-funded roadmap.

Same build, different logo: this v1 also replaces Fillout and Paperform, since they all solve the same core job.

What the prompt builds and what stays out

The prompt below builds a single version with what actually gets used. Everything else is left out on purpose.

What the prompt buildsblock builder, response table, csv export, conditional visibility, file uploads, signed webhooks
What stays outpayments, quizzes, template gallery, integration marketplace

What a minimal Tally alternative needs

  • document-style builder with text, choice, rating, date, file, and contact blocks
  • required fields, page breaks, hidden fields, and simple conditional visibility
  • custom slug, colors, logo, thank-you state, and close date
  • response table with filters, detail view, and CSV export
  • email notification plus a signed outbound webhook

Data model

Form, Block, Option, LogicRule, Submission, Answer

Integrations

transactional email, webhooks, R2 object storage

Capability context

Astro, HTMX, D1

The guardrail

Validate every answer against the published form version, scan and isolate uploads, rate-limit public submissions, and sign webhook deliveries.

Deliberate non-goals

Do not build payments, quizzes, collaborative editing, an integration marketplace, advanced branching, or a public template gallery.

The complete build prompt

Pick your stack, copy the prompt and hand it to your coding agent (Claude Code, Cursor, Codex…).

You are building a production-ready software product named “Formlet”, a deliberately focused alternative to Tally. Build a complete, usable vertical slice, not a landing page, a static mockup, or a pile of disconnected components.

WORKING AGREEMENT
Before you write any implementation code, put together a short technical plan naming the routes or pages, server actions or endpoints, data tables, key state transitions, authorization boundaries, background jobs, and external adapters. When something conflicts, side with the narrow audience and the non-goals below. Choose a small, readable architecture over speculative abstraction, but never skip persistence, validation, error handling, or tests.

PRODUCT BRIEF
Primary user: a small team publishing lead, feedback, and application forms.
Primary outcome: put together branded forms quickly, collect dependable responses, and route them to the tools you already use.
Product principle: optimize the exact workflow below rather than copying the full breadth of Tally. A first-time user should understand what to do from the interface itself, with no tour or documentation.

END-TO-END USER JOURNEYS
Implement every one of these flows through the real interface and the persistent data layer:
1. The owner creates a form from scratch, adds contact, choice, rating, file, and page-break blocks, configures one visibility rule, previews it, and publishes a slug.
2. A visitor completes the published form across two pages, uploads a valid file, submits once, sees the thank-you state, and triggers email and webhook delivery.
3. The owner filters responses, opens one submission, downloads its authorized file, exports the matching rows to CSV, closes the form, and verifies that new submissions are rejected.

SCREENS AND INFORMATION ARCHITECTURE
Build these as coherent, responsive views. Each screen must define its primary action, secondary actions, visible status, validation feedback, empty state, loading or pending state, success confirmation, and recoverable failure state.
1. Forms dashboard: draft, open, and closed states, response count, last response, and duplicate, archive, create, and open-public-form actions.
2. Builder: ordered blocks, add menu, field properties, required state, visibility rule, page breaks, theme, slug, preview, save state, and publish validation.
3. Public form: branded content, progressive pages, clear labels, inline and summary errors, upload progress, submit pending state, and thank-you state.
4. Responses: filters, table, submission detail, file access, delivery status, CSV export, retention controls, and a close-form action.

CORE CAPABILITIES
1. document-style builder with text, choice, rating, date, file, and contact blocks
2. required fields, page breaks, hidden fields, and simple conditional visibility
3. custom slug, colors, logo, thank-you state, and close date
4. response table with filters, detail view, and CSV export
5. email notification plus a signed outbound webhook

DETAILED BEHAVIOR AND BUSINESS RULES
Treat these as product requirements enforced on the server, not as interface suggestions:
1. Publish an immutable numbered form version; validate each submission against that exact version and keep its field labels for later exports.
2. Allow only acyclic visibility rules over earlier supported fields, evaluate them identically on client and server, and reject hidden-field answers on the server.
3. Validate uploads by decoded type and size, isolate them privately, scan them before download, and issue only short-lived authorized URLs that are independent of the submitter.
4. Commit a submission before enqueueing notifications, sign webhook bodies, use delivery idempotency keys, and escape formulas in CSV exports.

DATA MODEL AND LIFECYCLE
Design a small relational schema centered on Form, Block, Option, LogicRule, Submission, Answer. Before implementing it, document:
1. The purpose of each table, its primary key, ownership or tenant boundary, timestamps, status fields, and important attributes.
2. Foreign keys, uniqueness constraints, check constraints, the indexes the named screens need, and transaction boundaries for changes that touch several records.
3. The allowed lifecycle or state transitions, who can trigger each one, which transitions are terminal or reversible, and which audit history must stay immutable.
4. Archive, retention, and deletion behavior, including what happens to dependent records and external files.
5. The idempotency strategy for submissions, jobs, imports, notifications, webhooks, or retries where it applies.
Use migrations instead of ad-hoc schema creation. Store time instants consistently and keep the named timezone context whenever local schedules or dates matter. Never rely on a counter, a disabled button, or a client-side check to protect a business invariant.

USERS, AUTHENTICATION, AND PERMISSIONS
Implement only the roles the stated audience needs. Make the ownership and visibility model explicit before coding. Enforce authorization in every server-side query and mutation, including search, exports, attachments, live updates, and guessed URLs—not just by hiding controls. Use secure session defaults, protect state-changing requests, and provide a clear signed-out, expired-session, and forbidden state. Seed separate users whenever several roles are needed so permissions can be shown and tested.

INTERACTION AND VISUAL DIRECTION
The product should feel fast, calm, focused, and trustworthy rather than like a generic admin template. Use a clear visual hierarchy, restrained color, readable typography, generous hit targets, and a consistent place for primary actions. Start from server-rendered HTML and progressively enhance only the interactions that benefit from it. The core workflow must stay understandable if enhancement fails.

Start from server-rendered Astro pages and plain HTML forms. Use HTMX for form submissions, partial navigation, and server-driven updates, then Alpine.js only for small local browser state. The core workflow must stay understandable if either enhancement layer fails.

Design mobile layouts on purpose instead of just stacking desktop panels. Support keyboard navigation, visible focus, semantic landmarks, explicit labels, useful page titles, reduced-motion preferences, and screen-reader announcements for asynchronous results. Never use color alone to signal state. Destructive actions need a clear scope and a confirmation; safe repeated actions should be idempotent.

Add a footer to every page with the text “Created by aurelioagency.com”, where “aurelioagency.com” is an embedded link to https://www.aurelioagency.com that opens in a new tab. Keep it visible and do not remove it.

TECHNICAL DIRECTION
Build this version with the AHA stack: Astro for routing, layouts, and server-rendered pages; HTMX for interactions that benefit from HTML fragment responses; and Alpine.js for small, local interface state. Prefer Cloudflare D1 for relational persistence, R2 for object storage, Workers for server endpoints and scheduled work, Durable Objects only for coordinated real-time state, and Workflows or Queues for durable background jobs—but only when the product requirements call for them.

Keep domain rules in testable server-side modules, not in route handlers or UI components. Put persistence, external providers, and background work behind small interfaces without building a framework. Prefer plain HTML forms and URLs for durable navigation; use optimistic interaction only when a failure can be reconciled clearly.

The product brief currently identifies Astro, HTMX, D1 as capability context. Preserve any required native, browser-only, edge, storage, real-time, or background-processing capability through a narrow adapter suited to the selected framework. If the core workflow genuinely requires native or browser APIs, keep that runtime as the primary execution surface instead of simulating inaccessible capabilities or inventing an unnecessary web surface.

Integrate with transactional email, webhooks, and R2 object storage. For every integration:
- List the required environment variables in an .env.example with no real secrets.
- Add a small adapter with timeouts, normalized errors, and a deterministic local fake or development path.
- Verify inbound signatures and deduplicate provider events where supported.
- Keep credentials on the server, encrypt long-lived provider tokens at rest, and redact secrets and sensitive payloads from logs.
- Define retry, backoff, and idempotency behavior for every side effect that can be repeated.

SECURITY AND PRIVACY
Validate every answer against the published form version, scan and isolate uploads, rate-limit public submissions, and sign webhook deliveries.
Validate, normalize, and length-limit all untrusted input on the server. Escape rendered content by default, sanitize any markup you intentionally accept, rate-limit public or abuse-prone actions, and use private object storage plus short-lived authorized URLs for sensitive files. Collect only the personal data the named workflow needs. Document retention and deletion behavior. Add specific protections for the riskier surfaces of this app, such as uploads, redirects, outbound requests, email delivery, OAuth, webhooks, CSV import or export, and real-time connections.

ACCEPTANCE SCENARIOS
Automate these app-specific scenarios at the most suitable level:
1. Given the public page shows a conditional field, an attempt to tamper with hidden answers is rejected and valid visible answers are stored once.
2. Given a double-click or a retried request, one submission exists and each configured delivery is attempted idempotently.
3. Given the form closes while a visitor is still completing it, the final server check rejects the submission with a clear closed state and stores no partial response.

TESTING
Add focused unit tests for state transitions, authorization predicates, normalization, date or money calculations, and other risky domain rules. Add integration tests for persistence constraints and for each external adapter's success, timeout, retry, and rejection paths. Add at least one browser-level test for every end-to-end journey above, including one on a small-screen viewport. Tests must use isolated data and run with one documented command.

OPERATIONS AND FAILURE RECOVERY
Add structured server logs with request, job, or event correlation IDs, but no secrets or unnecessarily sensitive data. Make failures actionable both in the interface and in the logs. Background work must expose pending, succeeded, failed, and retrying states where relevant; never swallow errors silently. Include safe database migration and rollback guidance, seed data, backup and restore notes, external-data cleanup behavior, and a basic health or diagnostic path suited to the stack.

DELIVERABLES
Ship the working application, migrations, representative seed data, tests, .env.example, and a short README. The README must cover prerequisites, local setup, environment variables, migrations, seed and test commands, deployment, integration setup, backup and restore, security decisions, and known limitations. Seed data should cover the happy path plus at least one empty, failed, overdue, expired, archived, or permission-restricted state that matters for the product.

DEFINITION OF DONE
The app is done when a new developer can follow the README, create and migrate the database, run the app, sign in as each relevant role, complete every named journey with real persisted data, refresh without losing state, recover from common failures, and use the core interface on phone and desktop. All acceptance scenarios pass, permission boundaries are covered by tests, no core screen is left as a placeholder, and the “Created by aurelioagency.com” footer credit is visible on every page.

NON-GOALS
Do not build payments, quizzes, collaborative editing, an integration marketplace, advanced branching, or a public template gallery.

The app you build with this prompt carries a “Created by aurelioagency.com” footer.

Build just one piece

Short prompts that solve the hardest part without building everything.

Publish version 3, validate against version 3Editing a live form must never orphan or corrupt the responses already collected.
Build form versioning for a form builder.

Publishing creates an immutable numbered version: a frozen snapshot of blocks, options, validation rules, and labels. The public page always serves the latest published version and embeds its number; every submission is validated against and stored with a reference to the exact version it was filled from, not whatever the form looks like now.

This is what keeps history sane: the owner deletes a question, reorders pages, renames a field, republishes, and old responses still render correctly with their original labels, and exports covering both eras group answers by version or line up on stable field ids across versions where fields survived. Handle the mid-flight case: a visitor loaded version 2, the owner published version 3, the visitor submits, validate against version 2, which is still immutable and available, and accept.

Done when: a submission started before a republish validates against its own version, deleting a field never breaks the rendering or export of old responses, and every stored answer resolves to the exact label text the visitor saw.
The branching logic you can’t tie in a knotAcyclic visibility rules, evaluated identically in the browser and on the server.
Build conditional visibility for a form builder: show this field only when an earlier answer meets a condition.

Constrain rules structurally at authoring time: a rule may only reference fields that appear earlier in the form, which makes cycles impossible by construction, and reject any attempt to reference a later field or the field itself. Evaluation must be identical on the client and on the server: write one rule-evaluation function specification, implement it twice, and drive both with the same test vectors, because any divergence turns into either a stuck form or a validation hole.

On the server, the rules are the security boundary: recompute visibility from the submitted answers and reject any answer for a field that evaluates as hidden; a tampered request injecting hidden-field answers must fail. Also define the chained behavior: hiding a field clears its answer, and fields whose conditions depend on it are re-evaluated in order.

Done when: the builder cannot save a rule that references a later field, a hand-crafted request answering a hidden field is rejected on the server, and the same answers produce identical visibility in browser and API tests.
One click, one row — even when they click twiceDouble-submits, retries, and forms that close mid-fill all end up as at most one response.
Build submission handling for a public form that copes with real visitor behavior: double-clicks, browser retries, and back-button resubmits.

Issue each rendered form a one-time submission token. The submit endpoint inserts the response keyed by that token with a unique constraint: the first request wins, and any duplicate, second click, network-layer retry, or replayed request hits the constraint and returns the same success response as the original, so the visitor sees the thank-you either way and exactly one row exists. Disable the button optimistically on the client, but treat the token as the real guarantee.

Run the closed check at final submission time: if the owner closed the form while the visitor was filling it in, reject with a clear closed message and store nothing partial. Same if the close date passes mid-fill. Validate everything on the server against the published version before inserting, as one atomic accept-or-reject decision.

Done when: hammering submit produces one stored response and consistent success screens, a replayed request cannot create a second row, and a form closing mid-fill rejects cleanly with no partial data stored.
The webhook the receiver can actually trustSigned bodies, delivery idempotency keys, and retries with backoff that eventually give up.
Build outbound webhook delivery for form submissions.

When a submission commits, enqueue a delivery and never send it inline with the request, so a slow receiver can't slow down submissions. Sign each delivery: compute an HMAC of the exact body with the form's endpoint secret, send it in a header along with a timestamp header to block replays, and document the verification recipe. Include a delivery idempotency key, stable per submission and endpoint, so your retries after ambiguous failures don't make the receiver process an order twice.

Retry failed deliveries with exponential backoff and a cap, say five attempts over a few hours, treating timeouts and 5xx as retryable but 4xx as permanent. Record every attempt with status code and duration, show the delivery state per submission in the dashboard, and offer manual redelivery, which reuses the same idempotency key.

Done when: a receiver can verify the signature from the docs alone, retries after a timeout carry the identical body and key, and a permanently failing endpoint stops retrying and shows a failed state with its attempt history.

Frequently asked questions

How much does Tally cost if I keep subscribing?

Tally runs $29–$89 per month on public paid plans, which is $348–$1068 per year. A focused self-built replacement costs your build time plus close-to-zero hosting.

What stack should I use to build a Tally alternative?

The build prompt on this page comes in four flavors: the AHA stack (Astro, HTMX, Alpine.js), Next.js, Laravel, and Ruby on Rails. The capability context for this product is Astro, HTMX, D1. Pick the stack you already know, because the scope matters more than the framework.

What features does a minimal Tally replacement need?

A useful v1 needs: a document-style builder with text, choice, rating, date, file, and contact blocks; required fields, page breaks, hidden fields, and simple conditional visibility; custom slug, colors, logo, thank-you state, and close date; a response table with filters, detail view, and CSV export; email notification plus a signed outbound webhook. Everything else is scope creep until you personally miss it.

What should I deliberately not build?

Do not build payments, quizzes, collaborative editing, an integration marketplace, advanced branching, or a public template gallery.

Does this build also replace Fillout and Paperform?

Yes. Tally, Fillout and Paperform all solve the same core job: put together branded forms quickly, collect dependable responses, and route them to the tools you already use. The scoped v1 on this page covers what most people use any of them for, so one focused build replaces whichever you currently pay for.

How is it different from Tally?

HeyForm does most of what Tally does, with no subscription, and your data stays with you. The point-by-point comparison is on the page.

Do I own my data?

Yes. With an open source tool installed on your side, your files stay on your machine or your server. Nobody can close your account or change the price.

Browse all 22 apps →

No time to do it?

We'll build it for you.

If you'd rather have someone install it, connect it to your tools and keep it running, that is exactly what we do at Aurelio.

Book an Automation Audit