Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonas-be/secret-santa
Secret-Santa is an application specifically designed to simplify the process of organizing gift exchanges. With this app, users can easily organize a gift exchange without the need for manually drawing names from a hat or pieces of paper.
https://github.com/jonas-be/secret-santa
email gift-exchange go golang secret-santa
Last synced: 12 days ago
JSON representation
Secret-Santa is an application specifically designed to simplify the process of organizing gift exchanges. With this app, users can easily organize a gift exchange without the need for manually drawing names from a hat or pieces of paper.
- Host: GitHub
- URL: https://github.com/jonas-be/secret-santa
- Owner: jonas-be
- License: mit
- Created: 2023-03-03T09:54:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-02T22:25:25.000Z (about 1 year ago)
- Last Synced: 2024-11-07T18:15:08.959Z (2 months ago)
- Topics: email, gift-exchange, go, golang, secret-santa
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Secret-Santa
Secret-Santa is an application specifically designed to simplify the process of organizing gift exchanges.
With this app, users can easily organize a gift exchange without the need for manually drawing names from a hat or pieces of paper.## Features
- [X] Rule sets
- [X] Send per Email## Installation
You only need to download the binary for your OS, from the latest release.
After extracting the ``zip`` or ``tar`` archive, you can use the binary.## Get started
1. Setup Configuration file
2. Setup Env variables
3. Run application### Configuration
`config.yaml`
```yaml
users: # Register Users
- name: Clara
email: [email protected]
- name: Tom
email: [email protected]
- name: Jonas
email: [email protected]
- name: Max
email: [email protected]
- name: Lena
email: [email protected]
- name: Leo
email: [email protected]
- name: Jan
email: [email protected]forbiddenCombinations: # Write down forbidden combinations
- combination:
- Max # Max can never get Lena
- Lena # Lena can never get Max
- combination:
- Jonas
- Jan
- combination:
- Clara # Clara can never get Leo or Tom
- Leo
- TomsummaryEmail: [email protected]
emailConfig:
subject: SecretSanta 2023
content: Hi %v, your gift goes to %v # The first %v is the mail receiver name and the second %v is the name where the gift goes to
```### Flags
| Flag | Description |
|------- | -------------------- |
| `y` | Sends emails directly |### Env variables
Configure email credentails.
Set as environment variables, or write in a `.env` file```env
[email protected]
MAIL_PW=123
MAIL_SMTP_SERVER=smtp.domain.example
MAIL_SMTP_SERVER_PORT=587
```