steipete/trimmy — explained in plain English
Analysis updated 2026-08-08 · repo last pushed 2026-08-03
Copy multi-line shell commands from tutorials and paste them as a single working command into your terminal.
Strip URL tracking parameters from copied links while preserving important ones.
Clean up hard-wrapped Markdown text or remove box-drawing characters from copied terminal output.
Use keyboard shortcuts to paste either the trimmed or original clipboard content on demand.
| steipete/trimmy | coszone/moepeek | jaywcjlove/swiftui-example | |
|---|---|---|---|
| Stars | 733 | 661 | 658 |
| Language | Swift | Swift | Swift |
| Last pushed | 2026-08-03 | — | 2026-04-21 |
| Maintenance | Active | — | Maintained |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 2/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires macOS 15 or later, Linux users can use the included TrimmyCLI command-line version instead.
Trimmy is a macOS menu-bar app that solves an annoying problem: when you copy a multi-line shell command from a website or documentation and paste it into a terminal, the shell runs each line separately instead of waiting for the full command. Trimmy automatically flattens those multi-line snippets into a single line when you copy them, so your next paste runs as one clean command. Once installed, a small scissors icon sits in your menu bar. Trimmy watches your clipboard in the background, and when it detects a multi-line shell command, it rewrites the clipboard contents into one line. It's smart enough to leave regular text and code alone, using configurable sensitivity levels to distinguish shell commands from prose. It also strips out prompt symbols like $ that often precede copied commands, and it knows the difference between Markdown headings and command continuations. This is useful for anyone who regularly copies commands from tutorials, blog posts, or GitHub READMEs. If you've ever pasted a three-line printf command only to see it execute as three separate (and broken) commands, this is for you. It's especially handy for developers and system administrators who frequently work in terminals. Beyond command flattening, Trimmy can also clean up hard-wrapped Markdown, strip unnecessary URL tracking parameters while preserving important ones, and remove box-drawing characters from copied terminal output. The app offers manual control too: a "Paste Original" option lets you bypass trimming when needed, and both trimmed and original paste actions can be bound to keyboard shortcuts. It works with popular terminals like Terminal, iTerm, Ghostty, Warp, and others, and you can exclude specific apps or websites from automatic trimming. Everything stays local, there's no telemetry, no account, and no data leaving your machine beyond the update check. The project is built in Swift and requires macOS 15 or later. There's also a command-line version called TrimmyCLI for Linux or scripted use, and a community Alfred workflow exists for Alfred users.
Trimmy is a macOS menu-bar app that automatically flattens multi-line shell commands into a single line when you copy them, so pasting into a terminal runs as one clean command instead of several broken ones.
Mainly Swift. The stack also includes Swift, macOS, TrimmyCLI.
Active — commit in last 30 days (last push 2026-08-03).
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.