Use Twilio's SMS API to organize Secret Santa!
- Clone this repo and modify the list of participants to match your Secret Santa participants
- Set your Twilio environment variables
TWILIO_TOKEN
,TWILIO_NUMBER
, andTWILIO_SID
(see https://www.twilio.com/docs/sms) - Run santa.go (
go run santa.go
if you have already set your environment variables, orTWILIO_TOKEN=??? TWILIO_NUMBER=??? TWILIO_SID=??? go run santa.go
to define the environment variables and run the program in one Go (lol))
If your Twilio credentials and phone numbers are valid, each participant in your list of participants will recieve a text greeting them and informing them of their Secret Santa recipient. For example, if Rudolph is assigned as Dasher's Secret Santa, Rudolph would recieve a text that says Hey Rudolph! You are assigned to Dasher for Secret Santa!
.