Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

codex-wrapped

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codex-wrapped

Generate a personalized Spotify Wrapped-style summary of your Codex usage

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

codex-wrapped

Your year in code, beautifully visualized.

Credit: Built on top of opencode-wrapped by moddi3 (@moddi3io).

Found this useful? Follow @nummanali for more AI tooling!

Generate a personalized "Spotify Wrapped"-style summary of your Codex usage.

License: MIT Bun

Codex Wrapped Example

Installation

Quick Start

Run directly without installing:

npx codex-wrapped # or bunx, or yarn/pnpm dlx

Global Install

npm install -g codex-wrapped # or bun/yarn/pnpm

Then run anywhere:

codex-wrapped

Usage Options

OptionDescription
--year, -yGenerate wrapped for a specific year
--help, -hShow help message
--version, -vShow version number

Features

  • Sessions, messages, tokens, projects, and streaks
  • GitHub-style activity heatmap
  • Top models and providers breakdown
  • Usage cost (when available)
  • Shareable PNG image
  • Inline image display (Ghostty, Kitty, iTerm2, WezTerm, Konsole)
  • Auto-copy to clipboard

Terminal Support

The wrapped image displays natively in terminals that support inline images:

TerminalProtocolStatus
GhosttyKitty GraphicsFull support
KittyKitty GraphicsFull support
WezTermKitty + iTerm2Full support
iTerm2iTerm2 InlineFull support
KonsoleKitty GraphicsFull support
Other terminalsImage saved to file only

Output

The tool generates:

  • Terminal Summary — Quick stats overview in your terminal
  • PNG Image — A beautiful, shareable wrapped card saved to your home directory
  • Clipboard — Automatically copies the image to your clipboard

Data Source

Codex Wrapped reads data from your local Codex CLI installation:

~/.codex/ (history.jsonl, sessions, logs)

No data is sent anywhere. Everything is processed locally.

Building

Development

# Run in development mode with hot reload
bun run dev

Production Build

# Build for all platforms
bun run build

Releasing

Releases are automated via semantic-release. Merging PRs with conventional commits to main triggers a release.

Tech Stack

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see LICENSE for details.

Built for the Codex community

Credit: ccusage

Keywords

codex

FAQs

Package last updated on 25 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts