
Research
/Security News
PolinRider Spreads Through Compromised GitHub Accounts and Packagist
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.
@hewliyang/codex-image-cli
Advanced tools
Standalone Node.js CLI/SDK for generating/editing images via the ChatGPT Codex image_generation backend.
Standalone Node.js CLI/SDK for generating or editing images through the ChatGPT Codex subscription via the Responses API
tool_choice: { type: "image_generation" }
npm install -g @hewliyang/codex-image-cli
img-gen --help
img-gen -o out.png -s 1024x1024 "draw a tiny red dragon sticker"
img-gen -i out.png -o edited.png "edit this into a blue dragon"
img-gen check
For local development:
npm install
npm run build
node dist/index.js -o out.png -s 1024x1024 "draw a tiny red dragon sticker"
Login to Codex with Pi or Codex, the CLI consumes their access tokens. Token refresh is not supported by calls via the CLI.
import { generateImage } from "@hewliyang/codex-image-cli";
const result = await generateImage({
prompt: "draw a tiny red dragon sticker",
outputPath: "out.png",
size: "1024x1024",
});
FAQs
Standalone Node.js CLI/SDK for generating/editing images via the ChatGPT Codex image_generation backend.
The npm package @hewliyang/codex-image-cli receives a total of 2 weekly downloads. As such, @hewliyang/codex-image-cli popularity was classified as not popular.
We found that @hewliyang/codex-image-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.