Skip to content

A simple USCIS Tracker that will send update over text message. Created with puppeteer and Twilio

License

Notifications You must be signed in to change notification settings

thanhl94/USCIS-Simple-SMS-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REQUIRED enviornment variable

These are the required enviornment varibles that MUST be set in "start.sh" before running!

export CHECKER_DURATION=30
export CHECKER_FREQUENCY=12
export USCIS_CASE_ID=NBCXXXXXXXXXX
export SMS_TO=+1234567890
export TWILIO_FROM_NUMBER=+4567890123
export TWILIO_ACCOUNT_SID=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export TWILIO_AUTH_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Run

Simple, just do this.

./start.sh

The program will send the request as soon as your start.

Configurations

Change CHECKER_DURATION to set your own custom run time by numbers of day.
e.g. 30 for 30 days, or 0 for indefinitely.

!!! WARNING !!!!
Too many requests MAY get you banned from the server you're requesting to. By default this program will take in hours. To make more frequent request, feel free to change run.js => start() => const msCheckFrequency

Change the code at your own risk.
!!! WARNING !!!!

Change CHECKER_FREQUENCY to set how frequent to check for updates by the hours.
e.g. 12 to check for every 12 hours.

Leave TWILIO_XXX variables empty to disable SMS sending.
Otherwise, just sign up on Twilio for free to get all the required variables.

About

A simple USCIS Tracker that will send update over text message. Created with puppeteer and Twilio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published