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

kodo-cli

v1.0.0

Published

CLI for Kodo Status Page - manage incidents, services, and monitoring from the terminal

Downloads

61

Readme

Kōdo CLI

Command-line interface for managing your Kōdo status page.

Installation

npm install -g kodo-cli

Or use directly with npx:

npx kodo-cli --help

Quick Start

# Login with your API key (found at /dashboard/api)
kodo login your-api-key-here

# View status overview
kodo status

# List services
kodo services list

# Create an incident
kodo incidents create -t "Database issues" --severity major -m "Investigating slow queries"

# Resolve an incident
kodo incidents resolve abc123 -m "Fixed the connection pool configuration"

Commands

Authentication

# Save API key
kodo login <api-key>
kodo login <api-key> --url https://your-custom-domain.com

# Remove saved credentials
kodo logout

# Show current config
kodo whoami

Status Overview

# Quick overview of services and incidents
kodo status

Incidents

# List all incidents
kodo incidents list
kodo incidents ls                           # alias
kodo incidents list --status investigating  # filter by status

# Create incident
kodo incidents create -t "Title" --severity major
kodo incidents create -t "API down" --severity critical -m "Investigating the issue" --services "API,Database"

# Update incident
kodo incidents update <id> -s identified -m "Found the root cause"

# Resolve incident
kodo incidents resolve <id>
kodo incidents resolve <id> -m "Deployed fix"

# Get incident details
kodo incidents get <id>

# Delete incident
kodo incidents delete <id> --force

Services

# List all services
kodo services list
kodo services ls                # alias

# Create service
kodo services create -n "API Gateway" -d "Main API service"

# Update service status
kodo services status "API" degraded
kodo services status <service-id> maintenance

# Quick status shortcuts
kodo services up "API"     # Set to operational
kodo services down "API"   # Set to major_outage

# Delete service
kodo services delete <id> --force

Heartbeat

# Simple heartbeat ping
kodo heartbeat <monitor-id>
kodo hb <monitor-id>        # alias

# With status details
kodo heartbeat <monitor-id> --status up --time 1523 --message "Backup completed"

Environment Variables

| Variable | Description | |----------|-------------| | KODO_API_KEY | API key (overrides saved config) | | KODO_API_URL | API base URL (default: https://kodostatus.com) |

CI/CD Integration

GitHub Actions

- name: Create incident on failure
  if: failure()
  run: npx kodo-cli incidents create -t "Deploy failed" --severity major
  env:
    KODO_API_KEY: ${{ secrets.KODO_API_KEY }}

Cron Job Heartbeat

# Add to crontab
0 * * * * /usr/local/bin/backup.sh && npx kodo-cli heartbeat my-backup-monitor

License

MIT