Skip to content

Commit aeb731b

Browse files
committed
Add commands
1 parent 53edfec commit aeb731b

2 files changed

Lines changed: 59 additions & 0 deletions

File tree

assets/commands/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3800,6 +3800,7 @@ launchctl.md
38003800
lavadecode.md
38013801
laydown.md
38023802
lazycelery.md
3803+
lazycut.md
38033804
lazydocker.md
38043805
lazygit.md
38053806
lazyjj.md

assets/commands/lazycut.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# TAGLINE
2+
3+
Terminal-based video trimming tool
4+
5+
# TLDR
6+
7+
**Trim a video** file interactively in the terminal
8+
9+
```lazycut [video.mp4]```
10+
11+
**Open a specific video** for trimming
12+
13+
```lazycut [path/to/file.mkv]```
14+
15+
# SYNOPSIS
16+
17+
**lazycut** _video-file_
18+
19+
# DESCRIPTION
20+
21+
**lazycut** is a terminal-based video trimming tool that provides an interactive TUI for marking in/out points and exporting trimmed video clips. It renders video frames directly in the terminal using **chafa** and processes cuts with **FFmpeg**, allowing quick and precise trimming without leaving the command line.
22+
23+
The interface uses vim-style keybindings for navigation and supports repeat counts for seeking (e.g., **5l** seeks forward 5 seconds). After setting in and out points, pressing Enter exports the trimmed clip.
24+
25+
# KEYBOARD CONTROLS
26+
27+
**Space**
28+
> Play or pause playback.
29+
30+
**h** / **l**
31+
> Seek backward or forward 1 second.
32+
33+
**H** / **L**
34+
> Seek backward or forward 5 seconds.
35+
36+
**i** / **o**
37+
> Set the in point or out point for trimming.
38+
39+
**Enter**
40+
> Export the trimmed clip.
41+
42+
**?**
43+
> Display help menu.
44+
45+
**q**
46+
> Quit the application.
47+
48+
# CAVEATS
49+
50+
Requires both **FFmpeg** and **chafa** to be installed and available in PATH. Terminal rendering quality depends on the terminal emulator's capabilities and font size. Not available in standard Linux distribution package managers — must be installed via Homebrew or built from source.
51+
52+
# HISTORY
53+
54+
**lazycut** was created by **Emin Ozata** and first released on **GitHub** as an open-source project under the **MIT license**. Written entirely in **Go**, it gained visibility after appearing on Hacker News. The tool provides a lightweight alternative to GUI video editors for simple trimming tasks.
55+
56+
# SEE ALSO
57+
58+
[ffmpeg](/man/ffmpeg)(1), [chafa](/man/chafa)(1)

0 commit comments

Comments
 (0)