{"id":13564169,"url":"https://github.com/mitchellh/ioprogress","last_synced_at":"2025-04-03T21:30:27.729Z","repository":{"id":24256996,"uuid":"27650676","full_name":"mitchellh/ioprogress","owner":"mitchellh","description":"Go (golang) package for progress bars around io.Reader/Writers.","archived":true,"fork":false,"pushed_at":"2021-10-30T02:37:19.000Z","size":10,"stargazers_count":501,"open_issues_count":2,"forks_count":33,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-01T16:06:05.604Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc","language":"Go","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/mitchellh.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}},"created_at":"2014-12-06T22:04:04.000Z","updated_at":"2024-11-28T16:30:23.000Z","dependencies_parsed_at":"2022-08-22T14:31:04.434Z","dependency_job_id":null,"html_url":"https://github.com/mitchellh/ioprogress","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/mitchellh%2Fioprogress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fioprogress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fioprogress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fioprogress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitchellh","download_url":"https://codeload.github.com/mitchellh/ioprogress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247082803,"owners_count":20880722,"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":[],"created_at":"2024-08-01T13:01:27.467Z","updated_at":"2025-04-03T21:30:27.444Z","avatar_url":"https://github.com/mitchellh.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# ioprogress\n\nioprogress is a Go (golang) library with implementations of `io.Reader`\nand `io.Writer` that draws progress bars. The primary use case for these\nare for CLI applications but alternate progress bar writers can be supplied\nfor alternate environments.\n\n## Example\n\n![Progress](http://g.recordit.co/GO5HxT16QH.gif)\n\n## Installation\n\nStandard `go get`:\n\n```\n$ go get github.com/mitchellh/ioprogress\n```\n\n## Usage\n\nHere is an example of outputting a basic progress bar to the CLI as\nwe're \"downloading\" from some other `io.Reader` (perhaps from a network\nconnection):\n\n```go\n// Imagine this came from some external source, such as a network connection,\n// and that we have the full size of it, such as from a Content-Length HTTP\n// header.\nvar r io.Reader\n\n// Create the progress reader\nprogressR := \u0026ioprogress.Reader{\n\tReader: r,\n\tSize:   rSize,\n}\n\n// Copy all of the reader to some local file f. As it copies, the\n// progressR will write progress to the terminal on os.Stdout. This is\n// customizable.\nio.Copy(f, progressR)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fioprogress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchellh%2Fioprogress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fioprogress/lists"}