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

curl-ascii

v1.1.0

Published

A CLI to make an ASCII animation executable via curl

Downloads

44

Readme

curl-ascii

A CLI to generate a 'curlable' ASCII animation Go project, perfect for fun terminal demos or web-based terminal art!

Features

  • Generate a Go project that prints animated ASCII art in the terminal
  • Easily customize the number of frames and animation speed
  • Make your animation accessible via curl from anywhere

Installation

Install globally using npm:

npm install -g curl-ascii

This will provide the curlme command.


Usage

1. Generate a Go ASCII Animation Project

Run the following command:

curlme now

You will be prompted for:

  • Go project name (directory will be created)
  • Number of frames (max 240)
  • Frames per second (max 120)

Or, to use the default template (4 frames, 5 FPS):

curlme now --default

# Or

curlme now -d

This creates a folder with go.mod and main.go containing your animation.


2. Build the Go Project

Navigate into your new project folder:

cd <your-project-name>

Build the Go binary:

go build -o ascii-anim main.go

3. Make It Curlable

To make your animation accessible via curl, you need to serve the binary over HTTP. The easiest way is to use a simple HTTP server. For example, using Python:

python3 -m http.server 8080

Or with Go:

go install github.com/codeskyblue/gohttpserver@latest
# Then run:
gohttpserver -p 8080

Place your ascii-anim binary in the served directory.

Tip: You can also test your animation locally before serving by running:

go run main.go

and then, in another terminal, run:

curl localhost:8080

4. Host on a Public Site

  • Deploy your binary and HTTP server to a VPS, cloud VM, or a service like Fly.io, Railway, or Render.
  • Make sure the HTTP server is accessible from the public internet.

5. Curl Your Animation!

From anywhere, run:

curl <your-server-url>:8080/ascii-anim | bash

This downloads and runs your animation in the terminal!


Example: Full Workflow

# 1. Generate project
curlme now --default
# 2. Build
cd <your-project-name>
go build -o ascii-anim main.go
# 3. Serve
python3 -m http.server 8080
# 4. On another machine/terminal:
curl http://<your-ip>:8080/ascii-anim | bash

Extra: Ping Command

You can also use:

curlme ping [host]

To send a ping and get a pretty-printed response. (It defaults to go.dev if no host is specified)


License

\

MIT