Simple contact form to RSVP to a wedding. Written in Rust and powered by Rocket.rs.
Dennis Potter
46afdcbc05
Added a short description, a list of features, a short description of the installation, and information about the license. |
||
---|---|---|
src | ||
templates | ||
.gitignore | ||
Cargo.toml | ||
config.hjson.example | ||
LICENSE | ||
README.md | ||
Rocket.toml |
wedding-rsvp-rs
This Rust and Rocket.rs based, fully responsive website is a simple contact form to RSVP to a wedding. It was meant to be simple to use, since a lot of non-tech-savvy people will usually attend a wedding as well ;-). Therefore, it is completely email based and does not include any CAPTCHA.
Features
- KISS: Not too many features and fields, no databases, no CAPTCHA.
- Completely email based: The guest will receive a confirmation with additional information on top of the invite he got. Attached to this email, an ICS file enables the user to directly add the wedding into his calendar.
- Configurable, multi-language strings: All language strings can be defined in
config.hjson
. Since this website assumes that a different FQDN is used for every language, the mapping between TLDs and languages must be configured inconfig.hjson
as well. - IP based spam protection: As mentioned before, this website does not include CAPTCHA to ease usability. There is, however, a small protection so that one IP can only send an email every X seconds. Here, X can be configured in
config.hjson
.
Installation
git clone https://git.dennispotter.eu/Dennis/wedding-rsvp-rs.git
cd wedding-rsvp-rs
cp config.hjson.example config.hjson
- Add your SMTP credentials to
config.hjson
adapt the language strings to your liking cargo run
License
wedding-rsvp-rs
is released under the MIT license. The HTML template is derived from Contact Form v1, which is released under the CC BY 3.0 license.