Create a random Secret Santa and generate One Time Secrets for the participants
- Create a One Time Secret account and obtain the API key from the Account page
$ ONE_TIME_SECRET_USERNAME=Your_OTS_username ONE_TIME_SECRET_API_KEY=Your_OTS_api_key ./secretsanta.rb Joe Jane Bob Anna Philip
The output will look like this:
Secret for Joe: https://onetimesecret.com/secret/pz5hm93y8nc34i4scyy24asdfasdfm3h
Secret for Jane: https://onetimesecret.com/secret/laskjdlk3jd098dn3fasp239n3fnqw2
Secret for Bob: https://onetimesecret.com/secret/hhs9s923j30jdi2j094jf923p2u0j3fa
Secret for Anna: https://onetimesecret.com/secret/jankpajha99j2pe11j1jhj1lkdhd83f
Secret for Philip: https://onetimesecret.com/secret/aj2la92jhf9a2ap0saijd972323fa
Send that each link to each friend over your favorite medium
- Fork this repo
- Create your feature branch
- Commit your changes
- Push to the branch
- Create new Pull Request
WTFPL. See LICENSE