You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide a way to upload images for PR descriptions & comments #4228
I built gitshot to solve exactly this - posted this image using gitshot 🎉 🎉
GitShot is a zero-config, agent-ready CLI that uploads images to GitHub issues, PRs, and comments. Announcement.
I built gh-image as a gh CLI extension to solve this. It replicates the browser's own upload flow, so images land at github.com/user-attachments/assets/….
The same URLs you get from drag-and-drop. Images on private repos stay private, since the URLs inherit repo visibility.
gh extension install drogers0/gh-image
IMG=$(gh image banner.png --repo cli/cli)# => 
vipulgupta2048 commentedon Mar 26, 2026
I built gitshot to solve exactly this - posted this image using gitshot 🎉 🎉
GitShot is a zero-config, agent-ready CLI that uploads images to GitHub issues, PRs, and comments. Announcement.
npm i -g gitshotgh extension install vipulgupta2048/gitshotnpx skills add vipulgupta2048/gitshotdrogers0 commentedon Mar 27, 2026
I built
gh-imageas aghCLI extension to solve this. It replicates the browser's own upload flow, so images land atgithub.com/user-attachments/assets/….The same URLs you get from drag-and-drop. Images on private repos stay private, since the URLs inherit repo visibility.
^ That's the command I used to post this.
It automatically pulls your browser's session cookie, no tokens or OAuth setup required.
IhvanKiziev2015-source commentedon Jul 9, 2026