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

ai-chat-webos

v1.0.0

Published

A voice-enabled AI chat assistant for LG Smart TVs. Talk to your TV like you would ChatGPT!

Readme

AI Chat - webOS TV App

A voice-enabled AI chat assistant for LG Smart TVs. Talk to your TV like you would ChatGPT!

Features

  • Voice Input: Use your TV remote's voice button or click the mic
  • AI Chat: Connect to OpenAI (ChatGPT) or Anthropic (Claude)
  • Voice Responses: Hear AI responses spoken aloud
  • TV Remote Navigation: Full support for LG Magic Remote

Remote Control Shortcuts

| Button | Action | |--------|--------| | OK/Enter | Activate selected button | | Red | Quick voice input toggle | | Green | Clear chat history | | Yellow | Open/close settings | | Back | Cancel listening / Close modal |

Setup

1. Install webOS SDK

# Install Node.js if not already installed
# Then install webOS TV CLI
npm install -g @webosose/ares-cli

2. Create Icons

Create two PNG icons:

  • icon.png - 80x80 pixels (app icon)
  • largeIcon.png - 130x130 pixels (launcher icon)

You can use the included generate-icons.html to create them.

3. Package the App

cd ai-chat-webos
ares-package .

4. Install on TV

First, enable Developer Mode on your LG TV:

  1. Install "Developer Mode" app from LG Content Store
  2. Sign in with your LG developer account
  3. Enable Developer Mode and note the IP address

Then install:

# Add your TV
ares-setup-device

# Install the app
ares-install com.aichat.tv_1.0.0_all.ipk

# Launch it
ares-launch com.aichat.tv

Configuration

  1. Open the app on your TV
  2. Press the Yellow button or click Settings
  3. Select your AI provider (OpenAI or Claude)
  4. Enter your API key
  5. Configure voice response preferences
  6. Press Save

Development

Run Locally

Open index.html in a modern browser (Chrome recommended for speech recognition).

Debug on TV

# Launch with inspector
ares-inspect com.aichat.tv

# View logs
ares-log com.aichat.tv

File Structure

ai-chat-webos/
├── appinfo.json          # App manifest
├── index.html            # Main HTML
├── icon.png              # App icon (80x80)
├── largeIcon.png         # Launcher icon (130x130)
├── css/
│   └── style.css         # TV-optimized styles
├── js/
│   └── main.js           # App logic
└── webOSTVjs-1.2.10/
    ├── webOSTV.js        # webOS API
    └── webOSTV-dev.js    # Dev tools

Getting API Keys

OpenAI

  1. Go to https://platform.openai.com/api-keys
  2. Create a new API key
  3. Copy and paste into the app settings

Claude (Anthropic)

  1. Go to https://console.anthropic.com/
  2. Create an API key
  3. Copy and paste into the app settings

Troubleshooting

Voice not working

  • Ensure your TV has a microphone (Magic Remote or TV's built-in mic)
  • Check that the app has audio recording permissions
  • Try restarting the app

API errors

  • Verify your API key is correct
  • Check your internet connection
  • Ensure you have API credits/quota

App won't install

  • Make sure Developer Mode is enabled
  • Verify the TV IP address is correct
  • Check that the IPK file was created successfully

License

MIT License - Feel free to modify and distribute!