All Projects → askn → Progress

askn / Progress

Licence: mit
[==..] Progress bar for Crystal Programming Language

Programming Languages

crystal
512 projects

Projects that are alternatives of or similar to Progress

Circle Progress View
Animated circular progress view for Android
Stars: ✭ 1,185 (+855.65%)
Mutual labels:  progress-bar
React Native Loading Spinner Overlay
💈 React Native loading spinner overlay
Stars: ✭ 1,369 (+1004.03%)
Mutual labels:  progress-bar
Goalprogress
💯 Animated progress bar using jQuery to show how close you are to reaching your goal.
Stars: ✭ 109 (-12.1%)
Mutual labels:  progress-bar
Boxloaderview
Stars: ✭ 76 (-38.71%)
Mutual labels:  progress-bar
Delayedprogress
ProgressDialog that waits a minimum time to be dismissed before showing. Once visible, the ProgressDialog will be visible for a minimum amount of time to avoid "flashes" in the UI.
Stars: ✭ 95 (-23.39%)
Mutual labels:  progress-bar
Vue Css Donut Chart
Lightweight Vue component for drawing pure CSS donut charts
Stars: ✭ 104 (-16.13%)
Mutual labels:  progress-bar
Static Progress Bar
Custom static progress bar for Android where you can set your own shape and color.
Stars: ✭ 71 (-42.74%)
Mutual labels:  progress-bar
Bar Of Progress
A small, easy & zero-dependency progress bar component
Stars: ✭ 116 (-6.45%)
Mutual labels:  progress-bar
Terminal layout
The project help you to quickly build layouts in terminal,cross-platform(一个跨平台的命令行ui布局工具)
Stars: ✭ 98 (-20.97%)
Mutual labels:  progress-bar
Prognroll
A tiny, lightweight jQuery plugin that creates scroll progress bar on the page.
Stars: ✭ 108 (-12.9%)
Mutual labels:  progress-bar
Mpb
multi progress bar for Go cli applications
Stars: ✭ 1,221 (+884.68%)
Mutual labels:  progress-bar
Yurnalist
An elegant console reporter, borrowed from Yarn
Stars: ✭ 88 (-29.03%)
Mutual labels:  progress-bar
Spinner
Go (golang) package with 90 configurable terminal spinner/progress indicators.
Stars: ✭ 1,637 (+1220.16%)
Mutual labels:  progress-bar
Vue Scroll Progress Bar
Vue.js plugin for page scroll progress bar
Stars: ✭ 76 (-38.71%)
Mutual labels:  progress-bar
Indicators
Activity Indicators for Modern C++
Stars: ✭ 1,838 (+1382.26%)
Mutual labels:  progress-bar
Node Status
Nodejs stdout status and progress bar. Multi-item, various display types.
Stars: ✭ 71 (-42.74%)
Mutual labels:  progress-bar
Ruby Progressbar
Ruby/ProgressBar is a text progress bar library for Ruby.
Stars: ✭ 1,378 (+1011.29%)
Mutual labels:  progress-bar
Progress Bar
📊 Flask API for SVG progress badges
Stars: ✭ 122 (-1.61%)
Mutual labels:  progress-bar
Hibiscus.js
Native Angular directives for Bootstrap4
Stars: ✭ 115 (-7.26%)
Mutual labels:  progress-bar
Bgradualprogress
可实现多种渐变、直角or弧角、进度条、加载条 (Various gradient, right or arc angle, progress bar and loading bar can be realized)
Stars: ✭ 108 (-12.9%)
Mutual labels:  progress-bar

[==..] progress

Progress bar for Crystal

Colored Progress Bar

Installation

Add this to your application's shard.yml:

dependencies:
  progress:
    github: askn/progress

Usage

require "progress"

bar = ProgressBar.new
bar.width = 40

until bar.done?
  bar.inc
  sleep 0.1
end

Simple Progress Bar

Functions

inc: a step increase to current tick and print

tick(n): add to current tick and print

set(n): Set current tick and print

done: finish and print

done?: is done ?

current: current tick number

percent: completion percentage

Options

complete: completion character

incomplete: completion character

step: default 1

width: the displayed width of the progress bar (default: 100)

total: total ticks (default: 100)

use_stdout: if true, write progress bar to standard output, otherwise standard error (default: false)

TODO

  • [ ] Bar format
  • [ ] Multiple bar
  • [ ] Max bar width

Contributing

  1. Fork it ( https://github.com/askn/progress/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • askn Aşkın Gedik - creator, maintainer
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].