npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ally_balance

v1.0.4

Published

Get an alert with your ally bank balance

Downloads

7

Readme

ally_balance

Get an alert with your Ally Bank account balances. This is something that Wells Fargo provides, but is not provided by Ally Bank at this time. This script will log into Ally Bank on your behalf and fetch your account balances, then send them to you via the channel of your choosing.

Preparing the alert

This package uses IFTTT to send alerts. This script acts as a webhook trigger, so you must set up a new webhook before using this script.

First, log into (or register for an account at) ifttt.com and navigate to applets. Click "New Applet".

Step 1

Select "Webhooks" as the service.

Step 2

Give your webhook an event name. Hang onto this, because you'll need it later.

Step 3

From there, you'll have the option to send your account balances to any number of services. I chose to receive my account balances via email.

Installation

To install this package, run:

npm install -g ally_balance

This will install a new command line script: ally_balance

The script relies on four environment variables for proper operation:

ALLY_BANK_USERNAME  The username for your Ally Bank account
ALLY_BANK_PASSWORD  The password for your Ally Bank account
IFTTT_ALLY_EVENT_NAME   The event name for the webhook you set up above
IFTTT_API_KEY   Your IFTTT API key

Once you have created these environment variables in the scope of where the script will be run (either via something like a .bash_profile or prepended to the command line invocation below), invoke the script without any parameters:

ally_balance

This will log into your bank account using chromeless, scrape your account balances, then trigger your IFTTT webhook using this information as value1. Now you can set up a cron job to deliver your account balances as often as you'd like. That's all there is to it!

Known Issues

  • Ally Bank will sometimes put a verification code interstitial after the login, which the script will not be able to handle programmatically. Simply visit allybank.com in a browser from the same IP address as the computer where your script will run, and select "Trust this computer".