Skip to main content

Grass

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

No modes. No config files. Just type.

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.0 · 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 insert 4 spaces
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 in opened files are converted to 4 spaces.
  • 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.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 grass-editor 0.1.0
File Size Uploaded Provenance
grass_editor-0.1.0.tar.gz 19.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 34.8 kB

Release files / grass_editor-0.1.0.tar.gz

Download URL grass_editor-0.1.0.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6f3bced6c98e8f4434cdae46e60768d688fc7ac2353ac5261064e6e2987c6ff1
BLAKE2b-256 checksum
How to use checksums
9833cef993e9996d48056489d878c127beaa0cc8cdaf9f5c84fd45cd3b84ca1e
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.0-py3-none-any.whl

Download URL grass_editor-0.1.0-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc4a273eb3a353b2000fe54d31e843776fca5cda8184b0997ab9788a46abd1e0
BLAKE2b-256 checksum
How to use checksums
a245cb22659d44bf832c12d7a01b27fcb2b7a1da713f7533f1b3b4d24f7e3961
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.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