┌──────────────────────────────────────────────────────────────┐ │ N F O G E N 1 . 2 │ │ [ 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.2" --type APP │ │ nfogen.py -c nfogen.toml --title "nfogen 1.2" │ │ 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. │ │ │ │ MEDIAINFO: --mediainfo dump.json auto-fills │ │ video/audio/res/size/runtime/format. │ │ BANNER: --banner makes an ASCII logo (--banner-text) │ │ TEMPLATES: -t razor|modern|minimal presets │ │ (--list-templates) │ │ │ │ OPTIONS: -o -c -p -t -g -s -w --style --layout │ │ --logo --banner --mediainfo --encoding │ │ --presents --footer -i --no-input │ │ │ │ Generated by nfogen itself. │ ├──────────────────────────────────────────────────────────────┤ │ GREETS │ │ │ │ you the-scene │ └──────────────────────────────────────────────────────────────┘