siga
Progress bars that keep filling after they are printed.
Σιγά-σιγά (siga-siga) is how Cyprus says "slowly, slowly", and how it lives. Nobody rushes the coffee, the afternoon or the man in the shade. Things get done in their own time, and that's fine — as long as you can see them getting done.
siga brings that to your terminal. Claude writes one bar, once, and it fills in place while the job runs — no stream of "still building… 40%… 70%…". It keeps filling even after that line scrolls up. Glance over, finish your coffee.
Install
In Claude Code 2.1.275+:
/plugin marketplace add souvlakeee/siga
/plugin install siga@siga
/reload-plugins
/siga:setup
/siga:setup installs a font and a Ghostty shader (shown first, backed up). Kitty needs nothing. Python 3.11+, standard library only.
How it works
A terminal never redraws text it has already printed. siga changes one thing anyway: in Ghostty the bar is a row of glyphs that a small GPU shader repaints every frame from a value siga sends as an OSC 4 palette color; in Kitty the bar is an image siga re-uploads in place. So the bar is a live region inside a line that was printed once. In Claude Code a hook swaps the ⟦bar⟧ token for the bar on screen and wraps build commands so siga can read their progress.
Config
Wrap patterns are TOML, under [wrap]. Three files merge, in order: the bundled defaults, your ~/.config/siga/config.toml (all projects), and a repo-local siga.toml committed with one project.
# siga.toml
[wrap]
# piped through `siga pipe` (the default)
pipe = [
'^mise\s+run\s+(deploy|build|test)',
'^make\b',
'^docker\s+build\b',
]
# run on a pseudo-terminal, for tools that only draw a bar on a terminal
pty = [
'^cargo\s+(build|test)',
'^(npm|bun)\s+install\b',
]
Build-like commands (npm, cargo, go, make, docker, pytest, curl -o, rsync, git clone, ffmpeg, …) are wrapped out of the box, their output and exit code unchanged. A command that prints 12/40, 45% or ffmpeg time= fills exactly.
A command that prints no progress at all still gets a bar: siga remembers how long it took (the median of its last 5 runs) and fills by that, holding at 90% until it exits — so the second run of your build or deploy has a real bar.
For one-off commands:
| Your command… | Use |
|---|---|
prints 12/40 or 45% |
siga run -- ./build.sh |
| draws its bar only on a terminal | siga run --pty -- cargo build |
| uses tqdm, rich, click, cli-progress | siga run --shim -- python train.py |
| prints nothing useful | siga run -- make (learns the duration) |
| is your own script | siga set 3/10, then siga done / siga fail |
| must stay in a pipe | tool 2>&1 | siga pipe; siga end $? |
30 tested examples: shell tools, build tools, Python, Node, Go, Rust, OSC 9;4
| Family | Tool | Command | Example |
|---|---|---|---|
| Shell tools | curl | siga run -- curl --limit-rate 8M -o big.bin "$URL" |
curl.sh |
| Shell tools | curl -# | siga run -- curl -# --limit-rate 8M -o big.bin "$URL" |
curl_bar.sh |
| Shell tools | ffmpeg | siga run -- ffmpeg -y -re -i in.mp4 -c:v libx264 -preset ultrafast out.mp4 |
ffmpeg.sh |
| Shell tools | git clone | siga run -- git clone --progress "file://$WORK/origin.git" copy |
git.sh |
| Shell tools | any command, piped | build 2>&1 | siga pipe; siga end $? |
pipe_anything.sh |
| Shell tools | a failing piped command ends red, with its own exit code | build 2>&1 | siga pipe; siga end $? |
pipe_fail.sh |
| Shell tools | pv | siga run -- sh -c 'pv -f -i 0.5 -L 8m f1.bin > copy.bin' |
pv.sh |
| Shell tools | rsync | siga run -- rsync -a --info=progress2 --bwlimit=8m src/ dst/ |
rsync.sh |
| Shell tools | a custom script with named steps | siga run --step '^==> ' --steps 5 -- ./deploy.sh |
steps.sh |
| Shell tools | wget | siga run -- wget --limit-rate=8m --progress=bar:force -O big.bin "$URL" |
wget.sh |
| Shell tools | yt-dlp | siga run -- yt-dlp --newline --limit-rate 8M -o video.bin "$URL" |
yt-dlp.sh |
| Build tools | cargo build | siga run --pty -- cargo build |
cargo.sh |
| Build tools | docker build | siga run -- docker build --progress=plain --no-cache -t siga-demo . |
docker.sh |
| Build tools | make | siga run -- make |
make_eta.sh |
| Build tools | pytest -v | siga run -- pytest -v |
pytest.sh |
| Python libraries | alive-progress | siga run --pty -- python alive_demo.py |
alive.sh |
| Python libraries | click.progressbar | siga run --pty -- python click_demo.py |
click.sh |
| Python libraries | rich | siga run --pty -- python rich_demo.py |
rich.sh |
| Python libraries | rich, exact values via --shim | siga run --shim -- python rich_demo.py |
rich_shim.sh |
| Python libraries | tqdm | siga run -- python tqdm_demo.py |
tqdm.sh |
| Node libraries | cli-progress | siga run --pty -- node cli_progress_demo.js |
cli_progress.sh |
| Node libraries | cli-progress, exact values via --shim | siga run --pty --shim -- node cli_progress_demo.js |
cli_progress_shim.sh |
| Node libraries | progress | siga run --pty -- node progress_demo.js |
progress.sh |
| Go libraries | vbauerster/mpb | siga run --pty -- ./demo |
mpb.sh |
| Go libraries | cheggaaa/pb | siga run --pty -- ./demo |
pb.sh |
| Go libraries | schollz/progressbar | siga run --pty -- ./demo |
schollz.sh |
| Rust libraries | indicatif | siga run --pty -- ./target/debug/indicatif-demo |
indicatif.sh |
| OSC 9;4 emitters | cargo's own OSC 9;4 | CARGO_TERM_PROGRESS_TERM_INTEGRATION=true siga run --pty -- cargo build |
cargo.sh |
| OSC 9;4 emitters | OSC 9;4 from Python | siga run -- python3 job.py |
python.sh |
| OSC 9;4 emitters | OSC 9;4 from a shell script | work | siga pipe; siga end $? |
shell.sh |
bin/siga selftest runs all of them offline.
Works in Ghostty 1.3+ and Kitty 0.49+, including through herdr. Tested on macOS; Linux should work, Windows is TBD. Full mechanism: docs/HOW_IT_WORKS.md.
Without Claude Code: git clone https://github.com/souvlakeee/siga && cd siga, then bin/siga setup --apply and bin/siga run -- cargo build.
Limitations
- Up to four independent bars per window: each
⟦bar⟧keeps its own state, so a finished bar freezes while the next fills. Jobs still run one at a time; a fifth bar recycles the oldest slot. Under Ghostty + herdr the four are shared across the panes of one window (herdr composites them into one Ghostty palette), so >4 bars live at once across panes recycle. On Kitty all bars share one image. siga off/siga onpause the hooks;siga setup --removeuninstalls.
Thanks
ghostty-blackhole (shader input via a color escape), Kitty's Unicode placeholders, Fira Code (the first progress glyphs in a font).
License
MIT
Metadata
Release files for siga 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| siga-0.4.0.tar.gz | 85.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| siga-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 152.6 kB
Release files / siga-0.4.0.tar.gz
| Download URL | siga-0.4.0.tar.gz |
|---|---|
| Size | 85.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7497eab413b50e5796df7dcecbc2f44ef8bba76dbaf76e2fa4573bfaaecc703
|
|
BLAKE2b-256 checksum How to use checksums |
16b94604acf51e9f3be8348d83e682207d5bf1c467b7bac34ef9fffed57d590a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / siga-0.4.0-py3-none-any.whl
| Download URL | siga-0.4.0-py3-none-any.whl |
|---|---|
| Size | 67.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a2960048c8ecccbeca94cbff83e632632c8923d5af45cdb43d3aec62726874b
|
|
BLAKE2b-256 checksum How to use checksums |
92eba89ec22378ac8d6eed7cada3a19186a0ed0c67e92140f442ae8439955ef5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for siga 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.