Debian Codegraph @

debian/control

raw
1 Source: hugo-mx-gateway
2 Maintainer: Debian Go Packaging Team <[email protected]>
3 Uploaders: Dominik George <[email protected]>
4 Section: golang
5 Testsuite: autopkgtest-pkg-go
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13),
8 dh-golang,
9 golang-any,
10 golang-github-dpapathanasiou-go-recaptcha-dev,
11 golang-github-spf13-viper-dev
12 Standards-Version: 4.6.0
13 Vcs-Browser: https://salsa.debian.org/go-team/packages/hugo-mx-gateway
14 Vcs-Git: https://salsa.debian.org/go-team/packages/hugo-mx-gateway.git
15 Homepage: https://github.com/rchakode/hugo-mx-gateway
16 Rules-Requires-Root: no
17 XS-Go-Import-Path: github.com/rchakode/hugo-mx-gateway
18
19 Package: hugo-mx-gateway
20 Architecture: any
21 Depends: ${misc:Depends},
22 ${shlibs:Depends}
23 Built-Using: ${misc:Built-Using}
24 Description: Contact/demo forms handler for static websites (program)
25 hugo-mx-gateway provides a RESTful POST endpoint for static
26 contact/demo request pages. It's a simple, yet a powerful tool built for
27 this only-designated purpose, e.g. for use with static sites built
28 using Hugo.
29 .
30 hugo-mx-gateway is built upon a simple request handling workflow:
31 .
32 * Create an HTML form with a POST action pointing towards the hugo-mx-
33 gateway service.
34 * For each user request, hugo-mx-gateway automatically retrieves
35 information submitted by the user (email, subject, message details...),
36 then generates and sends a templated email (based on Go Template to the
37 user-provided email address, while bcc'ing a copy of that email to an
38 address that you can define for internal tracking and follow up.
39 * Once a request is processed (upon success or failure), hugo-mx-gateway
40 handles the reply back towards the calling static page by redirecting
41 the browser to the origin page with additional URL parameters
42 describing the completion status of the processing (e.g.
43 /contact.html?status=success&message=request%20submitted). The
44 parameters can then be easily retrieved and shown to the user, e.g.
45 with a few lines of Javascript within the static page.