gusher
gusher is the smallest terminal in the BDCS suite. It is a plain prompt — no TUI, no menus, no screen painting — that turns every phrase you type into a deterministic, glitched block of hackertech art assembled from the installed MProcs-family consoles: MProcs, Fumuda-XY, Nanuska-GP, Kajuki, and Norderem.
Open it as:
gusher
# or
gxr
The two commands are the same program.
gusher is also built into every MProcs and Fumuda-XY terminal (lpro.py
and lpro_s.py, recording and non-recording modes). Inside those shells the
same names work on one line, and the terminal's current username is used
automatically for --user:
gusher -u ghost -n 24 -w 80 "ghost in the wire"
gxr --sources
gxr --set nanuska-gp,kajuki -u ghost "ghost in the wire"
ガッシャー 長さ 24 幅 80 フレーズ 幽霊
MProcs and Fumuda-XY declare gusher>=1.0.1, so a normal pip install or
upgrade of either suite installs gusher automatically. If gusher is missing
from an older installation, the terminal command offers to install it; use
gusher --install (or --yes) for an unattended install.
The one variable
There is exactly one user-facing variable: user.
gusher --user ghost
gxr -u ghost
GUSHER_USER=ghost gusher
The prompt is:
ghost@gusher:~$
Everything else — phrase, seed, colours, source mix — is derived from that user and the phrase.
No bundled content
gusher does not ship a dictionary, a corpus, an image, or a theme. The wheel contains only Python code and this README. At runtime it indexes the installed suites:
- every readable
data/*.jsonanddata/themed/*.jsonunderMProcs/,Fumuda_XY/,Nanuska_GP/,Kajuki/, andNorderem/; - every
theme.pyunder theirscripts/andmodules/trees; - POLYHISTOR’s content modules (
domains,encyclopedia,timeline,almanac,people,sources,lexicon); - the uppercase literal lists/dicts in the console content modules
(
agent.py,drills.py,ops.py,program.py,lexicon.py,ghostwrite.py,knowledge.py,technica.py,app.py).
The Python content modules are parsed with ast.literal_eval; they are never
executed, so device, network, and AI code cannot run during indexing. JSON
corpora are loaded lazily, one at a time, with an LRU cache.
On a normal install the index covers hundreds of corpora and nearly three hundred text pools — English, Japanese, Chinese characters, hangul, katakana, medical, legal, scientific, intelligence-fiction, JADE//WIRE, FLU0, POLYHISTOR, proverbs, scriptures, agent dossiers, drills, ghostwrite fragments, rigs, protocols, missions, sigils, and more.
Not indexed: ai_images images, log files, README/release notes, .pyc
files, and text generated at runtime by functions or AI calls. Those are not
static console data.
Discovery order for each suite:
- its
GUSHER_*_HOMEoverride (package dir or project dir); - the normal Python import path (
importlib.util.find_spec); sys.pathentries;- sibling source checkouts next to the project.
| suite | package | override |
|---|---|---|
| MProcs | MProcs |
GUSHER_MPROCS_HOME |
| Fumuda-XY | Fumuda_XY |
GUSHER_FUMUDA_HOME |
| Nanuska-GP | Nanuska_GP |
GUSHER_NANUSKA_HOME |
| Kajuki | Kajuki |
GUSHER_KAJUKI_HOME |
| Norderem | Norderem |
GUSHER_NORDEREM_HOME |
Use gusher --sources to see what was found:
MProcs /home/user/.local/lib/python3.13/site-packages/MProcs
Fumuda-XY /home/user/.local/lib/python3.13/site-packages/Fumuda_XY
Nanuska-GP /home/user/.local/lib/python3.13/site-packages/Nanuska_GP
Kajuki /home/user/BDCS/Kajuki/src/Kajuki
Norderem /home/user/BDCS/Norderem/src/Norderem
indexed: 643 text pools, 612 JSON corpora from 5 provider(s)
Choosing the suite set
--set / -s controls which suites contribute to the output. It understands
display names, package names, short aliases (mp, fxy, ngp, kaki,
ndr), comma-separated lists, repeated options, and all:
gxr --set all "ghost in the wire" # every installed suite
gxr --set mprocs,fumuda-xy "ghost" # just those two
gxr -s nanuska-gp -s kajuki "ghost" # repeated options
gxr -s ndr --sources # inspect one suite
The selection also applies to --sources and --fingerprint, and the header
lists exactly the suites that produced the block (e.g.
MProcs+Fumuda-XY+Nanuska-GP+Kajuki+Norderem).
Instant picker
--set with no value, or --pick, opens a one-screen numbered picker. Answer
once with numbers or names (1 4, 1,4, mp, kajuki, all); blank keeps the
current set:
$ gxr --pick
select suites (numbers or names, comma/space separated; 'all'; blank keeps current):
1) MProcs [current, installed]
2) Fumuda-XY [current, installed]
3) Nanuska-GP [current, installed]
4) Kajuki [current, installed]
5) Norderem [current, installed]
set> 1 4
gusher: remembered suite set MProcs,Kajuki in ~/.config/gusher/config.json
A picker choice is remembered immediately.
Remembering the set
--remember saves an explicit --set selection, and later runs reuse it with
no options. --forget deletes the saved selection (and the remembered blank
line count):
gxr --set kajuki,norderem --remember
gxr "later run" # still Kajuki+Norderem
gxr --blank-lines # 3 blank lines, also remembered
gxr --forget # back to all suites and skipping blanks
The saved set (and blank-line count) lives in
$GUSHER_CONFIG_DIR/config.json, or
$XDG_CONFIG_HOME/gusher/config.json, or ~/.config/gusher/config.json.
A corrupt or outdated file is ignored, so startup always falls back to all
installed suites.
If the suites are missing
gusher needs the suites because they are the resource stores. If none of the requested suites is installed it explains the installs and asks for confirmation:
gusher: none of the requested suites is installed (MProcs, Fumuda-XY, ...).
Install the MProcs-family resource providers, then run gusher again:
python3 -m pip install MProcs Fumuda-XY Nanuska-GP Kajuki Norderem
...
Install them now? [Y/n]
If pip reports externally-managed-environment, the prompt offers the usual
retry:
pip reports an externally managed environment.
Retry with --break-system-packages? [y/N]
You can also authorize it up front:
gusher --break-system-packages
gxr --install --yes --break-system-packages
--install / --yes make the install unattended. If only some suites are
present gusher still runs, with a warning that the missing suites are absent
from the source pool. A non-interactive run never installs anything unless
--install or --yes is given.
Phrase seeds
A phrase is the seed. The exact same (user, phrase) pair always produces the
exact same block; a different phrase, or a different user, produces a different
one.
seed = blake2b(user + "\0" + phrase)
The seed selects the source palette (JSON corpora and theme constants), the
colour set, and every line. Each line gets its own derived seed so the block is
stable but internally varied. Words in the phrase are also matched against
corpus and theme names, so bible proverb, medical blood pressure, or
jade wire neon pull those shelves into the mix before the random fill.
Every header starts with [seed:<hex>], which is the exact seed used to build
that block — including random blank-input blocks, so their seed is visible too.
Output
Default output is 24 lines × 80 columns. Each phrase prints a one-line seed header followed by the block:
[seed:4141e8809f8948c9] ghost in the wire | zeta | 14x78 | fp:66a33ead5e15 | MProcs+Fumuda-XY
a service record :: lx - 現場測定で使用される単位
/* Skunk >emon Hybrid % THC - - 19-25% LemOn, Flavvors: Citrus SkuNk, Effects:
シュ :: K - アーカイブ記録の換算係数
█ア 東芝芝 火龍
<_DOCS> a field notebook
[LOCK] lx - アーカイブ レコードの変換係数 日ォ
木ニ access and E/ergency time-boUnd reviewed use. is after △火
○ネ●亀▞ラ網 慢性<患および非伝染性疾患
defuse a logic bomb hidden in a birthday cake @ 大阪でんでんタウン / 北海道BBS
$ ./flux --hard -n3763 # A secret sh=red Twice Is a public secret.
Lines combine:
- a corpus or theme value (English, Japanese, CJK, technical, fictional);
- a trace/status/command/mission/rig/hex/runes/glyph wrapper;
- optional word rotation, jumbling, case flipping, leetspeak, character duplication, and glitch-character substitution;
- an ANSI colour when the output is a terminal (respects
NO_COLORand--no-colour).
Any standard length is supported:
gusher -n 120 "long operation"
gusher --length 1000 --width 120 "full meta hacking"
-w / --width accepts 20–500 columns; -n / --length accepts 1–100000
lines, so the same phrase can be a short burst or a long scroll.
Blank input
By default an empty prompt line emits a 3-line block, so pressing Enter
always shows something. Change or disable it with --blank-lines:
gxr --blank-lines # 3 lines on an empty Enter, remembered
gxr --blank-lines 8 # choose the line count, remembered
gxr --blank-lines 0 # back to skipping blank input, remembered
You can also print one blank block immediately without entering the prompt:
gxr --blank # one random blank block, then exit
gxr -b # short form
gxr -b --blank-lines 8 # eight lines
The setting is persistent: the explicit count is saved next to the suite
set, so later runs keep using it with no flags. --forget clears it.
GUSHER_BLANK_LINES only supplies the fallback when nothing is remembered.
The same applies to blank lines read from a pipe.
Unlike typed phrases, every blank response is freshly randomised: a random salt is mixed into the seed, so pressing Enter repeatedly always produces different blocks (each header shows a new seed).
Resource fingerprint
Every output header carries a short resource fingerprint, e.g.
fp:66a33ead5e15. It identifies the exact installed resource snapshot that
produced the block.
The full digest is a SHA-256 over:
- the provider names and package versions (
MProcs,Fumuda-XY,Nanuska-GP,Kajuki,Norderem); - every indexed file: relative path, size, and file content.
It is content-based, so touching a file without changing its bytes does not change the fingerprint. Updating a corpus, theme, or content module does.
# full fingerprint, versions, file counts, bytes, cache location
gusher --fingerprint
# force a complete rehash and print the report
gusher --refresh-fingerprint
# omit fp from headers and the banner
gusher --no-fingerprint
Per-file SHA-256 digests are cached in
~/.cache/gusher/resource-hashes.json (override with GUSHER_CACHE_DIR). The
first run after an update hashes ~223 MiB; later runs only hash changed files.
The fingerprint is stable across runs and machines with the same provider
versions and file contents, which makes a block reproducible from its header.
Usage
# interactive terminal
gusher
gxr
# one phrase, one block, then exit
gusher "ghost channel"
# pipe phrases: one block per line
printf 'signal in\nsilence out\n' | gusher -n 8
# choose the user and size
gxr -u ghost -n 48 -w 100 "abacus to zero-day"
# render a 3-line block when the input is blank
gxr --blank-lines
gusher --blank-lines 8
# print one blank block and exit
gxr --blank
gusher -b
# choose which suites feed the output
gusher --set all "every console"
gusher --set mprocs,fumuda-xy "the originals"
gusher -s ngp -s kajuki "eastern signal"
# instant picker, remembered for next runs
gusher --pick
gusher --forget
# inspect resource discovery
gusher --sources
gusher --set norderem --sources
# inspect the resource fingerprint
gusher --fingerprint
# force or disable colour
gusher --colour "neon"
gusher --no-colour "paper"
Environment variables:
| variable | meaning |
|---|---|
GUSHER_USER |
default user variable |
GUSHER_LENGTH |
default lines per phrase |
GUSHER_WIDTH |
default columns |
GUSHER_BLANK_LINES |
fallback blank-input count (default 3) |
GUSHER_MPROCS_HOME |
override MProcs location |
GUSHER_FUMUDA_HOME |
override Fumuda-XY location |
GUSHER_NANUSKA_HOME |
override Nanuska-GP location |
GUSHER_KAJUKI_HOME |
override Kajuki location |
GUSHER_NORDEREM_HOME |
override Norderem location |
GUSHER_CONFIG_DIR |
remembered suite-set config directory |
GUSHER_CACHE_DIR |
resource-hash cache directory |
NO_COLOR |
disable ANSI colour |
Install gusher
From this directory:
python3 -m pip install .
# PEP 668 system Python:
python3 -m pip install --break-system-packages .
# or isolated:
pipx install .
Then:
gusher --version
gxr --sources
Build
python3 -m build
python3 -m twine check dist/*
The wheel is intentionally tiny because it contains no corpora. The provider installations remain the single source of truth for every snippet.
Test
PYTHONPATH=src python3 -m unittest discover -s tests -v
Layout
gusher/
├── pyproject.toml
├── README.md
├── LICENSE
├── MANIFEST.in
├── src/gusher/
│ ├── __init__.py
│ ├── __main__.py
│ ├── sources.py # find installs, index data/ and theme.py, lazy load
│ ├── config.py # remembered suite set
│ ├── generate.py # seeded glitch renderer
│ └── terminal.py # prompt loop, instant picker, install offer, CLI
└── tests/test_gusher.py
Fiction note
The sources are fictional hackertech, tradecraft, and reference corpora from the MProcs-family suites. gusher is a generative art terminal; it does not scan, connect to, or modify anything.
License
MIT. See LICENSE.
Metadata
Release files for gusher 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gusher-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for gusher-1.0.3-py3-none-any.whl |
Release files / gusher-1.0.3-py3-none-any.whl
| Download URL | gusher-1.0.3-py3-none-any.whl |
|---|---|
| Size | 29.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7dbb83e11a3f0631c4ee4b10baad9dca7520d0c43cb46b4e81745d258923d3ab
|
|
BLAKE2b-256 checksum How to use checksums |
6d6b22ec92d4e3648721f6c70b1f1d1407b58997577c075b27386a1da7bcd26e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for gusher 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.