bingwall

Crates.iobingwall
lib.rsbingwall
version0.1.2
created_at2026-01-07 18:56:49.224919+00
updated_at2026-01-10 19:46:52.303434+00
descriptionGrab today's Bing wallpaper
homepage
repositoryhttps://codeberg.org/ttyS0/bingwall
max_upload_size
id2028841
size29,365
ttyS0 (ttyS0)

documentation

README

bingwall

license crates.io version Forgejo Actions

Grab today's Bing wallpaper

Quick start

Install with cargo:

$ cargo install bingwall

or download latest binary (Linux x86-64 / Windows amd64) from releases.

Simply run bingwall to download the wallpaper:

$ bingwall
./202601100800_UHD.jpg

Options

Specify output directory/file

By default, the wallpaper is saved in the current directory. You can specify a different output directory or file using the -o option.

$ bingwall -o /tmp
/tmp/202601100800_UHD.jpg

$ bingwall -o /tmp/wallpaper.jpg
/tmp/wallpaper.jpg

If the output file already exists, it will not be overwritten unless you use the -f option.

$ bingwall -o /tmp/wallpaper.jpg
Error: Custom { kind: AlreadyExists, error: "image already exists, overwrite with -f" }
$ bingwall -o /tmp/wallpaper.jpg -f
/tmp/wallpaper.jpg

Override origin

The default origin is https://www.bing.com. You can override this with the --origin option if you need to comply with regional restrictions.

$ bingwall --origin https://cn.bing.com
./202601100800_UHD.jpg

Proxy

Only HTTP CONNECT proxy is supported.

You can specify a proxy either with the --proxy option or by setting any of the following environment variables:

  • https_proxy or HTTPS_PROXY
  • http_proxy or HTTP_PROXY
  • all_proxy or ALL_PROXY

⚠️ NOTE: The first existing proxy environment variable is used, regardless of its protocol.

The --proxy option takes precedence over environment variables.

$ bingwall --proxy http://localhost:3128
./202601100800_UHD.jpg

$ env all_proxy=http://localhost:3128 bingwall
./202601100800_UHD.jpg
Commit count: 17

cargo fmt