A WallHaven API CLI client for getting raw/json response and downloading wallpapers, according to preferences, with API key support to use account preferences and access NSFW wallpapers.
wallhaven search --query "+cat +funny" -s VIEWS -c 110 --atleast 1920x1080 --path ~/wallpapers/wallhaven search --query "anime +funny" -s VIEWS --atleast 1920x1080 --path ~/wallpapers/wallhaven search --colors 722f37 wallhaven search --query "" -s RANDOMwallhaven search --query "" -s RANDOM --seed YmdCUP# One time api access with api key
WALLHAVEN_API_KEY="your_api_key" wallhaven search --query "anime +cats" --purity 111 -s TOPLIST --path ~/wallpapers/
# Or
# Use api key always
export WALLHAVEN_API_KEY="your_api_key"
wallhaven search --query "anime +cats" --path ~/wallpapers/wallhaven wallpaper-info 856dlkwallhaven tag-info 15wallhaven user-settings# Get your own collections ** requieres API key **
wallhaven user-collections
# Get user public collections
wallhaven user-collections --username "some_username"You can install the binary crate directly
cargo install wallhaven you can clone wallhaven repo and build it locally
git clone https://github.com/dax99993/wallhaven
cd wallhaven
cargo install --path .- API key support
- Async
- Download wallpapers
- Download progress bar
- Suggestions and bugs to [email protected],