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

@tantanok221/agentbudget

v1.0.1

Published

Personal budgeting CLI (envelopes, transactions, schedules) backed by SQLite/libsql.

Downloads

24

Readme

agentbudget

Agent-first, YNAB-like zero-based envelope budgeting CLI.

  • TypeScript + Node CLI
  • Turso/libSQL backend + Drizzle ORM migrations
  • Agent-first output: most commands support --json and return { ok, data } / { ok, error }

Install

Prereqs

  • Node.js 20+
  • npm

Option A: Install from npm (recommended)

npm i -g @tantanok221/agentbudget
agentbudget --help

Option B: Run without installing (one-off)

npx @tantanok221/agentbudget --help

Option C: Install via clone (development)

git clone https://github.com/Tantanok221/agentbudget.git
cd agentbudget
npm install
npm run build

# run from the repo
node dist/cli.js --help

# or dev runner
npm run dev -- --help

Optional: link globally during development:

npm link
agentbudget --help

Install skills

npx skills add Tantanok221/agentbudget

Initialize a database

agentbudget can use either:

  • local SQLite/libSQL file DB (file:/...)
  • Turso remote DB (libsql://...)

Local (recommended to start)

agentbudget init --local
agentbudget system init

Turso (remote)

export TURSO_DATABASE_URL="libsql://..."
export TURSO_AUTH_TOKEN="..."

agentbudget init --remote
agentbudget system init

Config is written to:

  • ~/.config/agentbudget/config.json

You can override per-command:

agentbudget --db "file:/absolute/path.db" overview --month 2026-02

Quickstart

Create accounts/envelopes:

agentbudget account create "Bank" --type checking --json
agentbudget envelope create "Food" --group "Living" --json

Add a transaction (major-unit inputs, stored as minor units internally):

agentbudget tx add \
  --account "Bank" \
  --amount -23.50 \
  --date 2026-02-08 \
  --payee "Grab" \
  --envelope "Food" \
  --json

See an overview:

agentbudget overview --month 2026-02
agentbudget overview --month 2026-02 --json

Development notes

Migrations

Migrations live in src/db/migrations.

Tests

npm test

Environment variables

  • TURSO_DATABASE_URL (e.g. libsql://... or file:./data/local.db)
  • TURSO_AUTH_TOKEN (if using Turso)

Testing helpers

  • AGENTBUDGET_TODAY=YYYY-MM-DD overrides "today" for schedule/overview tests.