{"id":13804886,"url":"https://github.com/Waqar144/progressbar","last_synced_at":"2025-05-13T18:32:59.797Z","repository":{"id":48978567,"uuid":"220035059","full_name":"Waqar144/progressbar","owner":"Waqar144","description":"An easy to use V library for creating progress bar","archived":false,"fork":false,"pushed_at":"2023-03-14T17:20:43.000Z","size":52,"stargazers_count":30,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-18T21:46:46.102Z","etag":null,"topics":["command-line-tool","v"],"latest_commit_sha":null,"homepage":null,"language":"V","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/Waqar144.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}},"created_at":"2019-11-06T15:58:09.000Z","updated_at":"2024-07-13T18:03:11.000Z","dependencies_parsed_at":"2024-01-27T09:48:30.287Z","dependency_job_id":null,"html_url":"https://github.com/Waqar144/progressbar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waqar144%2Fprogressbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waqar144%2Fprogressbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waqar144%2Fprogressbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waqar144%2Fprogressbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Waqar144","download_url":"https://codeload.github.com/Waqar144/progressbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254003463,"owners_count":21997891,"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":["command-line-tool","v"],"created_at":"2024-08-04T01:00:54.994Z","updated_at":"2025-05-13T18:32:59.535Z","avatar_url":"https://github.com/Waqar144.png","language":"V","readme":"## Intro\n\nProgress bar is a small module written in [vlang](https://github.com/vlang/v) to create progress bar on cli. It's a port of [doches/progressbar](https://github.com/doches/progressbar). It aims to provide complete functionality of the original project.\n\nCurrently only progress bar has been implemented and nothing is being exported.\n\n![](screenshots/screenshot.png)\n\n## Usage\n\n### Statusbar\n```\nimport statusbar\nfn main() {\n    s := statusbar.new_statusbar('Label')\n    go s.start()\n    //logic..\n    s.finish()\n}\n```\n\n### Progressbar\n`demo.v` gives an overview of how to use this module.\nExample:\n```\nimport progressbar\n\nfn main() {\n  p := progressbar.Progressbar{}\n  steps := 50\n  p.new('Label', steps)\n  for i := 0; i \u003c steps; i++ {\n      // logic...\n        p.increment()\n  }\n}\n//when you are done call finsih()\np.finish()\n```\nYou can pass in your own style using `new_with_format(label string, max int, format []byte]` instead of `new()`:\n```\np.new_with_format('Your Label', num_steps, [`O`,`.`,`O`]\n```\nOutput:\n```\nYour Label O...................O ETA0h0m0s\n```\n\n## Building\n\nFirst clone the repo\n\n```\nhttps://github.com/Waqar144/progressbar.git\n```\n\nThen\n\n```\ncd progressbar\nv build progressbar.v\n```\nOr if you want to build it as a module\n```\nv build module ~/path/to/dir/progressbar\n//to build the stausbar module\nv build module ~/path/to/dir/statusbar\n```\n### Running the demo\n```\nv run demo.v\n```\n\n## Contributing\nFeel free to clone and contribute. All contributions are welcome.\n\n## License\nMIT\n","funding_links":[],"categories":["Libraries"],"sub_categories":["Command line interface (CLI) / Terminal / Shell"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWaqar144%2Fprogressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWaqar144%2Fprogressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWaqar144%2Fprogressbar/lists"}