GitXplorerGitXplorer
o

domainspy

public
5 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
440d7137acc6084c66798b20ff5f250331163860

Add note about other tools in README

oopenjck committed 4 years ago
Verified
ab4301c91bf4059c35ee7881b75543333b360a6e

Add contact address, offer to port to AWS

oopenjck committed 4 years ago
Verified
90b8cf943dfc9e118d2188bccb750fdf3942f257

Add note about maintenance status

oopenjck committed 4 years ago
Verified
3e40f0223fc9eee253b15a9e4d4316fb73d56f0a

Merge pull request #92 from openjck/dependabot/npm_and_yarn/lodash-4.17.20

oopenjck committed 4 years ago
Verified
25e82c0374c01033e86ee8f64221bba87b23fa3b

Bump lodash from 4.17.15 to 4.17.20

ddependabot[bot] committed 4 years ago
Verified
32ae6854f86161acd7188cdcca3dcf189a5e4952

Remove Renovate configuration

oopenjck committed 5 years ago

README

The README file for this repository.

Status

This project is currently unmaintained. The cloud function provider which it relied upon, Webtask, is no longer accepting new users.

There are also better tools for monitoring reserved domains, including ones from GoDaddy and Domain Hole. If you are worried about either of those services snooping on your watchlists and grabbing domains before you do, it wouldn't be hard to rewrite this script to run on something more reliable like AWS. Note that AWS even has an API for checking domain availability.

Previous instructions

domainspy monitors domains that you care about and emails you if any of them become available.

domainspy is not a hosted application. You must run it yourself by configuring Namecheap, Webtask, and SendGrid according to the instructions below.

domainspy does not automatically purchase domains when they become available because the Namecheap API prohibits drop catching.

Set up

Namecheap

  1. Sign up for a free Namecheap account if you do not have one already
  2. Follow the instructions in the Namecheap API documentation to enable the Namecheap API
    • Your account must meet these criteria to be eligible. The easiest way to qualify is by adding $50 to your account balance.
    • If Namecheap doesn't respond to your request for API access within a couple of days, contact support. They can speed things up.
    • You don't need to request sandbox API access unless you plan to modify or test this script
    • Make note of your username and API key
  3. Whitelist the Webtask IP addresses in the API settings

SendGrid

  1. Sign up for a free SendGrid account if you do not have one already
  2. Create a SendGrid API key for domainspy and make note of its value

Webtask

  1. Sign up for a free Webtask account if you do not have one already
  2. Install the Webtask CLI

Installation

  1. Clone this repository
  2. Copy .secrets.dist to .secrets and provide values for all keys
    • DOMAINS is a comma-separated list of domains that you want to monitor
    • EMAIL_RECIPIENT is the email address that should receive alerts
    • All other values should have been noted in the steps above
  3. Run this command while in the working directory: wt create --name domainspy --secrets-file .secrets index.js

Usage

After setup is complete, domainspy will check your domains once per day and email you if any become available. To check more often, run wt edit domainspy and set a more frequent schedule in the task's settings. Be sure not to exceed Namecheap's API limits.

The emails that domainspy sends may be considered spam. If this happens, create a filter in your email client which specifies that these messages should never be sent to spam.

Adding domains

To add a domain, run wt edit domainspy. Access the secrets from the settings menu and add your new domain to the comma-separated DOMAINS list.

Test

Run npm test