Author: Sam McGrath
Ward: Highland Park - Mesa, Arizona
Even though the project is named Highland Member Updater, it can be repurposed to fulfill your needs for your ward. It simply updates the CallMultiplier list according to the LDS.org. Account credentials are prompted at runtime (passwords are masked with *
) so no need to worry about exposing your passwords.
- Make sure that NodeJS is installed and make sure that it is installed through
$ node -v
v12.8.1
- Clone this repository and install the needed dependencies.
$ git clone git@github.com:csammcgrath/highland-member-updater.git
$ cd highland-member-updater
$ npm i
- Once that is finished, log into lds.org and navigate to the directory. The URL should look something like this:
https://directory.churchofjesuschrist.org/1000446
-
Please make note of that unit number (1000446 in my case) and go into
constants/lds.js
and edit theunitCode
variable to whatever your unit number is. Be sure to save the file. -
You are pretty much ready to go! To execute the program, just run:
$ npm start
- You will be prompted credentials for both CallMultiplier and lds.org. If they are incorrect, the program will just time out since I am lazy with implementing logic to detect failures. :) If this is the case, just execute Ctrl + C to cancel the program.
- Sir, I don't want to see Chromium pop up and do all of the work. Can it just do everything silently?
Yes, change thefalse
value totrue
in both/callMultiplier/retrieveMembers.js
and/lds/retrieveMembers.js
as shown below:
const browser = await puppeteer.launch({
headless: false // <-- change this to true if you dont want to see Chromium
});
Please submit a ticket in the issues found here and I will do my best to get back to you.
Pull requests are always welcome!