What is the Code Terminal Template?
The Code Terminal template renders your OG image as a realistic terminal emulator window, complete with macOS-style traffic light controls (red, yellow, green dots), a terminal header bar, and monospace font throughout.
The color scheme is based on Catppuccin Mocha, one of the most popular terminal themes in the developer community. The background uses#1e1e2e with a darker header bar at #181825, matching the real Catppuccin palette exactly.
The title is displayed as green terminal output (#a6e3a1) at 36px, and the subtitle is prefixed with // to look like a code comment. Above the title, a $ ogpixel generateprompt in blue adds the illusion of a real command being executed.
Best Use Cases
Developer Tools & CLIs
Make your CLI tool look authentic when shared
API Documentation
Technical docs shared on social with a dev-friendly look
Technical Tutorials
Blog posts about coding, frameworks, or devops
Open Source Projects
GitHub README links that look great on social
Customization Guide
Title: This is the most important field. Use it for your command, package name, or key message. For example: npm install my-tool,kubectl apply -f deploy.yaml, orBuild Failed: 3 Tests.
Subtitle: Use it for a comment or output line. The // prefix makes it look like a code comment. Or use it for success/error output in your message.
Accent Color: Changes the command prompt color. The default blue (#89b4fa) matches Catppuccin. Green (#a6e3a1) looks like a successful command. Red (#f38ba8) for error messages.