Package: hugo-mx-gateway
Version: 0.2.2+ds1-3ubuntu2
Architecture: amd64
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Installed-Size: 8175
Depends: libc6 (>= 2.34)
Built-Using: golang-1.21 (= 1.21.0-1), golang-fsnotify (= 1.6.0-2), golang-github-dpapathanasiou-go-recaptcha (= 0.0~git20190121.be5090b-2), golang-github-hashicorp-hcl (= 1.0.0-1.1), golang-github-magiconair-properties (= 1.8.7-1), golang-github-mitchellh-mapstructure (= 1.5.0-2), golang-github-pelletier-go-toml.v2 (= 2.0.6-1), golang-github-spf13-afero (= 1.9.3-1), golang-github-spf13-cast (= 1.5.1-1), golang-github-spf13-jwalterweatherman (= 1.1.0+really1.1.0-2), golang-github-spf13-pflag (= 1.0.6~git20210604-d5e0c0615ace-1), golang-github-spf13-viper (= 1.12.0-1), golang-github-subosito-gotenv (= 1.3.0-1), golang-golang-x-sys (= 0.8.0-1), golang-golang-x-text (= 0.9.0-1), golang-gopkg-ini.v1 (= 1.67.0-1), golang-gopkg-yaml.v3 (= 3.0.1-3)
Section: golang
Priority: optional
Homepage: https://github.com/rchakode/hugo-mx-gateway
Description: Contact/demo forms handler for static websites (program)
 hugo-mx-gateway provides a RESTful POST endpoint for static
 contact/demo request pages. It's a simple, yet a powerful tool built for
 this only-designated purpose, e.g. for use with static sites built
 using Hugo.
 .
 hugo-mx-gateway is built upon a simple request handling workflow:
 .
  * Create an HTML form with a POST action pointing towards the hugo-mx-
    gateway service.
  * For each user request, hugo-mx-gateway automatically retrieves
    information submitted by the user (email, subject, message details...),
    then generates and sends a templated email (based on Go Template to the
    user-provided email address, while bcc'ing a copy of that email to an
    address that you can define for internal tracking and follow up.
  * Once a request is processed (upon success or failure), hugo-mx-gateway
    handles the reply back towards the calling static page by redirecting
    the browser to the origin page with additional URL parameters
    describing the completion status of the processing (e.g.
    /contact.html?status=success&message=request%20submitted). The
    parameters can then be easily retrieved and shown to the user, e.g.
    with a few lines of Javascript within the static page.
Original-Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
