Contact-form - self-hosted for static websites

From the repo: contact-form is a self-hosted contact form backend for static websites. Accepts POST requests from your site, sends email notifications, and optionally integrates with CiviCRM for lead tracking and newsletter double opt-in. Powers the contact form on tobiaseigen.org.

Features

  • Checkbox-based intent form — visitors select what they’re interested in (newsletter, consulting, project — all configurable) rather than filling a blank email form
  • Notification email to you on every submission, formatted for easy reading and threaded replies
  • Newsletter double opt-in — confirmation email with a token link; clicking confirms the subscription. Tokens are file-backed and survive container restarts.
  • Optional CiviCRM integration — upserts contact, adds to per-intent groups, applies a tag, logs an activity on every submission
  • Works great with Discourse email-in — creates a conversation thread you can reply to directly; optionally creates a staged user for the visitor
  • Configurable intents — add, remove or rename checkbox options in one place
  • All user-facing text in one place — easy to find and edit