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

@yriveiro/inktty

v1.1.1

Published

A simple terminal markdown reader built with OpenTUI

Downloads

177

Readme

inktty

A simple terminal markdown reader built with OpenTUI.

Runtime Requirement

ink requires Bun to run.

ink runs on the Bun runtime, so Bun is required even when you invoke ink directly.

Use Bun >=1.0.0.

Usage

One-time setup from this repository:

bun install
bun link

Then use ink normally:

ink <path-to-file.md>

Use a specific theme:

ink --theme nord <path-to-file.md>

List embedded and user themes:

ink --list-themes

If you prefer not to link the CLI, you can still run it directly with Bun:

bun run start -- <path-to-file.md>

Example

ink example.md

Technical Documentation

Implementation notes live in docs/:

Theme override examples live in examples/themes/.

Attribution

inktty vendors adapted Tree-sitter highlight queries from nvim-treesitter for:

  • src/lib/tree-sitter-hcl/highlights.scm
  • src/lib/tree-sitter-kotlin/highlights.scm
  • src/lib/tree-sitter-diff/highlights.scm
  • src/lib/tree-sitter-dockerfile/highlights.scm

Those vendored query files are used under the upstream Apache-2.0 license and remain attributed in the source headers.

For Diff and Dockerfile, the rebuild uses the final archived nvim-treesitter commit instead of a moving branch so the query source stays immutable.

HCL and Kotlin are also attributed to nvim-treesitter, but those query files are maintained locally because they are adapted to the npm parser packages used by inktty.

inktty also vendors parser and query assets from upstream grammar repositories when npm packages do not ship a usable parser .wasm for the current loader:

  • src/lib/tree-sitter-diff/tree-sitter-diff.wasm from the-mikedavis/tree-sitter-diff
  • src/lib/tree-sitter-dockerfile/tree-sitter-dockerfile.wasm from camdencheek/tree-sitter-dockerfile
  • src/lib/tree-sitter-sql/tree-sitter-sql.wasm and src/lib/tree-sitter-sql/highlights.scm from derekstride/tree-sitter-sql

The committed parser/query outputs exist so normal installs do not need local Tree-sitter grammar builds, Docker, or Emscripten just to run the app.

The vendored assets are reproducible from pinned upstream revisions with:

bun run highlights-rebuild

The pinned sources and rebuild configuration live in scripts/highlights-vendored.json.

Contributor notes for the highlighting subsystem and rebuild workflow live in docs/highlighting.md.

Font Requirement

inktty assumes a patched Nerd Font in your terminal.

Code block headers use Nerd Font language icons, so terminals without a patched font will render missing-glyph boxes or incorrect symbols.

Themes

inktty ships with tokyo-night, nord, and solarized-dark.

User theme overrides are loaded from ~/.config/inktty/themes/*.toml or $XDG_CONFIG_HOME/inktty/themes/*.toml.

Use t and T in the app to cycle forward and backward through available themes.

Press q to quit.