/fohago

Form handler written in Go

Primary LanguageGo

⚠️ Work in Progress ⚠️

Form handler written in Go.

Features

  • Global configuration
  • Receive form submissions
  • Email form submissions
  • Email templating
  • Handle multiple forms
  • Global keyword blocklist for message field
  • Form configuration
    • Designate fields, e.g. "name", "email", "message"
    • Additional keyword blocklist
  • Honeypot field
  • Cloudflare Turnstile validation
  • Akismet validation
  • Submission logging
    • Multiple levels, such as "spam", "email failed", "success", "all"
  • Mailgun integration

Development features

  • End-to-end submission testing (send POST request to fohago, receive and verify email)
  • Unit tests

Inspired by: