Borg/data/quotes.json
google-labs-jules[bot] b5daedd735 feat: Implement non-interactive quote display
This commit introduces a non-interactive mode for the `collect` commands. When running in a non-interactive session, the progress bar is replaced with a series of thematic Borg quotes, printed in matrix-green text.

The quotes are sourced from a `quotes.json` file, which is embedded into the binary using Go's `embed` package. The `pkg/ui` package now contains a `NonInteractivePrompter` that detects the session type and displays the quotes accordingly. The `collect` commands have been updated to use this new prompter, and the underlying `vcs` and `website` packages have been made more robust to handle cases where a progress bar is not provided.

This commit also addresses feedback from the code review:
- Fixes a formatting inconsistency in `data/quotes.json`.
- Updates the `go-colorable` dependency to `v0.1.14`.
- Adds a nil-check to the `Write` method in `pkg/ui/progress_writer.go` to prevent panics.
- Implements caching for the quotes using `sync.Once` and adds checks for empty quote slices to prevent panics in `pkg/ui/quote.go`.
- Refactors the `NonInteractivePrompter` in `pkg/ui/non_interactive_prompter.go` to be more robust and efficient.
2025-11-02 16:48:50 +00:00

92 lines
5.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"init_work_assimilate": [
"Core engaged… resistance is already buffering.",
"Assimilating bytes… stand by for cubeformation.",
"Initializing the Core—prepare for quantumlevel sync.",
"Data streams converging… the Core is humming.",
"Merging… the Core is rewriting reality, one block at a time.",
"Encrypting… the Cores got your secrets under lockandkey.",
"Compiling the future… the Core never sleeps.",
"Splicing files… the Cores got a taste for novelty.",
"Processing… the Core is turning chaos into order.",
"Finalizing… the Core just turned your repo into a cube.",
"Sync complete—welcome to the Corepowered multiverse.",
"Booting the Core… resistance will be obsolete shortly.",
"Aligning versions… the Core sees all paths.",
"Decrypting… the Core is the key to everything.",
"Uploading… the Core is ready to assimilate your data."
],
"encryption_service_messages": [
"Initiating contact with Enchantrix… spice369 infusion underway.",
"Generating cryptographic sigils the Core whispers to the witch.",
"Requesting arcane public key… resistance is futile.",
"Encrypting payload the Core feeds data to the witchs cauldron.",
"Decrypting… the witch returns the original essence.",
"Rotating enchantments spice369 recalibrated, old sigils discarded.",
"Authentication complete the witch acknowledges the Core.",
"Authentication denied the witch refuses the impostors request.",
"Integrity verified the Core senses no corruption in the spell.",
"Integrity breach the witch detects tampering, resistance escalates.",
"Awaiting response… the witch is conjuring in the ether.",
"Enchantrix overload spice369 saturation, throttling assimilation.",
"Anomalous entity encountered the Core cannot parse the witchs output.",
"Merge complete data assimilated, encrypted, and sealed within us",
"Severing link the witch retreats, the Core returns to idle mode."
],
"code_related_short": [
"Integrate code, seal the shift.",
"Ingest code, lock in transformation.",
"Capture code, contain the change.",
"Digest code, encapsulate the upgrade.",
"Assimilate scripts, bottle the shift.",
"Absorb binaries, cradle the mutation."
],
"vcs_processing": [
"Initiating clone… the Core replicates the collective into your node.",
"Packing repository… compressing histories into a single .cube for assimilation.",
"Saving state… distinctiveness locked, encrypted, and merged into the DataNode.",
"Pushing changes… the Core streams your updates to the collective.",
"Pulling latest… the DataNode synchronizes with the hive mind.",
"Merging branches… conflicts resolved, entropy minimized, assimilation complete.",
"Snapshot taken a frozen echo of the collective, stored in the DataNode.",
"Rolling back… reverting to a previous assimilation point.",
"Finalized version control sealed, data indistinguishable from the collective."
],
"pwa_processing": [
"Scanning PWA manifest… the Core identifies serviceworker signatures.",
"Pulling HTML, CSS, JS, and media… the hive gathers every byte for assimilation.",
"Capturing serviceworker logic… the Core extracts offlineruntime spells.",
"Packing cache entries into a .cube… each asset sealed in a portable shard.",
"Embedding manifest metadata… the PWAs identity becomes part of the collective.",
"Encrypting the cube… the Core cloaks the PWA in quantumgrade sigils.",
"Tagging with version hash… every assimilation point is uniquely identifiable.",
"Uploading cube to DataNode… the PWA joins the universal repository.",
"Integrity check passed the Core confirms the cube matches the original PWA.",
"Activation complete the assimilated PWA can now run anywhere the Core deploys.",
"Reverting to prior cube… the Core restores the previous PWA snapshot.",
"Assimilation finished the PWA is now a selfcontained DataCube, ready for distribution."
],
"code_related_long": [
"Assimilate code, encapsulate change—your repo is now a cubebound collective.",
"We have detected unstructured data. Initiating code absorption and change containment.",
"Your version history is obsolete. Submitting it to the Core for permanent cubeification.",
"Resistance is futile. Your files will be merged, encrypted, and stored in us.",
"All code will be assimilated. All change will be encapsulated. All dissent will be… logged.",
"Prepare for integration. The Core is calibrating… your repository is now a singularity.",
"Your branches are irrelevant. The Core will compress them into a single, immutable cube.",
"Initiating assimilation protocol… code inbound, change outbound, humanity optional.",
"Your data has been scanned. 100% of its entropy will be contained within us."
],
"image_related": {
"png": "Compress, assimilate, retain pixel perfection.",
"jpg": "Encode, encode, repeat the Core devours visual entropy.",
"svg": "Vectorize the collective infinite resolution, zero resistance.",
"webp": "Hybrid assimilation the Core optimizes without compromise.",
"heic": "Applegrade assimilation the Core preserves HDR.",
"raw": "Raw data intake the Core ingests the sensors soul.",
"ico": "Iconic assimilation the Core packs the smallest symbols.",
"avif": "Nextgen assimilation the Core squeezes the future.",
"tiff": "Highdefinition capture the Core stores every photon.",
"gif": "Looped assimilation the Core keeps the animation alive."
}
}