No release in over a year
Terminal Progress is a progress bar manager for Ruby applications. It provides a simple way to display progress updates in the terminal, making it ideal for tasks like seed data generation, file processing, or any operation where progress tracking is ideal.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.1, >= 1.1.0
~> 1.4, >= 1.4.4
 Project Readme

Terminal Progress

Gem (including prereleases) GitHub Packages License

Terminal Progress is a versatile and customizable progress bar manager for Ruby applications. It provides an elegant and interactive way to display progress updates in the terminal, making it ideal for tasks like seed data generation, file processing, or any operation where progress tracking is crucial.

Features

  • Interactive Progress Bars: Enhance your terminal applications with dynamic progress bars that keep users informed about ongoing tasks.

  • Customization: Terminal Progress offers a wide range of customization options, including colors and animations, allowing you to tailor the progress bars to your project's style.

  • Ease of Use: Integrate Terminal Progress seamlessly into your Ruby projects. It's beginner-friendly and designed to make progress tracking a breeze.

Installation

Add this line to your application's Gemfile:

gem 'terminal-progress', '~> 0.1.0'

And then execute

bundle install

Or install it globally with:

gem install terminal-progress

Usage

Here's a quick example of how to use Terminal Progress in your Ruby application:

require 'terminal-progress'

# Create a new progress bar with a maximum value
progress_bar = TerminalProgress.new(100)

# Update and display the progress bar
(0..100).each do |i|
  progress_bar.print_progress("Processing item #{i}")
  sleep(0.1)
end

# Complete the progress and clean up
progress_bar.print_complete

Contributing

Bug reports and pull requests are welcome on GitHub at our Terminal Progress Repository.

License

Terminal Progress is available as open-source software under the MIT License.