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

command-line-player

v0.0.1

Published

Play screencast files in a terminal and record it as a gif, webm, or ogg video.

Readme

Command Line Player

The cmdline-player script plays back files ending in .scr and starts a recording with byzanz-record. GIF output is created by default but byzanz supports other formats.

Example: cmdline-player kthw-2.scr - will start a playback and recording session. The animated GIF file will be saved as screencast.gif.

To record a in a different format supported by byzanz-record, change the 'EXT' variable at the top of 'cmdline-player'. Byzanz supports gif, ogg or webm.

With the '-c' option this script will also create the Markdown format files and transcripts, and move the video to an 'images' directory.

All screencasts in my-own-kind were created with the cmdline-player.

Usage

$ cmdline-player -h
cmdline-player - play commands from a .scr file.\n'

Usage: cmdline-player [ -hq ] | [ [-wn] FILE ]

  FILE - The name of the file containing screencast and shell commands.
  -h
  --help - This help text.
  -w
  --window "NAME" - Specify the NAME of the window to record.
  -n
  --norecord - Don't record the playback.
  -q
  --query - Retrieve the name of a window by clicking on it.
  -c
  --create-mds "NAME"  - Create a markdown file named NAME from the screencast
                         file. NAME can contain the full path and file name.
                         Paths not starting with '/' are relative to the
                         current working directory. A transcript file is
                         also created in the same directory. The video is
                         moved to a directory named 'images' in the current
                         directory.

Examples:

Choose a window to record and start playing back all of KTHW:

  $ # In the terminal to be recorded:
  $ while true; do screen -r -e ^Oo screencast; sleep .5; done
  $ # In the controller terminal:
  $ cd kubernetes-the-hard-way-in-containers/kthw-docker/
  $ wname=$(cmdline-player -q)
  $ for i in {2..14}; do cmdline-player -w "$wname" -c kthw/kthw-$i.md screencasts/kthw-$i.scr <<<"\n"; sleep 1; done

Create a single screencast recording:

  $ cmdline-player install-mokctl-linux.scr