Skip to content

Releases

v0.1.0

Choose a tag to compare

@kenshaw kenshaw released this 26 Sep 03:24

wallgrab downloads Apple Aerial wallpapers. These are the videos that macOS
and tvOS play as a screen saver.

This is the first tagged release.

Installing

$ go install github.com/kenshaw/wallgrab@v0.1.0

Commands

$ wallgrab list          # list the available wallpapers
$ wallgrab list --sizes  # list them with the size of each one
$ wallgrab show          # draw a thumbnail of each one in the terminal
$ wallgrab grab          # download them
$ wallgrab versions      # list the OS versions that have wallpapers

What is in this release

Every macOS release that Apple publishes wallpapers for now works. Apple
changed the layout of the localized names at macOS v26, and wallgrab reads
both layouts:

Release Codename Wallpapers Languages
v14.0 Sonoma 134 39
v15.0 Sequoia 137 40
v26.0 Tahoe 156 43
v27.0 Golden Gate 164 44

wallgrab downloads the newest set by default. It reads the OS versions from
Apple's device management feed, so a new macOS release needs no new version of
wallgrab. Apple lists a version before it publishes the wallpapers for it, so
wallgrab walks back from the newest version until a set answers.

--version takes a number or a codename, so 27, v27.0 and golden gate
all name the same set. Codenames come from endoflife.date, because Apple
publishes no feed that names a release.

--lang takes any of the languages that Apple provides names for. Where two
different wallpapers share one translated name, wallgrab adds the shot id, so
the names stay unique in every language.

--os takes macos and tvos. Apple publishes one set for both today.

Apple's configuration and asset hosts do not use a publicly trusted root, so
wallgrab downloads Apple's root CA bundle at run time and caches it. The
bundle is no longer committed to the repository, and needs no update script.

wallgrab keeps the files it needs to find the wallpapers in ~/.cache/wallgrab
for a week, and does not cache the wallpapers themselves. A truncated or
corrupt cached file is deleted and downloaded again, which fixes an EOF
failure that was reported on the Aerials discussion. --clear deletes the
whole cache directory.

Notes

No binaries are attached. Install with go install as above.

history/ in the repository holds the wallpaper listing for each release, so
the sets can be compared side by side.

⌂ 换网址