A very simple thread-safe progress bar that should work on every OS without problems. I needed a progress bar for croc and everything I tried had problems, so I made another one. In order to be OS agnostic I do not plan to support multi-line outputs. The progressbar implements an io.Writer, so it can automatically detect the number of bytes written to a stream, so you can use it as a progress bar for an io. Reader. A progress bar with an unknown length is a spinner. Any bar with -1 length will automatically convert it to a spinner with a customizable spinner type. For example, the above code can be run and set the resp.ContentLength to -1. There is a lot of customization that you can do - change the writer, the color, the width, the description, the theme, etc.

Features

  • The progressbar implements an io.Writer
  • Basic thread-safe progress bar
  • For Golang applications
  • Automatically detect the number of bytes written to a stream
  • You can use it as a progressbar for an io.Reader
  • Progress bar with unknown length

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow progressbar

progressbar Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of progressbar!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-01-17