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

grepguard

v1.0.0

Published

GrepGuard CLI

Downloads

120

Readme

GrepGuard CLI

Command line interface for GrepGuard.

Installation

npm install -g grepguard

After installation, you can use either grepguard or the shorter gg command:

grepguard auth login
gg auth login

Concepts

A namespace is a logical partition. Pods, also called sandboxes or containers, run inside that namespace.

Each pod is isolated from the other pods in the same namespace. Use a namespace to group pods, and use pods to run agents in separate sandboxed environments.

All pods run inside a namespace, and pod commands require a namespace.

The currently supported agents are opencode and codex.

Quick Start

Create an account and API key at GrepGuard, then follow these steps to run Codex in its first pod.

  1. Log in:
gg auth login

Note: When prompted, paste the API key created on the GrepGuard website.

  1. Create a namespace and check its status:
gg create namespace demo
gg get namespace

Note: Wait until the demo namespace status is active before continuing.

  1. Create a pod:
gg create pod agent -n demo
  1. Set the Codex API key:
gg env agent CODEX_API_KEY -n demo

Note: GrepGuard prompts for the key so it does not appear in your shell history.

  1. Run Codex:
gg run agent -a codex -p "Clone https://github.com/grepguard/cli and explain the project." -n demo
  1. Follow the agent's work:
gg logs agent -a codex -n demo

Commands

Log in with a GrepGuard API key:

grepguard auth login

Note: Create a GrepGuard account first, then create an API key on the website and paste it here.

Check whether an API key is saved locally:

grepguard auth status

List namespaces:

grepguard get namespace # or grepguard get ns

Create a namespace:

grepguard create namespace <name> # or grepguard create ns <name>

Delete a namespace:

grepguard delete namespace <name> # or grepguard delete ns <name>

List pods in a namespace:

grepguard get pods --namespace <namespace> # or grepguard get pods -n <namespace>

Create a pod in a namespace:

grepguard create pod <sandbox> --namespace <namespace> # or grepguard create pod <sandbox> -n <namespace>

Delete a pod in a namespace:

grepguard delete pod <sandbox> --namespace <namespace> # or grepguard delete pod <sandbox> -n <namespace>

Set one environment variable in a pod:

grepguard env <sandbox> <NAME> --namespace <namespace> # or grepguard env <sandbox> <NAME> -n <namespace>

Note: Set CODEX_API_KEY to authenticate Codex inside the pod, or set GIT_PAT so the agent can push to GitHub as Sandbar Agent. Set each variable in a separate command. GrepGuard securely prompts for the value so it does not appear in your shell history.

Run an agent in a sandbox:

grepguard run <sandbox> --agent <agent> --prompt <prompt> --namespace <namespace> # or grepguard run <sandbox> -a <agent> -p <prompt> -n <namespace>

Note: Agent is opencode or codex.

Show logs for an agent in a pod:

grepguard logs <sandbox> --agent <agent> --namespace <namespace> # or grepguard logs <sandbox> -a <agent> -n <namespace>

Contributing

See CONTRIBUTING.md.

License

MIT. See LICENSE.