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

@amansingh-afk/milli

v0.0.6

Published

Pixel-perfect animated ASCII art engine. Images, GIFs, video → terminal, browser, or embedded (Go/Lua/JSON). CLI + web playground.

Downloads

812

Readme

milli

Pixel-perfect animated ASCII art. Images, GIFs, video frames — in your terminal, in the browser playground, or baked into Go / Lua / JSON for embedding in TUIs and Neovim dashboards.

demo

Try in Browser npm GitHub stars License

No install. Drop an image or GIF into the web playground and grab the ASCII / .milli / Go / Lua / JSON output instantly. Same engine as the CLI, all browser-side.

Install

npm install -g @amansingh-afk/milli

Or one-shot without install:

npx @amansingh-afk/milli image pic.png

Requires Node 18+ and a terminal with truecolor (COLORTERM=truecolor). Most modern terminals qualify.

Quick start

# zero-friction: bundled samples ship with the npm package
milli play fire
milli fastfetch jellyfish        # animated logo + fastfetch info, single command

# render any image to ASCII
milli image pic.png

# animated GIF in the terminal
milli play anim.gif

# bake a GIF into a fast-loading .milli file (no sharp at playback time)
milli convert anim.gif anim.milli
milli play anim.milli

# export frames as Lua for Neovim dashboards (use with milli.nvim)
milli export anim.gif ./out -t lua -w 60 --no-bg

# export frames as Go for Bubbletea splashes
milli export anim.gif ./out -t go -p bootsplash -w 50

milli fastfetch jellyfish — bundled animation in fastfetch's logo column, info on the right:

fastfetch-jellyfish

Documentation

| Doc | What's in it | | ---------------------------------- | -------------------------------------------------------------------------------------------------- | | CLI reference | All commands (image / play / convert / export), flags, render modes, export targets | | Recipes | Neovim splash, terminal screensaver, shell MOTD, tmux pane, React embed, Bubbletea, animated fastfetch | | Library API | Programmatic API, .milli format spec, supported input formats | | FAQ | Performance, aspect ratio, transparency, browser usage, common gotchas |

How it compares to chafa

chafa is the quality floor for "image → terminal." milli adds:

  • Pre-baked format.milli for instant playback, ship with your app
  • Source export — Go / Lua / JSON for embedding (chafa is a binary)
  • Programmatic API — use as a Node library
  • Browser bundle — decode + render .milli in React, no Node deps
  • Neovim integration — first-party dashboard plugin
  • Truecolor glyph matching — match mode uses per-glyph MSE, not just dominant color per cell

If you want a one-shot terminal render and chafa is installed — chafa is great. If you want to embed ASCII animation in your product (TUI splash, nvim dashboard, animated fastfetch, dashboard widget), milli is built for that.

Non-goals

  • Not a terminal image protocol. Sixel, kitty, iTerm2 inline images draw pixels. milli draws glyphs.
  • Not a TUI framework. Use ink / blessed / bubbletea / ratatui. milli is a widget.
  • No streaming / webcam. Offline clips only.

License

MIT.