This is designed for ComSSA events, though anyone is welcome to use/mofidy this.
The word template is based on the Avery_L7162GU
template, which is a 16 sticker per page template.
- Clone the repo
- Modify the
ComSSATemplate.docx
file to your liking - Setup your credentials in the
.env
file, seeenv setup
below - Edit the
thqhandler.js
file to your liking, notably with the group id - Run
node thqhandler.js
to fetch the contacts from TidyHQ - Run
node index.js
to generate the stickers
Create a .env
file in the root of the project with the following contents:
CLIENT_ID=<your 64 character app id>
CLIENT_SECRET=<your 64 character app secret>
REDIRECT_URI=<your callback url from the app>
EMAIL=<your email from TidyHQ>
PASSWORD=<your account password from TidyHQ>
CLUB=<your domain prefix from TidyHQ>
For the CLIENT_ID, CLIENT_SECRET and REDIRECT_URI, you will need to create an app in TidyHQ, see here. Read here for more info.