gh-social-upload
0Upload a repo's social preview card from the CLI — the API GitHub never gave you.
The story
GitHub has no public API for setting a repository's social preview image — the OpenGraph card shown when your repo is shared on X, Slack, or Discord. The web UI is the only way. This tool drives that UI with Playwright and a saved browser session, so `gh social-upload --image social.png` just works — and your repo-publishing automation can finally be fully automated.
Highlights
- ✦One-liner: gh social-upload --image social.png
- ✦Auto-detects the repo from your working directory
- ✦Runs as a gh extension or npm CLI
- ✦Solves a gap GitHub has acknowledged but never filled
More in Tools
Spatial Deck
The presentation framework for people who think spatially. One HTML file, runs anywhere, forever.
gh-wiki-init
Enable + initialize a GitHub repo's wiki from the terminal — including the impossible first page.
found-footage
Your Mac said it couldn't save that screen recording. It probably did — this finds it.
Want this level of depth on your own project?
The classes teach the same production techniques these repos are built with — scar tissue included.