Generate and publish X posts for Codex changelog updates.
Source: https://developers.openai.com/codex/changelog
Tracked topics:
codex-appcodex-cli
If multiple unseen changelog entries appear between checks, script outputs all unseen entries from oldest to newest.
bun run index.ts- workflow:
.github/workflows/hourly.yml - schedule: hourly (
0 * * * *) + manual trigger index.tsgenerates, publishes to X, and updates state in one run- commits
.state/last_posted_key.txtwhen changed - CI uses Claude CLI for post generation
Required secrets:
CLAUDE_CODE_OAUTH_TOKENX_API_KEYX_API_SECRETX_ACCESS_TOKENX_ACCESS_TOKEN_SECRET
- none. single-purpose command.
- default: post generated by local
claudeCLI - style: multiline summary with line-level emojis + changelog link
- claude-only mode (fails loud on invalid/empty output)
- stdout: final posted text only
Default: .state/last_posted_key.txt
- script stores the last posted changelog key
- CLI entries use
rust-v<version>keys - app entries use the changelog entry id
- script skips output when state key matches latest entry
- script backfills all unseen entries between
state key -> latest - script writes state only after successful post publish