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

diyacode

v1.2.2

Published

<p align="center"> <pre align="center"> █▀▄ █ █▄█ ▄▀█ █▀▀ █▀█ █▀▄ █▀▀ █▄▀ █ ░█░ █▀█ █▄▄ █▄█ █▄▀ ██▄ </pre> </p> <p align="center">Your AI coding companion, built by <a href="https://github.com/CTAGRAM">ASTITWA</a>.</p> <p align="center"> <a

Readme


Installation

npm i -g diyacode

Supported Platforms

| Platform | Architecture | Package | |----------|-------------|---------| | Windows | x64 | diyacode-windows-x64 | | macOS | Apple Silicon (M1/M2/M3/M4) | diyacode-darwin-arm64 | | macOS | Intel | diyacode-darwin-x64 | | Linux | x64 (glibc) | diyacode-linux-x64 | | Linux | ARM64 (glibc) | diyacode-linux-arm64 | | Linux | x64 (musl/Alpine) | diyacode-linux-x64-musl | | Linux | ARM64 (musl/Alpine) | diyacode-linux-arm64-musl |

The correct binary is automatically installed for your platform.


Quick Start

# Navigate to your project directory
cd your-project

# Launch Diya Code
diyacode

On first launch, you'll be prompted for your API key:

  █▀▄ █ █▄█ ▄▀█   █▀▀ █▀█ █▀▄ █▀▀
  █▄▀ █ ░█░ █▀█   █▄▄ █▄█ █▄▀ ██▄

  Welcome to Diya Code! 🪔

◆ Enter your API key: ****

  ✓ API key saved! You can update it anytime with: diyacode auth login

Your key is saved persistently — no environment variables needed.


Features

  • 🪔 AI-Powered Coding Agent — Built for the terminal, powered by advanced AI models
  • 🔑 Persistent API Key — Enter once, saved permanently. No environment variables needed
  • 🤖 Multi-Provider Support — Works with multiple AI providers out of the box
  • 📝 Full Code Context — Understands your entire codebase for accurate suggestions
  • 🛠️ Built-in Tools — File editing, bash commands, web search, and more
  • 🔄 Session Management — Continue or fork previous sessions
  • 🎨 Beautiful TUI — A polished terminal UI with themes and responsive design
  • 🔌 MCP Support — Extend with Model Context Protocol servers

Usage

diyacode                          # Start interactive TUI
diyacode --model provider/model   # Use a specific model
diyacode --continue               # Continue the last session
diyacode -s <session_id>          # Resume a specific session
diyacode auth login               # Update your API key
diyacode auth list                # View saved credentials

Agents

Diya Code includes two built-in agents you can switch between with the Tab key:

| Agent | Access | Purpose | |-------|--------|---------| | build | Full read/write | Development work — edit files, run commands | | plan | Read-only | Analysis and code exploration |


Configuration

Create an opencode.json in your project root to customize Diya Code:

{
  "$schema": "https://astitwa.ai/config.json",
  "provider": {
    "a4f": {
      "name": "A4F Provider",
      "api": {
        "name": "a4f"
      },
      "models": {
        "your-model": {
          "name": "Your Model",
          "temperature": 0.7,
          "max_tokens": 16000,
          "attachment": true
        }
      }
    }
  }
}

Keyboard Shortcuts

| Key | Action | |-----|--------| | Tab | Switch between agents | | Ctrl+C | Cancel current action | | Ctrl+D | Exit Diya Code | | Enter | Send message | | Shift+Enter | New line in input |


Requirements

  • Node.js 18+ (for npm install)
  • Terminal with Unicode support (for the TUI)

Built By

ASTITWAgithub.com/CTAGRAM