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

@docker-digital/dockernet-agent

v1.0.7

Published

DockSplit Agent - NestJS Agent Application

Readme

DockSplit Agent

DockSplit Agent is the local runtime that connects a machine to DockSplit, listens for profile/service events, and executes Docker Compose operations on that machine.

The npm package exposes two binaries:

  • docksplit: CLI entry point for normal usage.
  • docksplitd: daemon entry point for service managers.

Install

Use one install path:

npm i -g @docker-digital/dockernet-agent

Verify:

docksplit --help

First Run

Run in foreground for the first setup:

docksplit up --foreground

This keeps logs attached to the terminal while the agent prepares runtime, registers the machine, connects Tailscale, subscribes to realtime events, and starts local services.

Useful variants:

docksplit up --fast
docksplit up --verbose
docksplit up --foreground --verbose

Background Runtime

Run in the background:

docksplit run --daemon

Run in the foreground:

docksplit run

Enable the lightweight local HTTP API:

docksplit run --daemon --service 3333

Equivalent port flag:

docksplit run --daemon --port 3333

OS Service

Install and start as an OS service:

docksplit install-daemon

Supported service managers:

  • macOS: launchd
  • Linux: user systemd

Uninstall the OS service:

docksplit uninstall-daemon

Stop

Stop the running daemon:

docksplit down

Alias:

docksplit stop

Listen Mode

Observe realtime events without executing them:

docksplit listen

Use a custom event file:

docksplit listen --file ~/.dockernet-agent/recent-events.json

Use a specific machine key:

docksplit listen --machine-key <machine_key>

Commands

| Command | Description | | --- | --- | | docksplit up --foreground | Start and keep the current CLI process attached. | | docksplit up --fast | Start with reduced startup logs. | | docksplit up --verbose | Start with full startup logs. | | docksplit run | Run agent runtime in foreground mode. | | docksplit run --daemon | Run agent runtime detached from the terminal. | | docksplit run --daemon --service 3333 | Run detached with local HTTP API enabled. | | docksplit install-daemon | Register and start as OS service. | | docksplit down | Stop the running daemon. | | docksplit stop | Alias for down. | | docksplit listen | Observe realtime events without executing them. | | docksplit uninstall-daemon | Stop and unregister OS service. | | docksplit --help | Show CLI help. |

Runtime Files

| Path | Description | | --- | --- | | ~/.dockernet-agent/config | Local agent configuration. | | ~/.dockernet-agent/agent.pid | Daemon PID file. | | ~/.dockernet-agent/docksplit.sock | Local control socket. | | ~/.dockernet-agent/log/ | Agent logs. | | ~/.dockernet-agent/profiles/ | Profile working directories. | | ~/.dockernet-agent/recent-events.json | Recent realtime events used by listen. |

Development

Install dependencies from the monorepo root:

yarn install

Run the CLI locally:

npm run start:cli -- up --foreground

Run the daemon entry locally:

npm run start:daemon

Build:

npm run build

Run tests:

npm test

Troubleshooting

docksplit: command not found

Reinstall globally:

npm i -g huynhthuc/docksplit

Check npm global bin path:

npm bin -g

Docker Permission Denied

Make sure Docker is running and the current user can access Docker.

On Linux:

sudo usermod -aG docker "$USER"

Log out and log back in after changing Docker group membership.

Agent Cannot Reach DockSplit API

Check DNS/network:

curl -I https://api-backend.docksplit.cloud

Then run with verbose foreground logs:

docksplit up --foreground --verbose