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

@tananetwork/deka-cli

v0.1.2

Published

Deka - Self-hosted deployment orchestrator

Downloads

306

Readme

Deka

Self-hosted deployment tool for Tana. Run your own Tana hosting stack with Docker.

Installation

npm install -g @tananetwork/deka

Or build from source:

bun install
bun run build  # Output: dist/deka

Quick Start

# Interactive setup (first time)
deka setup

# Start all services
deka start

# Check status
deka status

Services

Deka manages 6 Docker services:

| Service | Port | Description | |---------|------|-------------| | postgres | 5432 | PostgreSQL database | | redis | 6379 | Queue and cache | | edge | 8506 | Site execution (V8 isolates) | | t4 | 8507 | Content-addressable storage | | deka-git | 8508 | Git server for deployments | | deploy | 8509 | Build execution service |

Commands

deka setup              # Interactive first-run configuration
deka start              # Start all services
deka start --infra      # Start only postgres/redis (for local dev)
deka stop [services]    # Stop services (or 'all')
deka stop all --volumes # Stop and delete all data
deka status             # Show service status
deka logs [service]     # View logs (-f to follow)
deka restart [services] # Restart services
deka check              # Check for image updates
deka update             # Pull latest images
deka upgrade            # Pull and restart outdated services
deka monitor start      # Enable automatic update checks

Status Detection

deka status detects services regardless of how they were started:

● [postgres] healthy :5432 (via td)
● [redis] healthy :6379 (via td)
● [edge] running :8506 (native)
● [t4] running :8507 (native)
● [deka-git] running :8508 (native)
● [deploy] running :8509 (native)
  • (via td) - Running as a Docker container started by td
  • (native) - Running as a native binary (detected via port)
  • No tag - Running as a deka-managed container

Configuration

Config stored in ~/.config/deka/:

  • config.json - Registry and service settings
  • docker-compose.yml - Generated compose file

Deka vs td

| | Deka | td | |--|------|-----| | Purpose | Self-hosted production | Local development | | Runs | Docker containers only | Docker or native binaries | | Services | Hosting stack (6) | Full node (12+) | | Container prefix | deka-* | tana-* | | Config | ~/.config/deka | ~/.config/td |

Use td for local development, deka for self-hosted deployments.

Troubleshooting

Services won't start:

docker info              # Verify Docker is running
lsof -i :8506            # Check port conflicts
deka logs <service>      # View service logs

Authentication errors:

deka setup               # Re-configure registry auth
docker login ghcr.io     # Or login manually