{"id":13424501,"url":"https://github.com/askn/progress","last_synced_at":"2025-08-20T08:32:38.812Z","repository":{"id":146503133,"uuid":"48616952","full_name":"askn/progress","owner":"askn","description":"[==..] Progress bar for Crystal Programming Language","archived":false,"fork":false,"pushed_at":"2024-04-22T19:54:44.000Z","size":489,"stargazers_count":133,"open_issues_count":1,"forks_count":14,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-10T10:03:39.439Z","etag":null,"topics":["crystal","progress-bar"],"latest_commit_sha":null,"homepage":"","language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/askn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-26T16:35:48.000Z","updated_at":"2024-12-05T20:18:06.000Z","dependencies_parsed_at":"2024-10-24T10:51:31.101Z","dependency_job_id":"11e7dc41-0239-4744-ac94-b6a80af08511","html_url":"https://github.com/askn/progress","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askn%2Fprogress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askn%2Fprogress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askn%2Fprogress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askn%2Fprogress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/askn","download_url":"https://codeload.github.com/askn/progress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230408170,"owners_count":18220974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crystal","progress-bar"],"created_at":"2024-07-31T00:00:55.282Z","updated_at":"2024-12-19T09:07:26.128Z","avatar_url":"https://github.com/askn.png","language":"Crystal","funding_links":[],"categories":["Crystal","Cli Utils"],"sub_categories":[],"readme":"# **[==..]** progress\n\nProgress bar for Crystal\n\n![Colored Progress Bar](/images/colors_progress.gif)\n\n## Installation\n\nAdd this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  progress:\n    github: askn/progress\n```\n\n## Usage\n\n```crystal\nrequire \"progress\"\n\nbar = ProgressBar.new\nbar.width = 40\n\nuntil bar.done?\n  bar.inc\n  sleep 0.1\nend\n```\n\n![Simple Progress Bar](/images/simple_progress.gif)\n\n## Functions\n\n`inc`: a step increase to current tick and print\n\n`tick(n)`: add to current tick and print\n\n`set(n)`: Set current tick and print\n\n`done`: finish and print\n\n`done?`: is done ?\n\n`current`: current tick number\n\n`percent`: completion percentage\n\n## Options\n\n`complete`: completion character\n\n`incomplete`: completion character\n\n`step`: default 1\n\n`width`: the displayed width of the progress bar (default: 100)\n\n`total`: total ticks (default: 100)\n\n`use_stdout`: if true, write progress bar to standard output, otherwise standard error (default: false)\n\n## TODO\n\n- [ ] Bar format\n- [ ] Multiple bar\n- [ ] Max bar width\n\n## Contributing\n\n1. Fork it ( https://github.com/askn/progress/fork )\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create a new Pull Request\n\n## Contributors\n\n- [askn](https://github.com/askn) Aşkın Gedik - creator, maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faskn%2Fprogress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faskn%2Fprogress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faskn%2Fprogress/lists"}