Skip to content

rohhann12/codex-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

PastePath

PastePath is a macOS helper that turns image paste into a terminal-friendly file reference.

When you press cmd+v with an image on the clipboard, PastePath saves the image into a copied/ folder inside the active workspace and types back:

reference to the image is at /absolute/path/to/copied/image.png

Setup

  1. Open this folder:
cd "/Users/rohan/Documents/New project/pastepath"
  1. Build the app:
./build-pastepath.sh
  1. Copy the app into /Applications:
cp -R "./macos-paste-helper/dist/PastePath.app" /Applications/PastePath.app
  1. Open PastePath.app from /Applications.

  2. In macOS, enable: System Settings -> Privacy & Security -> Accessibility -> PastePath

Test

  1. Create the log file and watch it:
touch ~/Library/Logs/PastePath.log
tail -f ~/Library/Logs/PastePath.log
  1. Focus a supported terminal-style input.

  2. Copy an image.

  3. Press cmd+v.

Notes

  • Best supported: Terminal and iTerm2
  • Experimental: VS Code-hosted terminal / Codex TUI detection
  • The regular Codex GUI chat input is not the main target

About

macOS menu-bar helper that turns image paste into terminal-friendly file references for Terminal, iTerm2, and VS Code-hosted Codex/TUI workflows.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors