Commit activity
Last 12 weeks · 0 commits
Community health
3 of 6 standards met
Recent PRs & issues
Closes #299. Both read sites in discarded errors and kept polling. A permanently failing reader could spin indefinitely instead of returning its error. Return read failures from both sites while retrying , as required by the contract. Retrying happens before formatting, so an interruption cannot print stale buffer contents. The revised coverage uses two matrix tests: 150 fault positions check error propagation without another read, and 8,262 complete-output comparisons cover short/interrupted reads, three line widths, squeezing on/off and boundary lengths. Existing literal-output tests are retained. Validation of revised head on Rust 1.88.0/Linux x86-64: formatting, both focused regressions and all 58 all-target tests passed. Additional strict Clippy () exited 101 on three diagnostics at unchanged include-mode statements. The four planned Rust negative-control runs did not execute because that script stopped at Clippy. See the state-machine argument, full results and bounded-model limits. Historical validation reported in the original PR for earlier head : formatting, strict Clippy and 61 tests passed on macOS arm64 with colour-related environment variables controlled; the unchanged base failed the bounded error tests and outer-interruption output check. Those earlier results do not validate the revised source. The reporter's Linux command was not run locally. AI assistance was used for implementation and independent review.
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: the line and all three badge lines (CICD, crates.io license , crates.io version , including the empty-alt forms); the four preview images; every fenced code block verbatim, including the one written as ``aptdpkgdnfpacmanxbps-installeselectemergebrewportpkgpkginpkg_addnix-envguixcargosnapscoopx envgit clone https://github.com/sharkdp/hexylpandoc -s -f markdown -t man -o ./doc/hexyl.1 ./doc/hexyl.1.md# adapt version number and architecture.debhexyl.deb/etc/config.scmHEXYL_COLOR_*0x800x000x7Fblackwhitebright blue#abcdefHEXYL_COLOR_ASCII_PRINTABLE=blue HEXYL_COLOR_ASCII_WHITESPACE="bright green"HEXYL_COLOR_ASCII_OTHER="#ff7f99""bright"[LICENSE-APACHE][LICENSE-MIT]](#…)### 官方维护的软件包发布页面从 Snap Store 获取README.mdCONTRIBUTING.mdhexyl` (as opposed to a typo-fix in the documentation)", and opening a ticket first is suggested for "adding a new feature". A purely additive documentation translation falls outside both, so this follows the normal fork → pull-request flow. There is no AI/LLM prohibition, DCO, or CLA. 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.
Recent fixes
Hello! I really like but the default colors of green and cyan look too similar on my terminal (first output in screenshot below). I was surprised they aren't already customizable (there's issue https://github.com/sharkdp/hexyl/issues/220 for this), so I took a stab at enabling customization via env vars. It turned out to not be as straightforward as I'd hoped. uses the terminal codes directly, and the API for dynamic colors expects you to use the traits. In other words, doesn't provide direct access to the terminal codes like does. So, in short, it required a slightly ugly hack to get working, without rewriting a lot of other code anyway. For that reason I'm submitting this PR as a proof of concept. If you are OK with it then I can finish it up with documentation and tests, etc. Screenshot: !Screenshot from 2025-05-12 14-14-00
Repository: sharkdp/hexyl. Description: A command-line hex viewer Stars: 10311, Forks: 367. Primary language: Rust. Languages: Rust (100%). License: Apache-2.0. Topics: binary-data, command-line, hexadecimal, rust, tool. Latest release: v0.17.0 (9mo ago). Open PRs: 21, open issues: 22. Last activity: 6mo ago. Community health: 57%. Top contributors: sharkdp, sharifhsn, ErichDonGubler, merkrafter, RinHizakura, mkatychev, tommilligan, sorairolake, selfup, arnavb and others.