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

budget-sync

v0.1.2

Published

Sync account transactions with your budgeting service!

Downloads

6

Readme

budget-sync

Sync account transactions with your budgeting service!

What's this for?

I use a budgeting service called YNAB. I'm based in the UK, while YNAB is in the USA, so their built-in account synchronization doesn't support any of my bank accounts. I finally got fed up with how flaky the third-party sync service I was using was, so I built this!

This tool is a command line interface to synchronize your accounts with your budgets. It's set up to run for me every hour from this repository via a GitHub Actions workflow, and you're welcome to fork it to have the same for yourself. Or you can install the package and run it any other way you choose.

Usage

Manual

To install:

npm install --global budget-sync

To see general usage instructions:

budget-sync help

To see usage instructions for a specific command:

budget-sync <command> help

All options can be also be set via environment variables using a SCREAMING_SNAKE_CASE formatted version of the option name with a BUDGET_SYNC_ prefix. For example, the option --days-to-sync matches the environment variable named BUDGET_SYNC_DAYS_TO_SYNC.

On a schedule

  1. Fork this repository

  2. Set the GitHub respository secrets according to the .env.example file

    • You'll need to get API access tokens for the services you're using. I leave that as an exercise for the reader.

    • You'll also want to specify an account map (eg $BUDGET_SYNC_YNAB_ACCOUNT_MAP for YNAB), to tell budget-sync how your accounts match up with your budgets. We expect an account map to be stringified JSON in the following form:

      { "<budget_account_id>": "<account_provider>:<account_id>", ... }

      where <budget_account_id> is the ID of an account's internal representation in your budgeting service, <account_provider> is the name of the module to use to communicate with your account (eg monzo for Monzo), and <account_id> is the account provider's ID for your account in their API.

  3. Wait up to an hour and check the workflow ran successfully

Supported services

Accounts:

  • Monzo (monzo)

Budgets:

  • YNAB (ynab)

Open a pull request to add more!