guibranco
progressbar
Python

๐Ÿš€๐Ÿ“Š Generates a dynamic progress bar image in SVG format, perfect for badges, dashboards, and visual indicators. Customize colors, sizes, and progress values with ease!

Last updated Jun 29, 2026
98
Stars
18
Forks
2
Issues
0
Stars/day
Attention Score
41
Language breakdown
Python 100.0%
โ–ธ Files click to expand
README

๐Ÿš€ Dynamic Progress Bar

Generates a dynamic progress bar image (SVG) using Python, deployed freely via Vercel.

๐Ÿ“Š Preview:

Progress Progress Progress

Inspired by fredericojordan/progress-bar.


๐Ÿ”ฅ Other Projects

  • โญ Star Rating Dynamic Star Rating - GoulartNogueira/Star-Rating

๐Ÿ› ๏ธ Usage

This service is deployed on Vercel and accessible via the domain progress-bar.xyz.


โš™๏ธ Parameters

| ๐Ÿ”ง Parameter | ๐Ÿ“œ Description | ๐ŸŽฏ Default Value | | ----------------------- | -------------------------------------------------------------------------- | --------------------- | | title | Adds a title to the progress bar | None | | scale | The maximum value that the progress bar represents | 100 | | prefix | A string to add before the progress number | None | | suffix | A string to add after the progress number | % | | width | The width of the progress bar in pixels | 100 | | color | The color of the progress bar (hex code without #) | 00ff00 (green) | | progress_background | The background color of the progress bar (hex code without #) | ffffff (white) | | progressnumbercolor | The color of the progress number (hex code without #) | ffffff (white) | | progress_color | The color of the progress bar (hex code without #) | Depends on percentage | | show_text | Whether to display or hide the progress text | true | | style | The style. One of: default, flat, square, plastic, for-the-badge | default |

Examples

Below are several examples showcasing different ways to generate progress bars.

| ๐Ÿ“Œ Preview | ๐ŸŒ URL | | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Progress | https://progress-bar.xyz/28/ | | Progress | https://progress-bar.xyz/28/?title=progress | | Progress | https://progress-bar.xyz/58/ | | Progress | https://progress-bar.xyz/58/?title=completed | | Progress | https://progress-bar.xyz/91/ | | Progress | https://progress-bar.xyz/91/?title=done | | Progress | https://progress-bar.xyz/180/?scale=10&title=mark&prefix=R$&suffix= | | Progress | https://progress-bar.xyz/420/?scale=500&title=funds&width=200&color=babaca&prefix=R$&suffix= | | Progress | https://progress-bar.xyz/7/?scale=10&title=mark&suffix=X | | Progress | https://progress-bar.xyz/420/?scale=500&title=funds&width=200&color=babaca&suffix=$ | | Progress | https://progress-bar.xyz/58/?title=colorful&progressbackground=ffc0cb&progressnumbercolor=000 | | Progress | https://progress-bar.xyz/100/?progresscolor=ff3300 | | Progress | https://progress-bar.xyz/100/?width=100&title=Fixed+color&progresscolor=ff3300 | | Progress | https://progress-bar.xyz/28/?showtext=false | | Progress | https://progress-bar.xyz/90/?showtext=false | | Progress from JSON | https://progress-bar.xyz/dynamic/json/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fguibranco%2Fprogressbar%2Fmain%2Fdocs%2Fdynamic-json-sample.json&query=demo.metrics.translationPercent&title=JSON%20Demo | | Progress from JSON | https://progress-bar.xyz/dynamic/json/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fguibranco%2Fprogressbar%2Fmain%2Fdocs%2Fdynamic-json-sample.json&query=demo.metrics.translationPercent |


๐ŸŽจ Styles

We currently support:

| ๐ŸŽจ Style | ๐Ÿ“Œ Preview | ๐ŸŒ URL | | --------------------- | -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | | ๐ŸŸข flat (default) | Progress | https://progress-bar.xyz/100/?style=flat | | ๐Ÿ”ฒ square | Progress | https://progress-bar.xyz/100/?style=square | | ๐Ÿ›ก๏ธ plastic | Progress | https://progress-bar.xyz/100/?style=plastic | | ๐Ÿ”– for-the-badge | Progress | https://progress-bar.xyz/100/?style=for-the-badge | | ๐ŸŽญ thin-rounded (WIP) | Progress | https://progress-bar.xyz/100/?style=thin-rounded | | ๐Ÿชž neo-glass (WIP) | Progress | https://progress-bar.xyz/100/?style=neo-glass | | ๐ŸŽจ minimal-matte (WIP) | Progress | https://progress-bar.xyz/100/?style=minimal-matte |


๐Ÿ“ก Progress from a JSON URL

Besides a fixed value in the path (/75/), you can load the number from a remote JSON file.

Sample JSON file: https://raw.githubusercontent.com/guibranco/progressbar/main/docs/dynamic-json-sample.json

Use query parameters:

| Parameter | Description | | ----------- | ----------- | | url | Required. Address of the JSON document (http or https). Must be URL-encoded in the query string. | | query | Required. JSONPath (e.g. $.items[0].metrics.pct) or dot form from the root (e.g. items.0.metrics.pct). Filter expressions are supported, so you can look up a value by a sibling field instead of a hardcoded index โ€” e.g. $.progress[?(@.data.language.name=='Spanish')].data.translationProgress. | | cache | Optional. Cache-Control max-age in seconds. Default: none (header not set unless provided and > 0). |

Any other parameters from the table above (title, scale, style, โ€ฆ) apply the same way as on /{number}/.


๐Ÿš€ Deployment

Deploy this project to Vercel with a single click:

Deploy with Vercel


๐Ÿค Contributing

Check out CONTRIBUTING.md to learn how to contribute!

๐Ÿ‘ฅ Contributors

guibranco
Guilherme Branco Stracini
nimble-turtle
nimble-turtle
ztest95
ztest95
Pointbr8ker-123
David Nwosu
EduardoBaptista01
Eduardo Baptista
bhosley
bhosley

๐Ÿค– Bots

dependabot[bot]
dependabot[bot]
github-actions[bot]
github-actions[bot]
penify-dev[bot]
penify-dev[bot]
deepsource-autofix[bot]
deepsource-autofix[bot]
snyk-bot
Snyk bot


๐Ÿ“œ License

This project is licensed under the MIT License.

๐Ÿ“„ See LICENSE for details.

ยฉ 2026 GitRepoTrend ยท guibranco/progressbar ยท Updated daily from GitHub