RepositoryGoNONorway
bjarneo

bjarneo/peachy

A delightful TUI for creating terminal color themes from images

54stars
0forks
0issues
1views

Peachy

A delightful TUI for creating terminal color themes from images

Extract beautiful 16-color palettes from your wallpapers, fine-tune every color, and export to colors.toml


https://github.com/user-attachments/assets/c5358ed9-cf0b-4d13-9c46-45b67f5003cd

Why Peachy?

Ever found the perfect wallpaper but couldn't get your terminal colors to match? Peachy extracts dominant colors from any image using ImageMagick, intelligently assigns them to ANSI color roles, and lets you tweak each one until it's just right.

Features

  • Smart Color Extraction - Uses ImageMagick to extract 16 dominant colors and auto-assigns them to ANSI roles
  • Multiple Extraction Modes - Normal, Material, Pastel, Monochromatic, or Analogous algorithms
  • Image Preview in Terminal - See wallpapers using Unicode half-block rendering
  • Precision Color Tuning - Adjust colors via HSL sliders or direct hex input
  • Vim-style Navigation - Navigate with j/k, edit with Enter, quit with q

Installation

curl -fsSL https://raw.githubusercontent.com/bjarneo/peachy/main/install.sh | bash

Prerequisites

  • ImageMagick (for color extraction)
# Arch Linux
sudo pacman -S imagemagick

# Ubuntu/Debian
sudo apt install imagemagick

# macOS
brew install imagemagick

Build from Source

Requires Go 1.21+

git clone https://github.com/bjarneo/peachy.git
cd peachy
go build -o peachy .

# Optional: Install to PATH
sudo mv peachy /usr/local/bin/

Quick Start

# Launch the TUI
peachy

# Open TUI with an image
peachy ~/Pictures/wallpaper.png

# Generate theme from command line (no TUI)
peachy generate wallpaper.jpg

# Apply a saved theme
peachy apply mytheme

Press o to open the file picker, select an image, and watch the magic happen.

Basic Usage

peachy [image]              # Launch TUI (optionally with image)
peachy generate <image>     # Generate theme from image
peachy apply <theme>        # Apply a saved theme
peachy list                 # List saved themes
peachy export <theme> <dir> # Export theme to folder

Key TUI Shortcuts

KeyAction
j / kNavigate up/down
EnterEdit selected color
oOpen file picker
sSave theme
aApply palette to system
mCycle extraction mode
tToggle light/dark mode
qQuit

Documentation

Custom Templates

Generate config files for any application when applying themes:

# Install templates interactively
curl -fsSL https://raw.githubusercontent.com/bjarneo/peachy/main/docs/install-templates.sh | bash

# List available templates
peachy templates list

Supports: alacritty, btop, cava, dunst, foot, ghostty, gtk, hyprland, iterm2, kitty, mako, neovim, rofi, waybar, wofi, and more.

  • Aether - GTK theme creator (Peachy's big sibling)

License

MIT


Made with 🍑 by @iamdothash

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
omacom/aether

Aether, native Omarchy theming made easy.

793
Nov 20, 2026
RepositoryHTML
aorumbayev/awesome-omarchy

⚡A curated list of awesome omarchy resources

740
Nov 16, 2026
RepositoryQML
HANCORE-linux/quickshell-dots

A new journey of customization — Quickshell Rise is my first Quickshell bar, built from scratch for Omarchy. Modern, modular, and fully integrated into the Omarchy ecosystem.

229
Jul 30, 2026
RepositoryGo
omacom/try-omarchy-windows

Use Omarchy Linux on Windows without any hassle.

793
Nov 29, 2026
RepositoryGo
erans/hyprmon

TUI monitor configuration tool for Hyprland with visual layout, drag-and-drop, and profile management

529
Nov 16, 2026
RepositoryGo
crmne/hyprmoncfg

Arrange Hyprland monitors without doing coordinate math

486
Nov 30, 2026
RepositoryGo
CyphrRiot/ArchRiot

A curated Arch Linux Experience like no other. Start a Riot.

153
Jun 15, 2026
RepositoryRust
t4t5/owly

airdrop for non-apple devices

3.4k
Nov 29, 2026
RepositorySwift
omacom/try-omarchy

Run Omarchy on MacOS without any setup.

3.0k
Nov 27, 2026