Skip to content

pattynextdoor/nook-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nook Number

Sometimes I spend a little bit more each month than I'm supposed to.

This function texts me every day with the balance on my main credit card. That's it.

Design

The code & its dependencies live in AWS Lambda, and is scheduled through Amazon Eventbridge.

I use the Plaid API to get my account information. It's free since I linked <5 accounts, and Nook Number is only for personal use. Twilio's free tier (Programmable SMS) is used for sending the text message.

Forking

Interested in using this yourself?

API Services

Create an account with Plaid and navigate to your Development Dashboard to fill in some of the environment variables listed below.

Create an account with Twilio and create a free Programmable SMS number.

Environment Variables

My personal information and data are set in environment variables in AWS Lambda.

Variable Description
PLAID_CLIENT_ID Available through Plaid Development Dashboard.
PLAID_SECRET Available through Plaid Development Dashboard.
PLAID_PUBLIC_KEY Available through Plaid Development Dashboard.
PLAID_ACCESS_TOKEN Clone the Plaid Quickstart Node project. Run the server with your own variable values and environment as development instead of sandbox. Then enter the information for the account you wish to track and copy the access token. This token does not expire but you can also regenerate it.
TWILIO_ACCOUNT_SID Available through your Twilio console.
TWILIO_AUTH_TOKEN Available through your Twilio console.
FROM_NUMBER The phone number you generated in Twilio.
TO_NUMBER Your personal phone number.

About

🦝 Forcing myself to check my credit card balance every day

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages