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

@kud/gtv-cli

v0.4.0

Published

Control your Google TV from the CLI

Readme

TypeScript Node.js npm MIT

Control your Google TV from the terminal with a fast Ink remote

Website · Documentation

gtv pairs with a Google TV over the Android TV Remote v2 protocol, then lets you drive it from a fullscreen terminal remote or from one-shot shell commands.

Features

  • Terminal remote — open a fullscreen Ink UI with system, navigation, playback, and volume controls.
  • First-run pairing — discover nearby Google TVs, enter the TV PIN, and save the connection for later launches.
  • App launcher — start apps from an interactive picker or launch names and deep links directly from the CLI.
  • Multiple devices — list, switch, and unpair saved TVs when you have more than one screen on the network.
  • Keyboard input — switch into keyboard mode and type into TV text fields through IME injection.
  • Diagnostics — inspect pairing, connectivity, discovery, and protocol logs with status, doctor, and debug.

gtv CLI TUI remote

Install

npm install -g @kud/gtv-cli

Requires Node.js 22 or newer.

Usage

$ gtv                        # open the fullscreen remote, pairing first if needed
$ gtv pair                   # pair or re-pair with a Google TV
$ gtv unpair                 # remove saved pairings
$ gtv discover --select      # scan the network and save a TV
$ gtv devices                # list paired Google TVs
$ gtv switch [name]          # switch the active Google TV
$ gtv status                 # check pairing and connectivity
$ gtv doctor                 # run detailed diagnostics
$ gtv debug                  # stream live protocol logs
$ gtv apps                   # open the app picker
$ gtv app netflix            # launch an app by catalog name
$ gtv app https://example.com # launch a deep link or URL
$ gtv home / back / select   # send navigation keys
$ gtv up / down / left / right
$ gtv vol up|down|mute       # control volume
$ gtv play / stop / next / prev / fwd / rwd
$ gtv power / mute / menu / search / input / sleep / wakeup
$ gtv key <name>             # send any supported key by name
$ gtv --debug <command>      # enable protocol logging for any command

Inside the TUI, use arrow keys and Enter to move around the remote. Press a for apps, Tab for keyboard mode, o for preferences, and q to quit.

Development

git clone https://github.com/kud/gtv-cli.git
cd gtv-cli
npm install
npm run dev
npm run typecheck
npm run build

The CLI is written in TypeScript, rendered with Ink, and compiled to dist/ with tsup.

📚 Full documentation → gtv-cli/docs