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

@lchavezpozo/firefly-plugin-openclaw

v2.0.0

Published

OpenClaw plugin for Firefly III personal finance management

Readme

🔥 Firefly III Plugin for OpenClaw

npm version License: MIT

A native OpenClaw plugin for Firefly III — the self-hosted personal finance manager.

✨ Features

  • 💰 Check balances — View all your asset accounts
  • 📝 Record transactions — Log expenses, income, and transfers
  • 📊 View recent transactions — See your latest activity
  • 🗑️ Delete transactions — Remove incorrect entries
  • 📈 Monthly summary — Get spending overview
  • 🏷️ List categories — View all your categories

📦 Installation

openclaw plugins install @lchavezpozo/firefly-plugin-openclaw

Or install manually:

git clone https://github.com/lchavezpozo/firefly-plugin-openclaw.git ~/.openclaw/plugins/firefly-iii

⚙️ Configuration

1. Get your Firefly III API Token

  1. Go to your Firefly III instance
  2. Navigate to OptionsProfileOAuth
  3. Create a new Personal Access Token
  4. Copy the token

2. Configure the plugin

Add to your ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "firefly-iii": {
        "enabled": true,
        "config": {
          "url": "http://your-firefly-instance:8080",
          "token": "your-api-token-here"
        }
      }
    }
  }
}

Or use a credentials file:

{
  "plugins": {
    "entries": {
      "firefly-iii": {
        "enabled": true,
        "config": {
          "credentialsPath": "~/.openclaw/credentials/firefly.json"
        }
      }
    }
  }
}

Credentials file format:

{
  "url": "http://your-firefly-instance:8080",
  "token": "your-api-token-here"
}

3. Restart OpenClaw

openclaw gateway restart

🚀 Usage

Once configured, the AI will automatically use these tools when you ask about finances:

| You say | Tool used | |---------|-----------| | "How much money do I have?" | firefly_accounts | | "I spent $50 on groceries" | firefly_transaction | | "Show my recent expenses" | firefly_recent | | "Monthly spending summary" | firefly_summary | | "What categories do I have?" | firefly_categories |

Supported Languages

The plugin understands natural language in English and Spanish:

  • "cuánto tengo" → firefly_accounts
  • "gasté 50 en comida" → firefly_transaction
  • "últimos gastos" → firefly_recent

🛠️ Available Tools

| Tool | Description | |------|-------------| | firefly_accounts | Get all asset account balances | | firefly_transaction | Record expense/income/transfer | | firefly_recent | List recent transactions | | firefly_delete | Delete a transaction by ID | | firefly_summary | Get current month summary | | firefly_categories | List all categories |

🏗️ Architecture

src/
├── index.ts              # Plugin entry point
├── FireflyClient.ts      # API client class
├── types.ts              # TypeScript interfaces
└── tools/
    ├── accounts.ts       # Balance checking
    ├── transaction.ts    # Recording transactions
    ├── recent.ts         # Recent transactions
    ├── delete.ts         # Delete transactions
    ├── summary.ts        # Monthly summary
    └── categories.ts     # List categories

🧪 Development

# Install dependencies
npm install

# Run tests
npm test

# Run tests with coverage
npm run test:coverage

# Type checking
npm run typecheck

📋 Requirements

  • OpenClaw 2026.2.0 or later
  • Firefly III instance with API access
  • Personal Access Token from Firefly III
  • Node.js 18+

📄 License

MIT © Luis Chavez

🤝 Contributing

Contributions are welcome! Feel free to:

  • Open issues for bugs or feature requests
  • Submit pull requests
  • Improve documentation

🔗 Links