jc-zed-tasks

Crates.iojc-zed-tasks
lib.rsjc-zed-tasks
version0.1.6
created_at2026-01-01 00:53:26.922761+00
updated_at2026-01-17 17:13:49.538051+00
descriptionrust binary project that consolidate many of my Zed Tasks JC is using
homepagehttps://github.com/jeremychone/jc-zed-tasks
repositoryhttps://github.com/jeremychone/jc-zed-tasks
max_upload_size
id2015566
size99,384
Jeremy Chone (jeremychone)

documentation

README

jc-zed-tasks

Here is a rust binary project that consolidate many of my Zed Tasks I am using.

Related Repos:

Feel free to use it as such, or cherry pick what you need, or fork and make it your own.

NOTE: It is being developed and tested on a Mac. PRs for Linux are welcome.

Usage

# Toggle Zed AI on/off
jc-zed-tasks zed-toggle-ai

# Save clipboard image to a directory (auto-incremented)
jc-zed-tasks save-clipboard-image --dir ./images

# Save current md file into html
jc-zed-tasks md-to-html --file path/to/file.md

# Send 'r' to first TMUX pane with this dir
jc-zed-tasks tmux-run-aip --dir .

# Position Alacritty term at below this zed term
jc-zed-tasks new-dev-term --cwd . --pos below

zed-toggle-ai

Toggle AI features in Zed settings (~/.config/zed/settings.json).

jc-zed-tasks zed-toggle-ai

save-clipboard-image

Save the current image from the clipboard to a directory. It looks for image-*.png files and uses the next available number (e.g., image-01.png, image-02.png).

jc-zed-tasks save-clipboard-image --dir ./docs/images

Use --copy-md-ref to copy the Markdown reference to the clipboard.

jc-zed-tasks save-clipboard-image --dir ./docs/images --copy-md-ref

md-to-html

Convert a Markdown file to HTML.

jc-zed-tasks md-to-html --file path/to/file.md

tmux-run-aip

Send a 'r' to the first active 'aip' (AIPack) tmux pane that run in this dir.

  • --dir <PATH>: Filter by pane directory (required).
  • --pane <NAME>: Filter by pane name/title (optional).
# To run the first 
jc-zed-tasks tmux-run-aip --dir /some/path/to/dir

# To run a specicif AIPack pane with agent name (which AIPack set at start)
jc-zed-tasks tmux-run-aip --dir /some/path/to/dir --pane pro@coder

new-dev-term

Open a new Alacritty development terminal.

  • --cwd <PATH>: Working directory for the new terminal.
  • --with-tmux: Start tmux in the new terminal.
  • --pos <below|bottom>: Position the terminal relative to Zed.
  • --show-if-present: If terminal with same title exists, show it instead of creating a new one.
jc-zed-tasks new-dev-term --cwd . --pos bottom

Development


# Build & Install
cargo install --path .

# Watch (great for in dev)
cargo watch -c -x "install --path ."

# Build and Help
# Build the project
cargo build --release

This repo

Commit count: 74

cargo fmt