Commits
May 2026:
- README: fix a couple of broken links
- .github: remove my now-unused GitHub Actions config
- scripts: add my standard test runner
February 2026:
- Merge pull request #125 from alexwlchan/dependabot/cargo/clap-4.5.60
- Bump clap from 4.5.56 to 4.5.60
- Merge pull request #121 from alexwlchan/dependabot/cargo/clap-4.5.56
- Bump clap from 4.5.54 to 4.5.56
January 2026:
- Merge pull request #120 from alexwlchan/dependabot/cargo/assert_cmd-2.1.2
- Bump assert_cmd from 2.1.1 to 2.1.2
- Merge pull request #119 from alexwlchan/dependabot/cargo/clap-4.5.54
- Bump clap from 4.5.53 to 4.5.54
November 2025:
- Merge pull request #116 from alexwlchan/dependabot/github_actions/actions/checkout-6
- Bump actions/checkout from 5 to 6
- Merge pull request #117 from alexwlchan/dependabot/cargo/image-0.25.9
- Bump image from 0.25.8 to 0.25.9
- Merge pull request #118 from alexwlchan/dependabot/cargo/clap-4.5.53
- Bump clap from 4.5.51 to 4.5.53
- Merge pull request #114 from alexwlchan/dependabot/cargo/clap-4.5.51
- Bump clap from 4.5.50 to 4.5.51
- Merge pull request #115 from alexwlchan/dependabot/cargo/assert_cmd-2.1.1
- Bump assert_cmd from 2.0.17 to 2.1.1
October 2025:
- Merge pull request #113 from alexwlchan/dependabot/cargo/clap-4.5.50
- Bump clap from 4.5.49 to 4.5.50
- Merge pull request #111 from alexwlchan/dependabot/cargo/clap-4.5.49
- Bump clap from 4.5.48 to 4.5.49
September 2025:
- Merge pull request #110 from alexwlchan/dependabot/cargo/clap-4.5.48
- Bump clap from 4.5.47 to 4.5.48
- Merge pull request #109 from alexwlchan/dependabot/cargo/kmeans_colors-0.7.1
- Bump kmeans_colors from 0.7.0 to 0.7.1
- Merge pull request #107 from alexwlchan/dependabot/cargo/image-0.25.8
- Bump image from 0.25.6 to 0.25.8
- Merge pull request #106 from alexwlchan/dependabot/cargo/image-webp-0.2.4
- Bump image-webp from 0.2.3 to 0.2.4
- Merge pull request #108 from alexwlchan/dependabot/cargo/clap-4.5.47
- Bump clap from 4.5.45 to 4.5.47
August 2025:
- Merge pull request #104 from alexwlchan/dependabot/github_actions/actions/checkout-5
- Bump actions/checkout from 4 to 5
- Merge pull request #105 from alexwlchan/dependabot/cargo/clap-4.5.45
- Bump clap from 4.5.43 to 4.5.45
- Merge pull request #103 from alexwlchan/dependabot/cargo/clap-4.5.43
- Bump clap from 4.5.42 to 4.5.43
- Merge pull request #102 from alexwlchan/dependabot/cargo/clap-4.5.42
- Bump clap from 4.5.41 to 4.5.42
July 2025:
- Merge pull request #101 from alexwlchan/dependabot/cargo/clap-4.5.41
- Bump clap from 4.5.40 to 4.5.41
June 2025:
- Merge pull request #100 from alexwlchan/dependabot/cargo/image-webp-0.2.3
- Bump image-webp from 0.2.2 to 0.2.3
- Merge pull request #98 from alexwlchan/dependabot/cargo/clap-4.5.40
- Bump clap from 4.5.39 to 4.5.40
- Merge pull request #99 from alexwlchan/dependabot/cargo/image-webp-0.2.2
- Bump image-webp from 0.2.1 to 0.2.2
- Merge pull request #97 from alexwlchan/dependabot/cargo/clap-4.5.39
- Bump clap from 4.5.38 to 4.5.39
May 2025:
April 2025:
- Merge pull request #94 from alexwlchan/dependabot/cargo/clap-4.5.37
- Bump clap from 4.5.35 to 4.5.37
- Merge pull request #95 from alexwlchan/dependabot/cargo/assert_cmd-2.0.17
- Bump assert_cmd from 2.0.16 to 2.0.17
- Merge pull request #93 from alexwlchan/dependabot/cargo/kmeans_colors-0.7.0
- Bump kmeans_colors from 0.6.0 to 0.7.0
- Merge pull request #91 from alexwlchan/dependabot/cargo/clap-4.5.35
- Bump clap from 4.5.34 to 4.5.35
March 2025:
- Merge pull request #89 from alexwlchan/dependabot/cargo/clap-4.5.34
- Bump clap from 4.5.32 to 4.5.34
- Merge pull request #90 from alexwlchan/dependabot/cargo/image-0.25.6
- Bump image from 0.25.5 to 0.25.6
- Merge pull request #88 from alexwlchan/dependabot/cargo/clap-4.5.32
- Bump clap from 4.5.31 to 4.5.32
- Merge pull request #87 from alexwlchan/dependabot/cargo/clap-4.5.31
- Bump clap from 4.5.30 to 4.5.31
February 2025:
- Switch to weekly updates for Dependabot
- Merge pull request #86 from alexwlchan/dependabot/cargo/clap-4.5.30
- Bump clap from 4.5.28 to 4.5.30
- Merge pull request #84 from alexwlchan/dependabot/cargo/clap-4.5.28
- Bump clap from 4.5.27 to 4.5.28
January 2025:
- Merge pull request #83 from alexwlchan/dependabot/cargo/clap-4.5.27
- Bump clap from 4.5.26 to 4.5.27
- Merge pull request #82 from alexwlchan/dependabot/cargo/image-webp-0.2.1
- Bump image-webp from 0.2.0 to 0.2.1
- Merge pull request #81 from alexwlchan/dependabot/cargo/clap-4.5.26
- Bump clap from 4.5.24 to 4.5.26
- Merge pull request #80 from alexwlchan/dependabot/cargo/clap-4.5.24
- Bump clap from 4.5.23 to 4.5.24
- Merge pull request #79 from alexwlchan/even-better-tests
- I can use
arg()instead ofargs()
- Merge pull request #77 from alexwlchan/better-tests
- Get rid of the helpers; just use
assert_cmddirectly
- Make this happy
- WIP tests
- Merge pull request #78 from alexwlchan/dependabot/cargo/predicates-3.1.3
- Bump predicates from 3.1.0 to 3.1.3
- Better example arguments (again)
- Add better examples
- Collapse down the function
- Merge pull request #76 from alexwlchan/better-tests
- Convert all my CLI tests to the new structure
- Create a new
run_command()function/macro
December 2024:
- Merge pull request #74 from alexwlchan/dependabot/cargo/clap-4.5.23
- Bump clap from 4.5.22 to 4.5.23
- Merge pull request #73 from alexwlchan/dependabot/cargo/clap-4.5.22
- Bump clap from 4.5.21 to 4.5.22
November 2024:
- Merge pull request #72 from alexwlchan/dependabot/cargo/clap-4.5.21
- Bump clap from 4.5.20 to 4.5.21
- Merge pull request #71 from alexwlchan/static-webp-bug
- Fix a bug when getting colours for a non-animated WebP
- Merge pull request #70 from alexwlchan/dependabot/cargo/image-0.25.5
- Bump image from 0.25.4 to 0.25.5
October 2024:
- Merge pull request #69 from alexwlchan/dependabot/cargo/regex-1.11.1
- Bump regex from 1.11.0 to 1.11.1
- Merge pull request #68 from alexwlchan/dependabot/cargo/image-0.25.4
- Fix the expected error message
- Bump image from 0.25.2 to 0.25.4
- Merge pull request #66 from alexwlchan/dependabot/cargo/clap-4.5.20
- Bump clap from 4.5.19 to 4.5.20
- Merge pull request #65 from alexwlchan/detect-tty
- Don’t print terminal colours when not running in a tty
- Merge pull request #64 from alexwlchan/dependabot/cargo/clap-4.5.19
- Bump clap from 4.5.18 to 4.5.19
September 2024:
- Merge pull request #63 from alexwlchan/dependabot/cargo/regex-1.11.0
- Bump regex from 1.10.6 to 1.11.0
- Merge pull request #62 from alexwlchan/dependabot/cargo/clap-4.5.18
- Bump clap from 4.5.17 to 4.5.18
- Merge pull request #61 from alexwlchan/dependabot/cargo/clap-4.5.17
- Bump clap from 4.5.16 to 4.5.17
- Merge pull request #60 from alexwlchan/animated-webp
- Add a test for a malformed WebP image
- Remember to run
cargo fmt
- Add a changelog entry for animated WebP
- Improve some of the error handling
- Start refactoring for better error handling
- Handle the case where a path has no file extension
- Refactor to add support for animated WebP
- Rename this function for clarity
- Extract
extensionas a separate variable
- Extract the code for getting animated frames into a separate function
August 2024:
- Add write permissions for this GitHub token
- Merge pull request #58 from alexwlchan/dependabot/cargo/clap-4.5.16
- Bump clap from 4.5.15 to 4.5.16
- Merge pull request #56 from alexwlchan/dependabot/cargo/clap-4.5.15
- Bump clap from 4.5.14 to 4.5.15
- Merge pull request #54 from alexwlchan/dependabot/cargo/assert_cmd-2.0.16
- Bump assert_cmd from 2.0.15 to 2.0.16
- Merge pull request #55 from alexwlchan/dependabot/cargo/clap-4.5.14
- Bump clap from 4.5.13 to 4.5.14
- Merge pull request #53 from alexwlchan/dependabot/cargo/regex-1.10.6
- Bump regex from 1.10.5 to 1.10.6
- Merge pull request #52 from alexwlchan/dependabot/cargo/clap-4.5.13
- Bump clap from 4.5.11 to 4.5.13
July 2024:
- Merge pull request #50 from alexwlchan/dependabot/cargo/assert_cmd-2.0.15
- Bump assert_cmd from 2.0.14 to 2.0.15
- Merge pull request #51 from alexwlchan/dependabot/cargo/clap-4.5.11
- Bump clap from 4.5.9 to 4.5.11
- Merge pull request #48 from alexwlchan/dependabot/cargo/image-0.25.2
- Bump image from 0.25.1 to 0.25.2
- Remove an empty comment
- Merge pull request #45 from alexwlchan/better-gif
- Slightly tweak the way I get colours from GIFs
- Merge pull request #44 from alexwlchan/dependabot/cargo/clap-4.5.9
- Bump clap from 4.5.8 to 4.5.9
- Merge pull request #43 from alexwlchan/dependabot/cargo/clap-4.5.8
- Bump clap from 4.5.7 to 4.5.8
June 2024:
- Merge pull request #42 from alexwlchan/use-derive
- Switch to using the Derive API for Clap
- Merge pull request #41 from alexwlchan/test-version
- Add a test for the
--versionflag
- Merge pull request #40 from alexwlchan/dependabot/cargo/clap-4.5.7
- Bump clap from 4.5.6 to 4.5.7
- Merge pull request #39 from alexwlchan/dependabot/cargo/clap-4.5.6
- Bump clap from 4.5.4 to 4.5.6
- Add a schedule to my Dependabot updates
May 2024:
- Add the permissions to the GitHub Actions config
- Add a changelog entry; bump the version
- Merge pull request #38 from alexwlchan/best-against-background
- Fix a failing test
- Remember to run
cargo fmt
- Add a couple of tests for background picking
- Implement a basic version of background checking
- Move some comments down
- Pull colour printing into a function; print background color
- Add a new command-line flag ‘–best-against-background’
- Merge pull request #37 from alexwlchan/webp-support
- Add support for WebP images
- Split out the code for finding dominant colours
- Bump the version number in Cargo.toml
- Add some instructions for contributing
- Try to get the release process working again
- Let’s target the latest versions of everything
- Merge pull request #36 from alexwlchan/get-image-colors
- Rename ‘get_bytes’ to ‘get_image_colors’
- Merge pull request #35 from alexwlchan/non-deprecated-github-actions
- Ditch the deprecated actions from the
actions-rsorganisation
- Merge pull request #33 from alexwlchan/dependabot/cargo/clap-4.5.4
- Fix the expected error message in this test
- Bump clap from 4.0.18 to 4.5.4
- Merge pull request #30 from alexwlchan/dependabot/cargo/image-0.25.1
- Fix a failing test
- Fix the issue with the new version of image
- Bump image from 0.24.4 to 0.25.1
- Merge pull request #29 from alexwlchan/dependabot/cargo/kmeans_colors-0.6.0
- Fix the compatibility issues with kmeans_colors
- Bump kmeans_colors from 0.5.0 to 0.6.0
- Merge pull request #32 from alexwlchan/dependabot/cargo/assert_cmd-2.0.14
- Bump assert_cmd from 2.0.5 to 2.0.14
- Add Dependabot config for Cargo
- Merge pull request #28 from alexwlchan/dependabot/github_actions/actions/checkout-4
- Bump actions/checkout from 2 to 4
- Add Dependabot config for GitHub Actions
August 2023:
October 2022:
- Add the dominant slices example
- Merge pull request #22 from alexwlchan/bump-palette
- Bump the version of kmeans-colors and palette
- Merge pull request #21 from alexwlchan/update-clap
- remember to format my code
- Use the newest version of clap
- Get the tests passing; use the new builder pattern
- Get it compiling with the Clap 3.x.x series
- Update CHANGELOG.md
- keep fiddling
- have another go
- tar for all platforms
- Add a changelog entry
- Add binaries for Alpine Linux and Apple Silicon
- Merge pull request #18 from alexwlchan/fix-bug
- Update CHANGELOG.md
- Revert “log the error”
- Fix a bug when finding the dominant colour of some animated GIFs
- log the error
- Merge pull request #17 from alexwlchan/add-tif-support
- don’t run two builds on every PR
- Add support for TIFF images
- Bump the version of the image crate
- Merge pull request #15 from alexwlchan/add-webapp-readme
June 2022:
May 2022:
- add some social media cards
- Revert “move the screenshot into the web app”
- move the screenshot into the web app
- add a missing space
- Use the wide screenshot
- Add a README for the web app
- add a link to the CLI; tweak footer links
- Merge pull request #14 from alexwlchan/test-bad-image
- Fix a formatting issue
- Add a test for dealing with malformed images
- Remove an unused import
- add some funky styling
- Handle errors (e.g. somebody uploading a bad image)
- redirect on GET to /palette
- new start script
- no more mv
- we can’t write to /usr/local/bin on glitch
- tweak the startup script
- Merge pull request #13 from alexwlchan/webapp
- get it working
- get something working
- get the design working on phones
- get a very basic web app working
April 2022:
- Merge pull request #12 from alexwlchan/formatting
- Run ‘cargo fmt’ over the codebase
- Add a formatting check in CI
- Update README.md
- Bump the version number to v1.1.1
- Use GitHub Actions to upload binaries on releases
December 2021:
- Add a link to the accompanying blog post
- Merge pull request #9 from gennyble/fix-no-palette-test
- Fix –no-palette test
- Run GitHub Actions against PRs
November 2021:
- Update README.md
- Add a changelog entry for v1.1.0
- make the tests work on case sensitive filesystems
- Handle the case where a GIF doesn’t exist
- remove some debugging code
- Handle an uppercase .gif extension
- Tidy up the code for getting frames from animated GIFs
- get something halfway performant for animated GIFs
- get the pixels out of an animated GIF
- Start to build out GIF support
- Add a changelog entry for v1.0.1
- Use uppercase text for variables in the help text
- Fetch the version from Cargo.toml
- Make a screenshot which is 2x at GitHub screen res
- Reduce repetition in main.rs
- Make the screenshot flush with the left-hand edge
- Add a changelog and tag for the initial release
- Expand the README to explain how the tool works
- Add a LICENSE file
- Merge pull request #4 from alexwlchan/better-error-handling
- Better handle non-existent/non-image files and unsupported image formats
- Merge pull request #1 from alexwlchan/add-ci
- Use a helper function to extract stdout/stderr/exit code
- Capture a potentially interesting Rust compiler output
- Add helper functions for the tests
- Add a helper function for calling get_output
- Add a test that you can choose the number of colours
- test that it fails on an invalid count
- Cope with less than deterministic output
- Add a couple of tests with a simple red image
- Run some tests with GitHub Actions
- Resize the image, tighter convergence, fix –no-palette
- clear out some debugg-y code
- get it basically working
- get something that just about works