Skip to main content

Grass

A minimal, beautiful, zero-config terminal code editor.

No modes. No config files. Just type.

Grass demo

Install

pip install grass-editor

On Windows, install curses support first:

pip install windows-curses

Run

grass hello.py

Or without installing:

python -m grass hello.py

Check the identity:

grass --version

Theme

Grass ships with one hand-tuned theme: Meadow.

A calm, forest-inspired dark palette — warm parchment text, sage-green keywords, golden function names, aqua class names, and a layered forest-dark status bar. Comments and docstrings sit quietly in muted green-gray so code reads like a clearing at dusk.

  • A two-tone wordmark splash greets you on launch — meadow green above, sage shadow below — over the line ❧ a calm terminal editor, signed v0.1.1 · Meadow, and fades the moment you type.
  • The status bar keeps the file name on the left and live line,column position on the right.
  • An amber dot beside the file name marks unsaved changes, then disappears the moment you save.
  • Your terminal tab lives and breathes with you: grass · file.py, gaining a • while there are unsaved changes.
  • Feedback speaks in color: saves flash leaf green, problems turn warm red.
  • A floating scrollbar on the right edge tracks your place in the file.
  • The cursor line glows softly; the gutter stays a shade darker.
  • Search matches glow olive-green, and the match you are on turns warm gold.
  • Prompts sit behind a green ❯ marker.

Meadow assumes a dark terminal with 256 colors. Terminals with only basic colors fall back gracefully.

Keys

Key Action
type edit
arrows, Home, End, PageUp, PageDown move
Enter new line, with auto-indent
Tab indent to the next tab stop
Backspace, Delete delete
Ctrl-F find (jumps to matches as you type)
Ctrl-P open a file by fuzzy search
Ctrl-K cut line
Ctrl-U paste line
Ctrl-S save
Ctrl-Z undo
Ctrl-R redo
Ctrl-Q quit

Notes

  • Grass is always in typing mode, like nano.
  • A file without a trailing newline stays that way, and the status bar says no newline.
  • The theme is designed for dark terminal backgrounds.
  • Tabs are preserved and shown at 4-column tab stops.
  • Large files re-highlight fully on every edit; normal files stay fast.
  • Wide characters (CJK) and long wrapped lines are not fully supported yet.

Metadata

Release files for grass-editor 0.1.1

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

Source distribution (sdist)

Source distribution for grass-editor 0.1.1
File Size Uploaded Provenance
grass_editor-0.1.1.tar.gz 20.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for grass-editor 0.1.1
File Interpreter ABI Platform
grass_editor-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 36.1 kB

Release files / grass_editor-0.1.1.tar.gz

Download URL grass_editor-0.1.1.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f00b246516b602efa40eb6b69282968d92c7ab3f3e91df3b8b3d647368718f5a
BLAKE2b-256 checksum
How to use checksums
55d8848689df813cee2384f7658cfdb029a06669de05925dd8ea12eee6031e7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / grass_editor-0.1.1-py3-none-any.whl

Download URL grass_editor-0.1.1-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
882f99a8960fd4b9100eb6cb7c64e2502d12db44840d2979dca5224877ed68ed
BLAKE2b-256 checksum
How to use checksums
662ac8e153ece4a46e9cdcc8072dc33c0d5735fb546ebc3bc1675c7281aff6a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Security for grass-editor 0.1.1

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