Skip to main content

Retro NFO/keygen-style banner generator (CLI + library).

Project description

🎨 NFO Art

PyPI Python Versions License: MIT

NFO Art is a retro-inspired Python library + CLI that generates banners styled like classic .NFO and keygen cracktro art from the 80s/90s warez scene.

It supports Unicode/ANSI/ASCII art, optional color gradients, and .nfo file output in CP437 encoding for true nostalgia.


🚀 Installation

# Basic install
pip install nfo-art

# With FIGlet support (fancier fonts)
pip install nfo-art[figlet]

🖥️ CLI Usage

Pipe text in via stdin and style it:

echo "securityshrimp" | nfo-art --border double --gradient cyan

Options

  • --preset : unicode | ansi | ascii
  • --border : double | single | ascii | none
  • --gradient : none | mono | cyan | magenta | grey | gradient | sunset
  • --figlet-font : Use any FIGlet font (requires pyfiglet)
  • --nfo : Add release metadata (release, group, supplier, etc.)
  • --save-nfo file.nfo : Save CP437 .nfo file (ANSI stripped, ASCII fallback)
  • --python : Output Python print() snippet
  • --save-py file.py : Save snippet directly to file
  • --max-width : ANSI-aware wrapping
  • --no-color : Strip all color/bold codes
  • --network-safe : Cisco/Fortinet compatible (ASCII only, no color)

Example

echo "NFO-MAKER" | nfo-art --nfo   --group "w00w00"   --release "Ghost Shrimp Keygen Deluxe Art Maker"   --cracked-by "f8al"   --title "Crustacean Release"   --preset unicode --border double --gradient gradient   --save-py banner.py --save-nfo banner.nfo

🐍 Library Usage

from nfo_art import NFOArtOptions, make_art, make_art_string, save_py_snippet, save_nfo_file

# Simple banner
opts = NFOArtOptions(border="double", gradient="cyan")
print(make_art_string("SECURITYSHRIMP", opts))

# With NFO metadata
opts = NFOArtOptions(
    preset="unicode", border="double", gradient="gradient",
    nfo=True, group="w00w00",
    release="Ghost Shrimp Keygen Deluxe",
    cracked_by="f8al",
    notes="For educational demos only."
)
print(make_art_string("NFO-MAKER", opts))

# Save outputs
lines = make_art("securityshrimp", opts)
save_py_snippet("banner.py", lines)   # Python snippet with ANSI \x1b escapes
save_nfo_file("banner.nfo", lines)    # Pure CP437 .nfo file

🛠️ Development

Clone and install in editable mode:

git clone https://github.com/f8al/nfo-art.git
cd nfo-art
pip install -e .[figlet]

Run CLI locally:

echo "HELLO" | python -m nfo_art.cli --gradient magenta

📜 License

MIT © 2025 Security Shrimp LTD, LLC (@securityshrimp)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nfo_maker-1.0.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nfo_maker-1.0.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file nfo_maker-1.0.0.tar.gz.

File metadata

  • Download URL: nfo_maker-1.0.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for nfo_maker-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6a391c82dab5d0ad35e9ecfa52d2c99e750f9b0c7e3ea34b62cd2132a053eacd
MD5 8266cec0684311276ef73b0ae473c311
BLAKE2b-256 bb3a61a2af42cb98ae0470f0872894d494c7b61a08ba7c755673672f09659a55

See more details on using hashes here.

File details

Details for the file nfo_maker-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nfo_maker-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for nfo_maker-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 134c83211c7ad5fc10606f19949bf6d46c5c83a1efbc6759de72396492967fe4
MD5 580726fac97155a14288c57eff481cf4
BLAKE2b-256 b0c94513cc2fd40148fb482430850082ecdd698b466fedc625f02405146122bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page