Show HN: A (marginally) useful x86-64 ELF executable in 298 bytes (github.com)
Show HN highlights btry, a tiny (298-byte) x86-64 Linux program that reads battery status from /sys/class/power_supply and prints remaining capacity and percentage, using watt-hours or ampere-hours depending on available files. The project includes a one-liner install method via base64/xz decoding and notes limitations around supported platforms and edge cases in the sysfs battery entries.
April 07, 2026 17:25
Source: Hacker News