Skip to content
brandurPublic

About

A very simple app that checks to see if something under one of your domains has been submitted to HN, and emails you if it has.

Resources

Stars

9 stars

Watchers

1 watching

Forks

Repository files navigation

hncheck Build Status

A very simple app that checks HN's /newest page to see if something under one of your domains has been submitted, and emails you if it has.

Setup

You'll need some SMTP credentials for the app to be able to send you email. I recommend getting a free account over at Mailgun (note this will have to be activated and you'll have to add yourself as an authorized recipient).

cp .env.sample .env
# edit .env

go install
forego start hncheck

By default, EMAIL_MODE is smtp and RECIPIENT, SMTP_LOGIN, SMTP_PASSWORD, SMTP_PORT, and SMTP_SERVER are required. Set EMAIL_MODE=log to run without email configuration and print a line when an email would've been sent.

By default, hncheck runs once and exits. Set LOOP=true to keep checking continuously.

Tests

Run the test suite:

go test

About

A very simple app that checks to see if something under one of your domains has been submitted to HN, and emails you if it has.

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages