GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - czar/memento-cli: Memento Mori CLI is a terminal-based integration designed to bridge philosophical mindfulness with biological reality. It combines the "Mori-Kernel" (a life-statistics engine) with high-frequency wisdom injection from Tsongkhapa's *LamRim* (Stages of the Path to Enlightenment)

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
images
images
 
 
mods
mods
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
install.sh
install.sh
 
 
mementomori
mementomori
 
 

Repository files navigation

Memento Mori CLI & Mori-Kernel โณ

License: MIT Shell: Bash/Zsh

High-frequency wisdom injection for terminal-based workflows.

Memento Mori CLI is a terminal-based integration designed to bridge philosophical mindfulness with biological reality. It combines the "Mori-Kernel" (a life-statistics engine) with high-frequency wisdom injection from Tsongkhapa's LamRim (Stages of the Path to Enlightenment).

By integrating directly into your shell environment, it serves as a constant, subtle reminder of impermanenceโ€”encouraging mindfulness and urgency in every terminal session.

Nominal State: System operating within standard parameters. Baseline State

Inspired by the LamRim (Stages of the Path to Enlightenment) and the traditions of Memento Mori and Vanitas, memento-cli transforms your terminal from a mere utility into an active site of awareness.

๐Ÿ’€ Mori-Kernel Integration

The mementomori binary acts as a temporal engine. Upon shell startup, it calculates and displays vital life statistics based on your biological parameters, providing a "reality check" on the time remaining.

๐Ÿ“œ LamRim Wisdom Injection

Automated injection of randomized philosophical quotes from the LamRim text. Quotes are categorized into three layers of mindfulness:

  • The Urgency Protocol (Temporal Compression): Reminders to act now before death arrives suddenly.
  • The Vanitas Protocol (Attachment Filter): Reflections on letting go of worldly attachments.
  • The Decay Protocol (Biological Reality): Observations on the impermanence of the physical form.

๐Ÿ› ๏ธ Seamless Shell Integration

The installer automatically detects your shell (bash or zsh) and injects the logic into your configuration files (.bashrc or .zshrc), ensuring a zero-touch experience after installation.

๐Ÿ“œ Credits & Lineage

This project is a modified fork/extension of mementomori.

  • Original Source: makeyourownmaker/mementomori
  • My Contribution: Stochastic Modeling, UI Overhaul, The Wisdom Store of lamrim_death.txt, LamRim Wisdom Injector, and Refactored for Python 3 standards.

๐Ÿš€ Installation

Prerequisites:

  • A Linux/Unix-based environment.
  • bash or zsh installed.
  • The mementomori binary located in the same directory as install.sh.

Steps:

  1. Make the installer executable:

    chmod +x install.sh
  2. Run the integration setup:

    ./install.sh
  3. Follow the interactive prompts:

    • Enter your birthdate (YYYY-MM-DD).
    • Specify sex (optional).
    • Set expected lifetime (defaults to 81 years).
  4. Finalize: Restart your terminal or run:

    source ~/.bashrc  # or source ~/.zshrc

๐Ÿ“– Usage

Automated Mode

Once installed, the tool runs automatically every time you open a new terminal window. You will see:

  1. A randomized LamRim Wisdom quote in red text.
  2. Your Mori-Kernel Stats (Life countdown/statistics).

Manual Execution

You can manually trigger the kernel stats at any time by calling the binary directly:

# Basic usage with birthdate and sex
mementomori -b 1990-01-01 -s m -v

# Flags:
# -b <YYYY-MM-DD>  Set Birthdate
# -s <m|f>         Set Sex (default: m)
# -v               Verbose/Stats mode

๐Ÿ—๏ธ Technical Architecture

The Wisdom Store (~/.lamrim_death.txt)

The installer creates a structured text database containing curated quotes from Tsongkhapa's LamRim. This file is parsed by the shell injection logic to provide randomized, high-impact reflections.

Injection Logic

The install.sh script utilizes sed and shuf for non-intrusive, lightweight wisdom delivery:

# Example of the automated wisdom selector used in your config:
QUOTE=$(sed -n 's/^\* \"\([^\"]*\)\" #.*/\1/p' ~/.lamrim_death.txt | shuf -n 1)

๐Ÿงฌ The Evolution: From Math to Reality

The original implementation was a deterministic calculatorโ€”it told you exactly how many days were left based on static averages. While mathematically accurate, it lacked the inherent chaos of existence.

My version transforms this from a calculator into a Stochastic Model.

What's New?

๐ŸŽฒ Stochastic Reality (The Chaos Engine)

Life does not follow a linear path. My version introduces a "Reality Roll" every time you run the script:

  • 85% of the time, you receive the standard biological expectation.
  • 12% of the time, the system enters an Imminent State, simulating a sudden collapse in remaining time.
  • 3% of the time, you hit The Endโ€”a total collapse of the timeline.

Approaching Criticality: Accelerated temporal decay detected. Critical Instability

Terminal State: Total systemic entropy; timeline-collapse complete. Total Collapse

๐Ÿ“Š High-Signal HUD

No more reading long lists of numbers. The new interface provides a high-density "Heads Up Display":

  • Color-Coded Vitality: Green for life, Red for entropy.
  • Entropy Meter: A visual progress bar showing exactly how much of your timeline has been consumed.
  • ANSI Terminal Styling: Designed for terminal enthusiasts who want beautiful, high-contrast output.

๐Ÿ› ๏ธ Dual-Mode Execution

  • The Subliminal Mode (Default): A quiet, minimal prompt to remind you of mortality without being intrusive.
  • The HUD Mode (-v): For those who want the full, high-signal breakdown of their current state.
  • The Biological Truth Mode (--long): For those who wish to bypass the chaos and see the raw, uncollapsed mathematical data.

๐Ÿ›ก๏ธ License

This project is released under the MIT License. The philosophical content (LamRim quotes) is provided as Public Domain content for the purpose of mindfulness practice. Mementomori & mori-kernel is a derivative of makeyourownmaker/mementomori, and is licensed under GPL-2

๐Ÿ—‘๏ธ Uninstallation

To completely remove Memento Mori from your system, follow these three steps:

1. Remove the Binary and Data Store

Run the following commands to delete the kernel binary and the wisdom text file:

rm ~/.local/bin/mementomori
rm ~/.lamrim_death.txt

2. Clean up Shell Configuration

The installer adds logic blocks to your .bashrc or .zshrc. You must remove these manually to prevent errors when opening new terminals.

  1. Open your configuration file:

    nano ~/.bashrc  # or nano ~/.zshrc if using Zsh
  2. Scroll to the bottom of the file and delete the following two blocks:

Block A (Wisdom Injector):

# LamRim Wisdom Injector
QUOTE=$(sed -n 's/^\* \"\([^\"]*\)\" #.*/\1/p' ~/.lamrim_death.txt | shuf -n 1); [ -n "$QUOTE" ] && echo -e "\n\e[1;31m[Memento Mori]\e[0m $QUOTE"

Block B (Kernel Stats Injector):

# Mori-Kernel Stats Injector
$HOME/.local/bin/mementomori -b [YOUR_BIRTHDATE] -s [YOUR_SEX] -v
  1. Save and exit (Ctrl+O, Enter, then Ctrl+X).

Built with intent to minimize entropy.

About

Memento Mori CLI is a terminal-based integration designed to bridge philosophical mindfulness with biological reality. It combines the "Mori-Kernel" (a life-statistics engine) with high-frequency wisdom injection from Tsongkhapa's *LamRim* (Stages of the Path to Enlightenment)

czarism.com/memento-cli.html

Topics

bash-scriptcli-toolsdharmadigital-minimalismdotfilesdreadgloomhalloweenimpermanencelamrimlinuxmemento-morimindfulnessproductivityself-improvementstoicismterminal-uiunix-philosophyzen

Resources

Readme
License
Activity

Stars

3 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402775 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.