https://github.com/bschwind/secret-santa
https://github.com/bschwind/secret-santa
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bschwind/secret-santa
- Owner: bschwind
- Created: 2019-08-19T14:22:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-10T13:42:09.000Z (about 4 years ago)
- Last Synced: 2025-03-20T17:51:46.915Z (about 1 year ago)
- Language: Rust
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎅 Secret Santa
## Build + Run
Edit [src/emails.json](src/emails.json) and add all the people participating.
Sign up for [SendGrid](https://sendgrid.com/) and generate an API key. Place the API key in [src/sendgrid_api_key.txt](src/sendgrid_api_key.txt)
You may want to change the sender email in [src/main.rs](src/main.rs) to be something other than `sender@example.com`
When everything is set, you can send out the emails with:
```
cargo run
```
assuming you have [Rust](https://rustup.rs/) installed.
You can also set a seed on the random number generator so you can resend them later. _Technically_ you can use the seed to see who everyone got, but that's no fun.