Skip to content

ludwigdn/secret-santa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions Status

Secret Santa

Easy Mode / Mode facile

Advanced Mode / Mode avancé

.NET Core 6 required.

Config file (json) :

  • Update the "locale" with either 'en' or 'fr'.
  • The field 'MailSubject' can be left as they are, but you can put whatever you want.
  • The field "GiftIdeas" (into "Participants") is not mandatory. You can add it if the person has provided a list of gift ideas.
  • Other fields must bu updated according to your configuration.
{
  "locale": "en",
  "MailSubject": "Secret Santa",
  "SmtpEmail": "[email protected]",
  "SmtpPassword": "ABCD1234",
  "SmtpHost": "smtp.XXXX.XXX",
  "SmtpPort": "465",
  "Participants": [
    {
      "Name": "Alice",
      "Email": "[email protected]",
      "GiftIdeas" : [
        "The album Appetite for Destruction from Guns n' Roses",
        "A new pillow"
      ]
    },
    {
      "Name": "Bob",
      "Email": "[email protected]",
      "GiftIdeas" : []
    },
    {
      "Name": "Foobar",
      "Email": "[email protected]"
    }
  ]
}

Then:

dotnet run -- -c c://path/to/secret_santa_config.json

About

Organize a Secret Santa more easily

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages