progress_bar

Version, currently master branch1 version
  • master branchlatestJan 12, 2026

github.com/mgomes/progress_bar

CLI progress bar library for Crystal

4 stars
2 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  progress_bar:
    github: mgomes/progress_bar
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.0.0
License
MIT
Author
Mauricio Gomes <mauricio@edge14.com>

Dependencies

This version declares no dependencies.

README

# Progress Bar Crystal Shard

A customizable progress bar for Crystal.

* Themeable configuration
* Integrates with `IO::MultiWriter` to display progress based on actual data
* Fiber-safe

## Demo

[![asciicast](https://asciinema.org/a/547245.svg)](https://asciinema.org/a/547245)

## Installation

1. Add the dependency to your `shard.yml`:

   ```yaml
   dependencies:
     progress_bar:
       github: your-github-user/progress_bar
   ```

2. Run `shards install`

## Usage

```crystal
require "progress_bar"
```

See the `examples/` directory for example usage.