Skip to main content

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 and Fumuda-XY consoles.

Open it as:

gusher
# or
gxr

The two commands are the same program.

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/*.json and data/themed/*.json under MProcs/ and Fumuda_XY/;
  • every theme.py under their scripts/ and modules/ 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:

  1. GUSHER_MPROCS_HOME / GUSHER_FUMUDA_HOME (package dir or project dir);
  2. the normal Python import path (importlib.util.find_spec);
  3. sys.path entries;
  4. sibling source checkouts next to the project.

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
indexed: 286 text pools, 281 JSON corpora from 2 provider(s)

If both suites are missing

gusher needs the suites because they are the resource stores. If both are missing it explains the two installs and asks for confirmation:

gusher: neither MProcs nor Fumuda-XY is installed.
Install the two resource providers, then run gusher again:
  python3 -m pip install MProcs Fumuda-XY
...
Install both 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 one suite is present gusher still runs, with a warning that the other half of the source pool is absent. 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.

Output

Default output is 24 lines × 80 columns. Each phrase prints a one-line seed header followed by the block:

[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_COLOR and --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.

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);
  • 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"

# inspect resource discovery
gusher --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_MPROCS_HOME override MProcs location
GUSHER_FUMUDA_HOME override Fumuda-XY location
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
│   ├── generate.py     # seeded glitch renderer
│   └── terminal.py     # prompt loop, install offer, CLI
└── tests/test_gusher.py

Fiction note

The sources are fictional hackertech, tradecraft, and reference corpora from the MProcs and Fumuda-XY 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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gusher 1.0.0
File Size Uploaded Provenance Actions
gusher-1.0.0.tar.gz 27.9 kB Without provenance Details for gusher-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gusher 1.0.0
File Interpreter ABI Platform Actions
gusher-1.0.0-py3-none-any.whl Python 3 none any Details for gusher-1.0.0-py3-none-any.whl

Total release size: 50.0 kB

Release files / gusher-1.0.0.tar.gz

Download URL gusher-1.0.0.tar.gz
Size 27.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d761226bfca3c7e6ca0f3f967aa5a1c5b44416bfbbf05c9ccaed70d4dc6b59a6
BLAKE2b-256 checksum
How to use checksums
f4ee6dc8a586137368ab144f92c59921cc611ce0541d84c6bf0a8b47de368627
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / gusher-1.0.0-py3-none-any.whl

Download URL gusher-1.0.0-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
699be5cf195e91b909954df177e6bed620c9a30e8ee34f2044bab75dd6728e06
BLAKE2b-256 checksum
How to use checksums
7d0c305e39ca186996ae445ce4f789442d336d4ae44c57a4ec52006730802a3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for gusher 1.0.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page