krz/nfogen

A scene-style ASCII .nfo generator.

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

v1.1.0: README.nfo · raw

 1┌──────────────────────────────────────────────────────────────┐
 2│                     N F O G E N   1 . 1                      │
 3│                       [ KRZ ]   krz.sh                       │
 4├──────────────────────────────────────────────────────────────┤
 5│   DATE   2026-08-08                                          │
 6│   TYPE   APP                                                 │
 7│   FILES  nfogen.py                                           │
 8│   URL    krz.sh                                              │
 9├──────────────────────────────────────────────────────────────┤
10│   NOTES                                                      │
11│                                                              │
12│   A scene-style ASCII .nfo generator. A single               │
13│   zero-dependency Python file. Builds this very box          │
14│   from CLI flags, a config file, prompts, or a mix.          │
15│                                                              │
16│   REQUIRES python3 (3.11+ for TOML, else JSON).              │
17│                                                              │
18│   USAGE                                                      │
19│   nfogen.py --title "nfogen 1.1" --type APP                  │
20│   nfogen.py -c nfogen.toml --title "nfogen 1.1"              │
21│   nfogen.py -i  prompts for every field.                     │
22│   nfogen.py alone prompts when no title given.               │
23│                                                              │
24│   ORDER: config file < CLI flags < prompts.                  │
25│                                                              │
26│   CONFIG: a .toml or .json auto-loaded from                  │
27│   ./nfogen.toml, ./.nfogen.toml, or the path                 │
28│   ~/.config/nfogen/config.toml. Holds any field              │
29│   default plus group, site, width. Or use -c PATH.           │
30│                                                              │
31│   FIELDS (all optional but title):                           │
32│   release: cracker supplier packager protection              │
33│            install rating date source                        │
34│   program: type publisher format disks size files url        │
35│   media:   video audio resolution language genre runtime     │
36│   text:    notes greets                                      │
37│                                                              │
38│   LAYOUT: rows (default) or panel  (2-col, --layout)         │
39│   STYLES: single, double, block   (--style)                  │
40│   ENCODING: utf8 or cp437  (--encoding cp437 = DOS)          │
41│   LOGO: --logo art.asc places art above the box              │
42│   BANNERS: --presents  --footer   scene boilerplate          │
43│                                                              │
44│   PROFILE: -p group.toml supplies logo, footer,              │
45│            members, couriers, boards, affiliates,            │
46│            news, outposts. release cfg overrides it.         │
47│                                                              │
48│   OPTIONS: -o -c -p -g -s -w --style --layout --logo         │
49│            --encoding --presents --footer -i --no-input      │
50│                                                              │
51│   Generated by nfogen itself.                                │
52├──────────────────────────────────────────────────────────────┤
53│   GREETS                                                     │
54│                                                              │
55│   you   the-scene                                            │
56└──────────────────────────────────────────────────────────────┘