krz/nfogen

A scene-style ASCII .nfo generator.

clone: git clone https://gitbay.org/krz/nfogen.git

v1.1.0:

100644 .gitattributes89
100644 .gitignore19
100644 LICENSE639
100644 README.nfo4484
040000 examples/
100755 nfogen.py18807
100644 nfogen.toml1538
┌──────────────────────────────────────────────────────────────┐
│                     N F O G E N   1 . 1                      │
│                       [ KRZ ]   krz.sh                       │
├──────────────────────────────────────────────────────────────┤
│   DATE   2026-08-08                                          │
│   TYPE   APP                                                 │
│   FILES  nfogen.py                                           │
│   URL    krz.sh                                              │
├──────────────────────────────────────────────────────────────┤
│   NOTES                                                      │
│                                                              │
│   A scene-style ASCII .nfo generator. A single               │
│   zero-dependency Python file. Builds this very box          │
│   from CLI flags, a config file, prompts, or a mix.          │
│                                                              │
│   REQUIRES python3 (3.11+ for TOML, else JSON).              │
│                                                              │
│   USAGE                                                      │
│   nfogen.py --title "nfogen 1.1" --type APP                  │
│   nfogen.py -c nfogen.toml --title "nfogen 1.1"              │
│   nfogen.py -i  prompts for every field.                     │
│   nfogen.py alone prompts when no title given.               │
│                                                              │
│   ORDER: config file < CLI flags < prompts.                  │
│                                                              │
│   CONFIG: a .toml or .json auto-loaded from                  │
│   ./nfogen.toml, ./.nfogen.toml, or the path                 │
│   ~/.config/nfogen/config.toml. Holds any field              │
│   default plus group, site, width. Or use -c PATH.           │
│                                                              │
│   FIELDS (all optional but title):                           │
│   release: cracker supplier packager protection              │
│            install rating date source                        │
│   program: type publisher format disks size files url        │
│   media:   video audio resolution language genre runtime     │
│   text:    notes greets                                      │
│                                                              │
│   LAYOUT: rows (default) or panel  (2-col, --layout)         │
│   STYLES: single, double, block   (--style)                  │
│   ENCODING: utf8 or cp437  (--encoding cp437 = DOS)          │
│   LOGO: --logo art.asc places art above the box              │
│   BANNERS: --presents  --footer   scene boilerplate          │
│                                                              │
│   PROFILE: -p group.toml supplies logo, footer,              │
│            members, couriers, boards, affiliates,            │
│            news, outposts. release cfg overrides it.         │
│                                                              │
│   OPTIONS: -o -c -p -g -s -w --style --layout --logo         │
│            --encoding --presents --footer -i --no-input      │
│                                                              │
│   Generated by nfogen itself.                                │
├──────────────────────────────────────────────────────────────┤
│   GREETS                                                     │
│                                                              │
│   you   the-scene                                            │
└──────────────────────────────────────────────────────────────┘