sharkdp

pastel

A command-line tool to generate, analyze, convert and manipulate colors

by sharkdp

Rust

Rust100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · Last activity 6mo ago
See all on GitHub →
WanderLandWalker

What this does Adds a Simplified Chinese translation of the README as to help Chinese-speaking developers discover and adopt . Purely additive: one new file, no existing files modified. Preserved unchanged: all 4 badge lines byte-identical (including the three empty-alt badges with , , ); the double blank line after the badge block; the image line with its English alt and relative target; all 26 fenced code blocks byte-for-byte — script-verified as 10 blocks opened with ``lightslategray'#778899''rgb(119, 136, 153)''hsl(210, 14.3%, 53.3%)'printf "%s\n"pastel paintecho" ERROR! "" A serious error""highlighted".debcd /usr/pkgsrc/graphics/pastelpastelsaturatemixpaintpastel mix -hpastel help mixredbluedpkgcargo https://blog.xkcd.com/2010-05-03/color-survey-results/types.html#ColorKeywords Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) * MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)](#…)#ColorKeywords[release page][发布页面][Nix package][Nix 软件包][Extra][Homebrew][Scoop][Winget][Get it from the Snap Store][从 Snap Store 获取][rust's installation documentation][Rust 的安装文档]README.mdCONTRIBUTING.md` at the repo root returned 404, and the README has no restrictions on who may open pull requests, no DCO/CLA, and no AI/LLM prohibition — so this purely additive translation follows the normal fork → pull-request flow. I would love to become a Contributor to this repository, and I'm happy to match any preferred convention and keep the translation in sync as the English README evolves.

WanderLandWalker · 4w ago
jadenfix

Formatting Lab and LCh rounds every coordinate to an integer. Parsing that output back can change a color substantially: becomes , then ; becomes through either representation. Retain four decimal places, matching the existing OkLab and OkLCh formatters. Update the formatter documentation, expected strings, and changelog. A library regression covers representative primary, dark, boundary and mixed colors with both spacing modes and alpha values. An integration regression runs the actual CLI and pipes the Lab/LCh output back into . Related to the fractional-coordinate rounding discussed in #108; its gamut-mapping question remains open. The printed coordinate strings intentionally gain fractional digits. Validation on baseline : Both new library and CLI regressions fail independently before the fix and pass afterward. : 68 library tests, 1 CLI unit test and 7 integration tests passed. and passed without warnings. Real CLI pipelines for green, a dark color and hot pink preserve their hexadecimal RGB values through both Lab and LCh output. The library regression checks 80 representative combinations; no exhaustive RGB-space guarantee is claimed. Prepared with OpenAI Codex assistance and reviewed by a separate agent against the final commit and regression evidence. No independent human review is claimed.

jadenfix · 4w ago
meop

Summary add aarch64-pc-windows-msvc on the native windows-11-arm runner add aarch64-pc-windows-gnullvm on the native windows-11-arm runner, so ARM64 gets both Windows ABIs that x86_64 already ships (MSVC and GNU). Rust has no aarch64-pc-windows-gnu; gnullvm is its GNU-family counterpart. pin the Intel macOS release to macos-15-intel The gnullvm job uses the MSYS2 CLANGARM64 linker and links with , so the binary does not depend on MSYS2's at runtime. Validation Original MSVC change, full workflow: https://github.com/meop/pastel/actions/runs/31940647080 With the gnullvm lane, full workflow plus a fork-only check that the gnullvm runs with only System32 on PATH: https://github.com/meop/pastel/actions/runs/37170366243 Disclosure This change was prepared with assistance from OpenAI Codex and Claude (Anthropic). I reviewed the resulting diff and validated it through the linked GitHub Actions runs.

meop · 1mo ago
Structured data for AI agents

Repository: sharkdp/pastel. Description: A command-line tool to generate, analyze, convert and manipulate colors Stars: 6547, Forks: 184. Primary language: Rust. Languages: Rust (100%). License: Apache-2.0. Topics: cli, color-converter, color-space, colors, command-line, rust, terminal, tool. Latest release: v0.12.0 (9mo ago). Open PRs: 17, open issues: 25. Last activity: 6mo ago. Community health: 42%. Top contributors: sharkdp, dependabot[bot], rivy, danieledapo, superhawk610, yyzdtccjdtc, saidsay-so, sigmaSd, bresilla, rozbb and others.