Show HN: Pbar.io – Distributed progress bars that work in terminals and browsers (pbar.io)
I built pbar.io because I was tired of SSH'ing into servers to check if my data processing scripts were still running, or worse, having them finish/crash without knowing.
It's a simple REST API that lets you create and update progress bars from anywhere. The same progress bar can be viewed as terminal output (with ANSI colors), in a browser, or consumed as JSON.
I'm actually tracking this HN discussion with pbar. The progress bar increases with each comment - watch it live as we discuss!
Web: https://pbar.io/Y8yg3BG Terminal: curl https://pbar.io/api/bars/Y8yg3BG
More features that emerged from my own use cases: - Hierarchical progress bars (parent bars auto-aggregate children) - Python package (pip install pbar-io) that wraps tqdm - just swap the import - QR codes to monitor progress on your phone while away from desk - No auth required for quick prototypes
Curious what use cases you might have for this!
10 comments
[ 3.8 ms ] story [ 31.1 ms ] threadI must admit that idea behind this project is nice, but I'm not going to get dependent on someone else's infrastructure (and I think I'm not the only one thinking that way), can I host it myself or is the source not available? I don't see any links to sources or github, so decided to just ask here (and to also make the 1st comment here to see if your link would work now).
Although the practical use case is unclear.
That being said, I almost immediately ran into 429: Too Many Requests.
Like, yeah, I started making a ton of `{increment: 1}` requests that are getting dropped. What's the bottleneck? Simultaneous DB writes?
Edit: I do want to reiterate that I think this is a great concept, especially in a "Shift Left" era in which agentic tools are exposing non-technical roles to the domain of workflow automation and async job queue management.
I was thinking that sharing and monitoring progress is more useful for longer processes where an update every 10 or 30 seconds could be enough in most cases. What’s your use case?
Alternatively, I’ll clean up and open source the code soon. Then you can run the service yourself without rate limiting if you like.