Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chitoku-k/form-to-slack
Form submission to Slack messages.
https://github.com/chitoku-k/form-to-slack
golang recaptcha-v3 slack
Last synced: 13 days ago
JSON representation
Form submission to Slack messages.
- Host: GitHub
- URL: https://github.com/chitoku-k/form-to-slack
- Owner: chitoku-k
- License: mit
- Created: 2019-02-25T09:25:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-25T18:36:40.000Z (about 2 months ago)
- Last Synced: 2024-10-30T00:51:49.672Z (about 2 months ago)
- Topics: golang, recaptcha-v3, slack
- Language: Go
- Homepage:
- Size: 217 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
form-to-slack
=============[![][workflow-badge]][workflow-link]
Sends form submission to Slack.
## Requirements
- Go
- Secret key for a reCAPTCHA-compatible service
- Slack Webhook URL## Installation
```sh
$ docker buildx build .
``````sh
# Port number (required)
export PORT=8080# TLS certificate and private key (optional; if not specified, form-to-slack is served over HTTP)
export TLS_CERT=/path/to/tls/cert
export TLS_KEY=/path/to/tls/key# reCAPTCHA verify endpoint (optional; if not specified, it defaults to reCAPTCHA)
export RECAPTCHA_URL=https://www.google.com/recaptcha/api/siteverify# reCAPTCHA secret key (required)
export RECAPTCHA_SECRET=# Slack Webhook URL (required)
export SLACK_WEBHOOK_URL=# Access-Control-Allow-Origin (optional; space-separated)
export ALLOWED_ORIGINS=
```## Usage
```html
```
[workflow-link]: https://github.com/chitoku-k/form-to-slack/actions?query=branch:master
[workflow-badge]: https://img.shields.io/github/actions/workflow/status/chitoku-k/form-to-slack/ci.yml?branch=master&style=flat-square