add build status badge
add filter by council district to reduce usage of the maps api
verbose testing
Get email notifications when 311 requests are opened near your house
nosyneighbor is intended to be run on a server. This can just be a computer on your home network that has access to the internet. This computer does not need to be accessible from outside your network.
Note: this was built and tested on Linux, but no reason it shouldn't work on any other platform Go supports
go build
NOSY_MAPS_KEY
- the Google Maps API key (required)NOSY_MAILGUN_PUBKEY
- the public key for your Mailgun account (required)NOSY_MAILGUN_PRIVKEY
- the private key for your Mailgun account (required)NOSY_MAILGUN_DOMAIN
- the domain from which emails will be sent (must be a domain you've configured in Mailgun, required)NOSY_RECIPIENT
- the email address to send alert emails to (required)NOSY_311_URL
- the Socrata webservice that houses the 311 requests (ex https://data.baltimorecity.gov/resource/ni4d-8w7k.json) (required)NOSY_CHECK_INTERVAL
- the time interval to check for new 311 requests. Accepts the format used by time.ParseDuration. Default is "10m" if not setNOSY_HOME
- your home addressNOSY_COUNCIL_DISTRICT
- Optional. Setting this filters out any requests outside of the specified City Council District. This is used to reduce the number of requests to the Distance API$ ./nosyneighbor