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 🙏

© 2026 – Pkg Stats / Ryan Hefner

abctl

v0.0.2

Published

CLI for working with [Actual Budget](actual.md).

Readme

actual budget cli

CLI for working with Actual Budget.

Install

Install globally with npm:

npm install -g abctl

Or run it without installing:

npx abctl --help

Usage

Usage: abctl [options] [command]

Actual budget helper commands.

Options:
  -h, --help                    display help for command

Commands:
  budgets                       List budgets and their sync ids.
  accounts                      List accounts and their current balances.
  uncategorized                 List uncategorized transactions across all accounts.
  transactions|txns [options] <account>
                                List transactions for an account.
  make-transfer|transfer [options]
                                Find uncategorized transfer pairs and link them.
  find <payee> <txn-date>       Find transactions by exact payee name and date.
  split [options] <entries...>  Split a transaction into sub-transactions.
  report [options] <name>       Render a custom report by name.
  qif-import [options] <account> <qif-path>
                                Import a QIF file into an Actual account.
  csv-import [options] <account> <csv-path>
                                Import a generic CSV into an Actual account.
  help [command]                display help for command

Environment:
  ACTUAL_PASSWORD        Required.
  ACTUAL_SYNC_ID         Optional. Budget name, groupId, or cloudFileId. Defaults to the first available budget.
  ACTUAL_SERVER_URL      Optional. Defaults to http://localhost:5007
  ACTUAL_DATA_DIR        Optional. Defaults to /tmp/actual

For split, express <entries...> as repeated triplets:

<notes> <category> <amount> [<notes> <category> <amount> ...]

Example:

abctl split --transaction-id abc123 "Groceries run" "Food" -45.60 "Petrol" "Transport" -30

If the split amounts do not add up, you can append the exact remainder as one extra split using the parent transaction category:

abctl split --add-remainder-split --transaction-id abc123 "Agent fees" "Expenses" -90

Transactions

List all transactions for an account:

abctl transactions "Everyday Checking"
# or
abctl txns "Everyday Checking"

Limit the listing to a date range:

abctl transactions "Everyday Checking" --start 2026-04-01 --end 2026-04-30
# or using the budget date format
abctl txns "Everyday Checking" --start 01/04/2026 --end 30/04/2026

--start and --end accept either YYYY-MM-DD or your budget date format.

Output tab-separated text instead of the terminal table:

abctl transactions "Everyday Checking" --tsv

<account> may be either the Actual account id or account name. Matching prefers exact id, then exact name, then unique case-insensitive name, then a unique case-insensitive substring match.

Make Transfer

Preview uncategorized transfer candidates without writing:

abctl make-transfer --dry-run

Link all unambiguous uncategorized transfer pairs:

abctl make-transfer

The command only links pairs when there is exactly one uncategorized inflow and one uncategorized outflow with the same date and absolute amount in two different accounts. Ambiguous groups are reported and skipped.

Split

Split by transaction id:

abctl split --transaction-id abc123 "Groceries run" "Food" -45.60 "Petrol" "Transport" -30

Split by exact payee and date:

abctl split --payee "Example Store" --txn-date 2026-04-05 "Groceries run" "Food" -45.60

--txn-date accepts either YYYY-MM-DD or your budget date format.

Each split entry is a repeated <notes> <category> <amount> triplet. Quote notes or category names when they contain spaces.

find <payee> <txn-date> also accepts either YYYY-MM-DD or your budget date format.

Use --add-remainder-split to append one extra split for any remaining difference. The extra split uses the parent transaction category, so it only works when the original transaction is already categorized.

CSV Import

# Preview the mapped ImportTransactionEntity objects
abctl csv-import <account> path/to/import.csv --json

# Preview reconciliation without writing
abctl csv-import <account> path/to/import.csv --dry-run

# Preview/import without imported_id so Actual relies on fuzzy matching
abctl csv-import <account> path/to/import.csv --dry-run --no-import-id

# Preview/import with raw CSV Payee stored as imported_payee
abctl csv-import <account> path/to/import.csv --dry-run --raw-imported-payee

# Preview/import categories from the Category column when they match Actual categories
abctl csv-import <account> path/to/import.csv --dry-run --import-category

# Fully mimic Actual UI CSV import matching
abctl csv-import <account> path/to/import.csv --dry-run --no-import-id --import-category

# Import the CSV into an account
abctl csv-import <account> path/to/import.csv

The CSV must contain these headers:

  • Date
  • Payee
  • Notes
  • Debit
  • Credit

Optional headers:

  • Balance
  • Category
  • SubCategory

<account> may be either the Actual account id or account name. Matching prefers exact id, then exact name, then unique case-insensitive name, then a unique case-insensitive substring match. If the match is ambiguous, the command fails and asks you to use the id.

Date accepts either YYYY-MM-DD or your budget date format. Debit and Credit must be non-negative amounts without signs. Notes are imported into transaction notes, but are not included in imported_id. When Balance is present, it is used to strengthen row uniqueness and imported_id stability.

Use --no-import-id to omit imported_id entirely and rely on Actual's fuzzy matching instead. This mimics how imports via the UI work.

By default, abctl omits imported_payee and lets Actual derive a normalized/title-cased version from payee_name, matching the UI import behaviour. Use --raw-imported-payee to instead send the CSV Payee value as imported_payee exactly as it appears in the file. If an existing matched transaction already has Actual's normalized/title-cased imported_payee, --raw-imported-payee can make it differ and appear as an update even when other fields are otherwise unchanged.

Use --import-category to map Category values to existing Actual category names and include the matched category id in reconciliation. Category import is enabled by default in the Actual UI CSV importer; pass --import-category in the CLI when you want that behavior. Category matching is exact and case-sensitive, and unresolved category text is sent as-is. Categories are not created automatically.

To fully mimic Actual UI CSV import matching, combine --no-import-id --import-category and leave --raw-imported-payee off.

In the Import preview, Preview matches is the number of imported rows that matched existing transactions. Updated is the subset of those matches whose stored fields would change.

QIF Import

Preview the parsed transactions returned by Actual:

abctl qif-import <account> path/to/file.qif --json

Preview reconciliation without writing:

abctl qif-import <account> path/to/file.qif --dry-run

Import the QIF into an account:

abctl qif-import <account> path/to/file.qif

Optional flags:

  • --import-notes keeps the QIF memo field as Actual notes.
  • --swap-payee-and-memo uses the QIF memo field as the payee before optional note import.

<account> may be either the Actual account id or account name. Matching prefers exact id, then exact name, then unique case-insensitive name, then a unique case-insensitive substring match. If the match is ambiguous, the command fails and asks you to use the id.