A Target in-store stock monitor for both digital and disc PS5 consoles that sends in stock alerts to SMS and/or Discord webhook.
- NodeJS
- Twilio or Discord webhook
This project utilizes Twilio to send SMS alerts, and you will need to set up an account to use this feature. Once you obtain your accountsSID
, authToken
, twilioPhoneNumber
, and the phone numbers you want to send SMS alerts to, you can continue with the steps below:
- Navigate to the
config.js
file. - Fill in the
accountsSID
,authToken
, andtwilioPhoneNumber
variables. These values are found in Twilio. - Enter recipient phone numbers in the
recipientPhoneNumber
variable.
- Navigate to the
config.js
file. - Enter your webhook in the
discordWebhook
variable.
You will need to chose which Target stores you want to monitor and in order to do this, you will need to know the store ID of the Target stores in which you can do so with the steps below:
- Navigate to https://www.target.com/store-locator/find-stores.
- Find and select your store.
- Your store ID will be the numbers at the end of the URL (should be 3-4 characters).
- Navigate back into the
config.js
file and insert the store IDs into thestoreID
variable.
In order to keep this monitor running safe and smooth, you will need to add proxies. Follow the steps below to configure proxies:
- Create a file named
proxylist.txt
in the main folder. - Enter your proxies and separate them by a new line.
To start the monitor, open a terminal and run these commands:
- Set directory to program directory:
cd "C:/Path/To/program/Folder"
- Install the dependencies (you only have to do this once):
npm install
- Run with the following command:
npm start
This project is licensed under the MIT License - see the LICENSE file for details.