Skip to main content

vimgarden

Release PyPI Python CI License: GPL-3.0 Dependencies

Cultivate ancient bonsai trees in your terminal. Modal Vim controls, real-time seasons, organic ASCII art, and zero external dependencies.

vimgarden demo

Comparison with cbonsai

While cbonsai is a fantastic procedural screensaver that generates a tree in ~2 seconds, vimgarden is a persistent Zen simulation and bonsai caretaking game:

Feature cbonsai vimgarden
Category Static screensaver / generator Persistent Zen garden simulation game
Lifecycle Generates in ~2s, vanishes on exit Real-time growth, tree aging (minutes to years), offline catch-up
Care & Mechanics Passive display Water, fertilize, prune, wire-shape, shop economy
Multi-Tree 1 tree per invocation Tokonoma shelf holding 3–5 living bonsai pots
Bonsai Styling Random branching Manual branch training (Chokkan, Moyogi, Kengai) with Copper Wire
Controls CLI flags Full Vim modal navigation (h/l, w, x, :wq)
Persistence None Atomic JSON saves with automatic backup and crash recovery
Dependencies C (ncurses) Pure Python standard library (curses)

Features

  • Tokonoma Shelf: Cultivate a collection of 3 to 5 bonsai trees simultaneously, navigating with h/l or 1-5.
  • Dynamic Seasons & Weather: Experience Spring 🌸, Summer ☀️, Autumn 🍁, and Winter ❄️ with rain auto-watering and seasonal growth synergies.
  • Tree Age & Bonsai Styling: Trees age in real-world time (h, d, mo, y), gaining value. Shape branches using Copper Wire (c) into Formal (Chokkan), Informal (Moyogi), or Cascade (Kengai) styles.
  • Organic ASCII Art: Detailed layered canopies (Dan-zukuri), driftwood trunks, drifting sakura petals, and ceramic pot pottery.
  • Vim Modal Navigation:
    • NORMAL: h/l pot select, w water, f fertilize, c wire/style, x prune/harvest, p plant, s shop, i inventory, ? guide.
    • COMMAND: :w save, :q quit, :wq / :x save & quit, :q! force quit.
  • Zero Dependencies: Pure Python standard library (curses). No pip packages required.
  • Safe Persistence: Atomic JSON saves with automatic backup copy and corruption recovery.

Requirements

  • Python >= 3.10
  • Terminal window of at least 80x24 characters

Installation

pipx install vimgarden

Or with pip:

pip install --user vimgarden

From Source

git clone https://github.com/ShwoubleTrouble/vimgarden.git
cd vimgarden

# Lightweight install to ~/.local/bin/ (no pip/venv overhead):
./install.sh

# Or uninstall:
./install.sh --uninstall

Running

# Via console script:
vimgarden

# Or directly as module:
python3 -m vimgarden

Running Tests

python3 -m unittest discover tests

License

GPL-3.0

Metadata

Release files for vimgarden 0.3.3

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

Source distribution (sdist)

Source distribution for vimgarden 0.3.3
File Size Uploaded Provenance
vimgarden-0.3.3.tar.gz 47.8 kB With provenance Details

Built distribution (wheel)

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

Total release size: 90.2 kB

Release files / vimgarden-0.3.3.tar.gz

Download URL vimgarden-0.3.3.tar.gz
Size 47.8 kB
Tags Source
SHA-256 checksum
How to use checksums
854221235e74e5c62cc36250abd0d8240c47e87a5b637c886f13eb8481cadfa1
BLAKE2b-256 checksum
How to use checksums
49a2a4e6555708655b072f28b4360a0daa17a87775b584beb6098faa6cf1665d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / vimgarden-0.3.3-py3-none-any.whl

Download URL vimgarden-0.3.3-py3-none-any.whl
Size 42.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9ede783b9ff061cebbfb9f7d114a3d80df8f6434054492e05468b25d26e8527
BLAKE2b-256 checksum
How to use checksums
40ea85c3e33963662cd96a6286758e306561075ea60492712c57f2dda4fd4a10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for vimgarden 0.3.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vimgarden-0.3.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

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.

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