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

bice-cli

v0.0.5

Published

Unofficial BICE CLI. Manage your BICE accounts via terminal, REST API and more.

Readme

▬▬▬▬▬▬▬▬▬▬  ██████  ██  ██████ ███████    ██████ ██      ██ 
▬▬▬▬▬▬▬▬▬▬  ██   ██ ██ ██      ██         ██     ██      ██ 
▬▬▬▬▬▬▬▬▬▬  ██████  ██ ██      █████      ██     ██      ██ 
▬▬▬▬▬▬▬▬▬▬  ██   ██ ██ ██      ██         ██     ██      ██ 
▬▬▬▬▬▬▬▬▬▬  ██████  ██  ██████ ███████    ██████ ███████ ██ 

npm version

An unofficial BICE CLI tool to manage your BICE accounts via terminal commands, REST API and more.

Installation

# From npm (requires Bun)
bun add -g bice-cli@latest

# Or clone and install locally
git clone https://github.com/felipetodev/bice-cli.git
cd bice-cli
bun install
npx bice

Setup

bice login <RUT> <Password>          # Example: bice login 123456789 mypassword

Or set environment variables:

export BICE_RUT=123456789
export BICE_PASSWORD=mypassword

CLI Usage

# Banking
bice login                           # Log in with bank credentials
bice user                            # Show user info
bice products                        # List all products
bice balance                         # Quick balance check
bice transactions [page] [limit]     # View period transactions (default: page=1, limit=40)
bice movements [month] [year]        # View historic account movements for a specific month and year (default: current month/year)
bice monthly-summary [periods]       # View monthly summary (default: 4 past months)
bice portfolios-summary [date]       # View portfolios summary for a specific date (YYYY-MM-DD)

# Session
bice whoami                          # Show session info and accounts
bice logout                          # Disconnect and clear session

REST API

bice server                          # Start REST API server (port 3002)

| Method | Endpoint | Description
|--------|------------------------------------|---------------------------------------------------------| | GET | /api/user | Get user info | | GET | /api/whoami | Get session info and accounts | | GET | /api/products | Get all products | | GET | /api/transactions | Get transactions | | GET | /api/transactions?page=&limit= | Get transactions with pagination | | GET | /api/movements?month=&year= | Get movements for a specific month and year | | GET | /api/balance | Get balance for all products | | GET | /api/monthly-summary?periods= | Get monthly summary (default: 4 past months) | | GET | /api/portfolios-summary?date= | Get portfolios summary for a specific date (YYYY-MM-DD) |

Tech Stack

Security Considerations

This tool is intended for local and personal use only. It runs on your machine and communicates directly with BICE services, but handling real banking credentials always involves risk.

  • Keep your credentials out of shell history whenever possible (use environment variables or secure prompts instead of plain command arguments).
  • Do not commit .env files, tokens, or session artifacts to Git. Add local secret files to .gitignore.
  • Use this CLI only on trusted devices with disk encryption and an up-to-date OS.
  • If you run bice server, bind it to localhost and avoid exposing it publicly unless you add your own auth and network controls.
  • Rotate your password and log out (bice logout) if you suspect your machine, terminal session, or logs were exposed.
  • Review this code before using it with production credentials; this is an unofficial project and is not affiliated with Banco BICE.

Credentials

This CLI persists authentication material locally so you can reuse your session between commands. That data is stored in plain JSON files inside the tool directory (for example, .bice-config.json and .bice-checking-account.json) and is not encrypted by default.

  • Restrict local file access with chmod 600 .bice-config.json .bice-checking-account.json.
  • Run bice logout when you finish to remove the active session file.
  • Treat these files as sensitive: never commit, upload, or share them.
  • Avoid running this tool on shared machines, remote shells, or environments with automatic folder sync unless you trust that setup.
  • Assume session cookies/tokens and account metadata can be present in local config, and protect your workstation accordingly.