Nebula Forms is a form-handling server for static sites, as part of the BluestNight family of products. Written in Google’s Go programming language, Nebula Forms is built for speed and flexibility.
Nebula is currently in beta and is only available for self-hosting as an executable or a Docker container.
As a native executable - that is, something not run in an interpreter that adds overhead - Nebula is snappy by design without using too much CPU time or system memory. Plus, by leveraging Go’s built-in concurrency features, Nebula is able to handle many form submissions at once without any visible slowdown.
Nebula Forms utilize Go’s excellent templating system to generate customizable form handlers. These templates enable site owners to:
- Validate form contents and send custom errors to the submitter
- Use form fields to populate custom messages
- Customize message recipients based on form values
Form handlers can also be configured to not handle a submission based on the contents of the submission. For example, a confirmation email will only be sent to the client if they entered one into the form.
Nebula Forms implement Cross-Origin Resource Sharing, a mechanism that
allows connections only from allowed sites. That means an instance of Nebula
will only allow visitors from
example.com to submit a form if Nebula has been
configured to allow submissions from that site. This helps ensure that only the
sites you allow can submit to that form.
Nebula also allows the use of honeypots, hidden fields in a form that humans won’t notice and spam bots will fill out, not knowing it’s hidden. If a honeypot field contains a value when the form is submitted, the submission is discarded while a success is returned to the submitter - fooling spam bots into thinking they did their job correctly.