Classic Unix banner command on steroids with TTF support and more.
Project description
▙▄▄ ▗▟█▙ ▟█▙ ▐▄▄ ▄▄▄▄▄▄▄▄▄█ ▗█ ▙▄▖
▜██████████▄▖ ▀ ▀ ▗█ ▝█████████▙▄ ▗▟██████████▀▚▖ ▗▄█████████▛ ▜█████████▙▄
█▙▄▀▀▀▀▀▀█████▖ ▗▄███████████ █▄▄▀▀▀▀▜█████ ████▀ ▗███▌ ▟██████▀▀▀▀▄▄█▌ █▙▄▛▀▀▀▀▜████▌
████ ▟███▌ ▟████▀ ▀▀▀▀▄▌ ████ ████ ████▖ ▐███▌ ████▀ ▄████▌ ████ ▐███▌
██████████████ ████ ▐███▌ ████ ████ ▝█████████████▌ ██████████████▌ ████▄▄▄▄▄▟███▌
████ ▝▜███▌ ████ ▐███▌ ████ ████ ▀▀▘ ▀███▌ ████▙▖ ▄▄▄ ████████████▀
████ ▟███▌ ████▖ ▟███▌ ████ ████ ▄▄ ███▘ ▝▜████████████ ████ ▝███▙
██████████████ ▝█████████████▌ ▄▄▄▄ ▄▄▄▄ ▜▄▄▄▟███████ ▝▀▀▀▀▀▀▀▀▀▀▘ ████ ▜███▖
▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▝▀▀▀▘ ▝▘▝▘ ▝▘▝▘ ▐█▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀ ▝▀▀▀▘
┅┅┅ Your banner deserves to be a bänger ┅┅┅┅┅┅ https://github.com/MarcinOrlowski/banger ┅┅┅
What it is?
Bänger (pronounced just banger) is a modern tribute to the classic Unix banner command line
utility that produces text banners, with additional features added a top: multiple built-in ASCII
character set and support for rendering any TTF/OTF font with Unicode!
Key Features
- Endless font options: use any TTF/OTF font installed on your system,
- Better typography with proportional spacing that saves significant screen space,
- Compatible with original Unix
bannertool, - and moar!
Quick start
Create a banner with the default font:
$ banger "Hello World"
█ █ ▀█ ▀█ █ █ ▀█ █
█▀▀█ ▄▀▀▄ █ █ ▄▀▀▄ █ █ ▄▀▀▄ █▄▀ █ ▄▀▀█
█ █ █▀▀ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ ▀▄▄▀ ▄█▄ ▄█▄ ▀▄▄▀ █▀ ▀█ ▀▄▄▀ █ ▄█▄ ▀▄▄▀
NOTE: to maintain behavior of the original banner command, you need to quote the text to keep it
as a single argument. Otherwise, the command will split the text into one word per line.
Using TTF/OTF fonts
Bänger can also use any TTF/OTF font installed on your system and convert it to beautiful
ASCII art using Unicode quadrant blocks. Let's use TTF font of size 70pt and squeeze final banner
into 10 terminal lines:
$ banger --ttf-font ~/.fonts/j/JetBrainsMonoNL_Regular.ttf --ttf-size 70 --ttf-lines 10 DäNgęR
█████████▙▄▄ ▐███ ▐██▌ ████▙ ███ ▗▄██████▄▐██▌ ▗▄▟██████▙▄▖ ██████████▙▄▄
██▌ ▀▜██▖ ███▜█▙ ███ ▟██▛▘ ▝▜██▌ ▟██▛ ▜██▙ ███▌ ▀███▖
██▌ ▝███ ▄▄▄▄▄▄▄▄▄ ███ ▜██▖ ███ ███ ▐██▌ ███▄▄▄▄▄▄▄▄███ ███▌ ▐██▌
██▌ ███ ▟██▀▀▘ ▝▀▀██▙ ███ ▜██▖ ███ ███▖ ▐██▌ ███▀▀▀▀▀▀▀▀▀▀▀ ███▌ ▗▄██▛▘
██▌ ███ ▄▄▄▄▄▄▄███▌ ███ ▜██▖ ███ ▐██▙▖ ▄▟██▌ ▜██▖ ▗▄▄▄ ██████████▀▀▘
██▌ ███ ▗▟██▀▀▀▀▀▀▀███▌ ███ ▜██▖ ███ ▝▀▜████▛▀▐██▌ ▀███▄▄▄▄▟██▀▘ ███▌ ▜██▙
██▌ ▐██▛ ███ ███▌ ███ ▀██▖███ ▐██▌ ▝▀▜█▛▀ ███▌ ▝███▖
██▙▄▄▄▄▄▄███▀ ▜██▙▄▄▄▄▄▄█▜██▌ ███ ▝█████ ▗▄▄▄▄▄▄▄███▘ ▐█▙ ███▌ ▝▜██▙
▀▀▀▀▀▀▀▀▀▘ ▝▀▀▀▀▀▀ ▝▀▀▘ ▀▀▀ ▝▀▀▀▀ ▝▀▀▀▀▀▀▀▀ ▝▀▀▀▀▘ ▀▀▀▘ ▀▀▀▘
Further reading
License
- Written and copyrighted ©2025 by Marcin Orlowski https://marcinOrlowski.com
- Bänger is the open-sourced software licensed under the MIT license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file banger-1.0.0.tar.gz.
File metadata
- Download URL: banger-1.0.0.tar.gz
- Upload date:
- Size: 45.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
689b526d581cda90880575cf725636c9166a992cb433132b653f6e503af9dfff
|
|
| MD5 |
141381c06f3b0010ea63b964cdbd5033
|
|
| BLAKE2b-256 |
5769f21b3c9e17a71c0aec089ffb1d999d687d8f21724a81f98fa030374ebc37
|
File details
Details for the file banger-1.0.0-py3-none-any.whl.
File metadata
- Download URL: banger-1.0.0-py3-none-any.whl
- Upload date:
- Size: 43.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f87ade027da67b8cc22da22b118c75f4684d9fcc4d67f431cfffb575112402f
|
|
| MD5 |
1eb7d5c197a11b2124d74ac899654cdc
|
|
| BLAKE2b-256 |
138311a3a3026d653a0833abffdf9fbc1a43273800f3c196bd3433776733abcd
|