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

@decodetool/cli

v0.15.19

Published

Decode is a whiteboard for you and your coding agents

Readme

@decodetool/cli

Decode is a whiteboard & browser for working with coding agents.

This build runs locally on your computer, but can be accessed remotely if you use its tunneling feature.

Please report issues to us here.

Installation

npm install -g @decodetool/cli

Usage

Start the Server

# Start server and open browser
decode serve

# Specify port
decode serve --port 4000

# Expose to local network (access from phone/tablet)
decode serve --host

# Bind to specific IP
decode serve --host 192.168.1.5

# Don't open browser automatically
decode serve --no-open

Built-in Easy to Use Tunneling

With one command you can run Decode on your computer where all of the work gets done, but access it on the go.

Use this for whiteboarding with an Apple Pencil on your iPad or firing off new agent runs from your phone in a simplified interface.

** USE AT YOUR OWN RISK ** While the connection is encrypted and the url unguessable, you are still risking someone else controlling your computer if you expose the url.

Every time you rerun decode tunnel a new domain is generated, use this as one defence mechanism.

# Start server and create a tunnel
decode tunnel

# Specify local port port
decode tunnel --port 4000

# Don't open browser automatically
decode tunnel --no-open

Configuration (decode.json)

Optionally add a decode.json file to your repo root to configure a setup and run scripts. The setup command is run once when you create a new workspace (worktree), and run can be triggered from the UI to start (or kill) your dev server.

{
  "scripts": {
    "setup": "cp $DECODE_REPO_PATH/.env .env && pnpm install",
    "run": "pnpm dev"
  }
}

Scripts

| Script | When it runs | Purpose | | ------- | ----------------------------------- | --------------------------------------- | | setup | Once when worktree is created | Copy .env files, install dependencies | | run | Toggled via Cmd+P or Run button | Start dev server |

Environment Variables

Decode injects these into all script executions:

| Variable | Description | | ---------------------- | ---------------------------- | | DECODE_WORKTREE | Worktree name | | DECODE_WORKTREE_PATH | Absolute path to worktree | | DECODE_REPO_PATH | Absolute path to parent repo |

Examples

Next.js:

{
  "scripts": {
    "setup": "cp $DECODE_REPO_PATH/.env.local .env.local && pnpm install",
    "run": "pnpm dev"
  }
}

Python / Django:

{
  "scripts": {
    "setup": "cp $DECODE_REPO_PATH/.env .env && pip install -r requirements.txt",
    "run": "python manage.py runserver"
  }
}

Data Storage

By default, Decode stores data in ~/decode/. Set $DECODE_DATA_DIR environment variable when launching decode to change the data location.