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

@divitkashyap/chameleon-tui

v0.1.7

Published

Theme-aware animated color post-processing for the OpenCode TUI. Transforms neutral text and surfaces into dynamic metallic gradients, animal prints, neon glows, nature textures, and 50+ visual styles.

Readme

chameleon-tui

Theme-aware animated color post-processing for the OpenCode TUI. Transforms neutral text and surfaces into dynamic metallic gradients, animal prints, neon glows, nature textures, and 50+ visual styles.

Inspired by oc-plugin-rainbow by @kommander.

⚠️ Disclaimer: Some palettes (static, laser, neonflicker, rgbsplit, corrupt, datamosh) contain rapid flashing or high-contrast visuals. Enable CPU Saver to limit animation when not in use.

Demo

Chameleon TUI Demo

Features

  • 100 visual styles across metallic, animal, neon, glitch, nature, and abstract categories
  • Live search — type to filter themes by name, description, or category instantly
  • Auto-rotation — cycle through your favorite styles every session or on a timer
  • Dark floor control — lift dark colors so text stays readable against dark backgrounds
  • Per-style tuning — speed, band count, background glow intensity
  • Logo splash — fade-to-white OpenCode logo screen (ctrl+shift+r)
  • Live settings UI — tune everything via /chameleon-settings with keyboard navigation
  • CPU saver — drops to 1 FPS when the tab is hidden to reduce CPU usage

Installation

opencode plugin @divitkashyap/chameleon-tui

Or from OpenCode commands:

  1. Press Ctrl+P
  2. Select Install Plugin
  3. Enter @divitkashyap/chameleon-tui

Requires OpenCode >=1.3.14.

Visual Styles (50 total)

Metallic

| Name | Description | | ------------ | --------------------- | | silver | Classic chrome silver | | gold | Warm metallic gold | | rose | Rose gold metallic | | purple | Deep violet chrome | | blue | Steel blue chrome | | green | Emerald chrome | | red | Ruby chrome | | iridescent | Rainbow shimmer |

Animal & Skin

| Name | Description | | --------- | ------------------------------------ | | leopard | Rosette spots with breathing effect | | zebra | Crisp black/white shimmer stripes | | snake | Scale-like iridescent green/purple | | cow | Black spots on white, halftone style |

Geometric

| Name | Description | | ----------- | ----------------------------------------- | | checker | Flickering checkerboard vibration | | harlequin | Diamond prismatic RGB splitting | | tartan | Plaid lines with intersection brightening | | opart | Concentric circles illusion of motion | | penrose | Non-repeating tiling pattern |

Neon & Glow

| Name | Description | | ------------- | ----------------------------------- | | plasma | Swirling pinks, cyans, purples | | biolum | Dark ocean with pulsing cyan points | | aurora | Northern lights vertical curtains | | laser | Red arcade laser grid | | neonflicker | White/pink neon with random flicker | | neonbloom | Thin bright neon with soft glow |

Glitch & Artsy

| Name | Description | | ----------- | -------------------------------- | | rgbsplit | Horizontal RGB channel offset | | scanline | Black with scrolling white lines | | static | Full-color TV static | | corrupt | Color blocks override palette | | vaporwave | Purple→pink→cyan retro gradient | | datamosh | Pixels bleed horizontally | | chroma | Radial waves with prism fringing |

Nature

| Name | Description | | ----------- | -------------------------------------- | | fire | Black→red→orange→yellow upward flicker | | ocean | Blues shift with wave horizontal bands | | lightning | Near-black with white flash bolts | | ink | Dark ink tendrils diffusing in water | | marble | White with swirling gray veins | | lavalamp | Blobs float and merge |

Metallic Beyond

| Name | Description | | ------------- | --------------------------------- | | oilslick | Iridescent rainbow oil on water | | holographic | Rainbow diffraction grating | | carbon | Tight diagonal carbon fiber weave | | copper | Aged copper with patina greens | | brushed | Fine horizontal steel scratches | | liquidmetal | Mercury-like pools with ripples |

Unusual Strokes

| Name | Description | | ------------- | --------------------------------- | | calligraphy | Ink brush strokes with highlights | | splat | Black with random ink drops | | drip | Spray paint with downward drips | | watercolor | Soft bleeding pigment effect | | glass | Frosted etched geometric patterns | | feverdream | Everything at once, maximum chaos |

Auto-Rotation

Enable autoRotate to automatically cycle through a curated list of styles:

  • autoRotateInterval = 0 — changes every new session
  • autoRotateInterval = N — changes every N minutes
  • rotateList — your personal playlist of styles to cycle through

Options

{
  "$schema": "https://opencode.ai/tui.json",
  "plugin": [
    [
      "@divitkashyap/chameleon-tui",
      {
        "enabled": true,
        "fg": true,
        "bg": true,
        "speed": 0.008,
        "turns": 3,
        "glow": 0.05,
        "chameleonType": "silver",
        "autoRotate": false,
        "autoRotateInterval": 0,
        "rotateList": ["silver", "gold", "plasma"],
        "paletteFloor": 0.08
      }
    ]
  ]
}

Run /chameleon-settings to tune everything live. Type to search themes by name.

Config Fields

| Field | Type | Default | Description | | -------------------- | -------- | ---------------------------- | --------------------------------------------- | | fg | boolean | true | Animate neutral text colors | | bg | boolean | true | Animate neutral background surfaces | | speed | number | 0.008 | Band movement speed (00.03) | | turns | number | 3 | Diagonal band count (0.258) | | glow | number | 0.05 | Background tint intensity (00.15) | | chameleonType | string | silver | Visual style from table above | | autoRotate | boolean | false | Enable automatic style rotation | | autoRotateInterval | number | 0 | Minutes between rotations (0 = per session) | | rotateList | string[] | ["silver","gold","plasma"] | Styles to cycle through | | paletteFloor | number | 0.08 | Minimum brightness for dark colors |

Local Development

{
  "$schema": "https://opencode.ai/tui.json",
  "plugin": [["../../chameleon-tui", { "enabled": true, "chameleonType": "plasma" }]]
}

Or install directly from npm:

opencode plugin @divitkashyap/chameleon-tui

Acknowledgments

This plugin extends the rainbow concept with 50+ new visual styles and auto-rotation, but the core architecture and TUI integration patterns are derived from the rainbow plugin.

License

MIT