{"id":22300085,"url":"https://github.com/rohitedathil/consolebars","last_synced_at":"2025-07-29T02:31:27.397Z","repository":{"id":46117259,"uuid":"427570027","full_name":"RohitEdathil/ConsoleBars","owner":"RohitEdathil","description":"A dart library to create Progress Bars in console.","archived":false,"fork":false,"pushed_at":"2023-08-27T06:31:55.000Z","size":308,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-27T07:35:13.665Z","etag":null,"topics":["dart","hacktoberfest","library","progress-bar","pubdev","terminal"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RohitEdathil.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-13T04:41:15.000Z","updated_at":"2023-08-27T07:35:13.665Z","dependencies_parsed_at":"2023-01-29T17:45:16.102Z","dependency_job_id":null,"html_url":"https://github.com/RohitEdathil/ConsoleBars","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitEdathil%2FConsoleBars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitEdathil%2FConsoleBars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitEdathil%2FConsoleBars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitEdathil%2FConsoleBars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RohitEdathil","download_url":"https://codeload.github.com/RohitEdathil/ConsoleBars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227971987,"owners_count":17849421,"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":["dart","hacktoberfest","library","progress-bar","pubdev","terminal"],"created_at":"2024-12-03T18:09:07.471Z","updated_at":"2024-12-03T18:09:08.459Z","avatar_url":"https://github.com/RohitEdathil.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Pub Version (including pre-releases)](https://img.shields.io/pub/v/console_bars?include_prereleases)\n![GitHub last commit](https://img.shields.io/github/last-commit/RohitEdathil/ConsoleBars)\n![GitHub language count](https://img.shields.io/github/languages/count/RohitEdathil/ConsoleBars)\n![GitHub top language](https://img.shields.io/github/languages/top/RohitEdathil/ConsoleBars)\n\nA package for creating an awesome progress bar in the terminal. Handy while developing a CLI or a desktop utility in dart.\n\n### [See in pub.dev](https://pub.dev/packages/console_bars)\n\n## Usage\n\nOptions:\n\n- `total` : Total number of steps\n- `desc `: Simple text shown before the bar (optional)\n- `space` : Character denoting empty space (default : '.')\n- `fill `: Character denoting filled space (default : '█')\n- `time `: Toggle timing mode (default : false)\n- `percentage` : Toggle percentage display (default : false)\n- `scale` : Scale of the bar relative to width (between: 0 and 1, default: 0.5, Irrelavant if width is specified)\n- `width` : Width of the bar (If not specified, it will be automatically calculated using the terminal width and scale)\n\nCode:\n\n```dart\nfinal p = FillingBar(desc: \"Loading\", total: 1000, time: true, percentage:true);\n  for (var i = 0; i \u003c 1000; i++) {\n    p.increment();\n    sleep(Duration(milliseconds: 10));\n  }\n```\n\nResult:\n\n![Animation](https://github.com/RohitEdathil/ConsoleBars/blob/master/img/Animation.gif)\n\n```\nLoading : ████████████████████████████████████████.................... 673/1000 67.3% [ 0:00:13.28 / 0:00:06.45 ]\n```\n\n**Note:** You can use the `total` and `desc` setters to change the total number of steps and description mid-way.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitedathil%2Fconsolebars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohitedathil%2Fconsolebars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitedathil%2Fconsolebars/lists"}