Simple and self-hosted form as a service.
⚠ Deformd is currently in a very alpha stage ! Expect breaking changes...
Download the pre-compiled binaries from the releases page and copy them to the desired location.
curl -sfL https://raw.githubusercontent.com/Bornholm/deformd/master/misc/script/install.sh | bash
It will download deformd
to your current directory.
Name | Description | Default |
---|---|---|
DEFORMD_VERSION |
Deformd version to download | latest |
DEFORMD_DESTDIR |
Deformd destination directory | . |
deformd run -c config.yml
# Logger configuration
logger:
level: 2 # Logging level (0: DEBUG, 1: INFO, 2: WARN, 3: ERROR, 4: CRITICAL)
format: human # Logging format, "human" or "json"
http: # Web server configuration
host: "0.0.0.0" # Listening host
port: 3000 # Listening port
forms: # Forms configuration
<FORM_NAME>: <FORM_SECTION>
<FORM_NAME>:
fields: <FIELDS_SECTION>
handler: <HANDLER_SECTION>
fields:
- <TEXT_FIELD_SECTION> | <NUMBER_FIELD_SECTION> | <EMAIL_FIELD_SECTION> | <SUBMIT_FIELD_SECTION>
TODO
TODO
TODO
TODO
handler:
script: <HANDLER_SCRIPT_SECTION>
config: <HANDLER_CONFIG_SECTION>
TODO
config:
modules: <HANDLER_CONFIG_MODULES_SECTION>
modules:
email: <HANDLER_EMAIL_MODULE_SECTION>
params: <HANDLER_PARAMS_MODULE_SECTION>
email:
host: stmp-host.org
port: 21
username: my-username
password: my-password
insecureSkipVerify: false
useSSL: true
authType: PLAIN
tlsPolicy: 1
params:
<KEY>: <VALUE>
AGPL-3.0