npm install -g pm2
- Clone repo
git clone git@github.com:robiXxu/domain-hunter.git
- Navigate to domain-hunter directory
cd domain-hunter
- Install dependencies
npm install
- Build
npm run build
- Run
pm2 start dist/app.js
- Monitoring
pm2 monit
- Duplicate .env-sample and rename the copy to .env
- Open .env and fill with your details:
// Account used to send the mail.
// I don't recommend using your personal email account.
// You can create a new google account
DOMAIN_HUNTER_EMAIL_USER="<youremail@example.com>"
DOMAIN_HUNTER_EMAIL_PASS="<examplePassword>"
// Target email - where you want to send the email.
// You can use as a target email your personal email address
// I recommend you to add a +suffix (so you can group emails) | e.g. schiriac.robert+notice_domain_hunter@gmail.com
DOMAIN_HUNTER_EMAIL_TO="<targetemail@example.com>"
git clone git@github.com:robiXxu/domain-hunter.git
- Navigate to domain-hunter directory
cd domain-hunter
- Install dependencies
npm install
- Run in dev
npm run dev
- whois - on most unix systems should be installed ( you can check by running whois in a terminal ) for Windows follow these instructions.
In package.json:
- Ability to choose between push notification or email based notification ( maybe run on a Raspberry PI )
- replace whois-json with a native implementation of whois in unix systems to avoid calls. (Will not work on Win)