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

open-tui

v0.2.0

Published

<h1> <p align="center"> <img src="static/logo.svg" alt="Logo" width="256"> <br>open-tui </p> </h1>

Readme

About

open-tui is a terminal application aiming to provide a similar user experience to Open WebUI... but in the terminal. Tired of context switching back and forth between your browser? Then this is the TUI for you! open-tui currently supports:

  • Model selection: Change which LLM you are using on the fly
  • Chat selection: Switch back and forth between different chats to preserve context. Create new chats.
  • Sync Chats: By piggybacking off of Open WebUI, all of your chats made inside open-tui are shared with your Open WebUI session.

[!NOTE] Requires a running instance of Open WebUI. To get started with Open WebUI, visit their docs.

Download/Usage

To install globally:

npm i -g open-tui

then run

open-tui

open-tui requires two environment variables to function:

  • OPENTUI_WEBUI_HOST: IP/Domain name of your Open WebUI instance (Example http://192.168.68.50:4000)
  • OPENTUI_WEBUI_TOKEN: Can be found under Account -> API Keys

export them via export VARIABLE_NAME=value (preferably in your .zshrc to persist across your terminal sessions). For a list of all environment variables see below.

| Environment Variable | Type | Description | | ------------------------------- | ------ | ----------------------------------------------- | | OPENTUI_WEBUI_TOKEN | string | Authentication token for OpenTUI WebUI. | | OPENTUI_WEBUI_HOST | string | The WebUI server host URL. | | OPENTUI_LOG (optional) | string | Path to the log file. | | OPENTUI_APPEND_LOG (optional) | string | Whether to append to the log file (true/false). |

[!NOTE] Using a program like Tailscale can allow secure access to your locally running services and it's pretty easy to setup!

Install locally

Requirements

git clone https://github.com/ZachJW34/open-tui.git && \
cd open-tui && \
bun i && \
bun run dev

Further improvements

Open WebUI is a feature packed application so I don't expect this TUI to ever have featuer parity with it. Nonetheless, I'd like to expand upon it so as to limit the amount of times I have to switch to the web version. This could be:

  • [x] Multiline prompt support: Currently annoying to only be able to input on one continuous line without line breaks
  • [ ] Respect Open WebUI user settings: Templates, variables etc..
  • [ ] Delete chats
  • [ ] Regenerate/modify responses
  • [ ] File upload support
  • [ ] Multi-model response
  • [ ] Theming
  • [ ] a whole lot more...
  • [ ] Add tests

Currently, it scratches the itch of being able to quickly pull up an LLM while developing. Plus, TUIs just feel and look cool.

Contributing

Contributors welcome! Feel free to fork and create a PR.