# sindresorhus/wallpaper

Manage the desktop wallpaper

Repository: https://github.com/sindresorhus/wallpaper
Canonical: https://ross.abutalabs.com/products/wallpaper
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, nodejs, wallpaper, desktop-wallpaper, macos, linux, windows
Last push: 2026-04-19T17:22:39+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 78, release rhythm 68, longevity 100
- inputs: {"age_days": 4170, "days_push": 136, "days_rel": 136, "gap_med": 39, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1093, forks 93 (observed 2026-08-28T04:03:33.720869+00:00)

## What it is
A Node.js library for getting and setting the desktop wallpaper programmatically on macOS, Linux, and Windows. It provides a promise-based API to read the current wallpaper path, set image files, and set solid color wallpapers (macOS only) across multiple screens.

## Use cases
- change desktop wallpaper from a node script
- get the current desktop background image path
- set wallpaper on all monitors programmatically
- rotate wallpapers on a schedule
- set a solid color desktop background
- build a wallpaper switcher app

## When to choose
- you need to programmatically get or set the desktop wallpaper in Node.js
- you want cross-platform support across macOS, Linux, and Windows
- you need per-screen wallpaper control on macOS

## When to avoid
- you need dynamic wallpapers like websites, video, or WebGL backgrounds
- you need reliable Linux support, which currently lacks a maintainer
- you are not working in a Node.js/JavaScript environment

## Facets
- artifact type: library
- maturity: active
- function: gui, file-system, image-processing
- domain: desktop-applications, cross-platform
- platform: windows
- tags: desktop-wallpaper, npm-package, promise-api, multi-monitor, automation, macos, linux, nodejs

## Member repositories
- sindresorhus/wallpaper (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.720869+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:48:58.582548+00:00, confidence not recorded.
  - readme: https://github.com/sindresorhus/wallpaper (fetched 2026-08-28T04:03:33.720869+00:00, sha b4bb7870ddfc)
  - registry_npm: https://registry.npmjs.org/wallpaper (fetched 2026-08-29T12:50:55.517307+00:00, sha 2f97530a0f09)
- Data as of 2026-08-30T08:39:29.467469+00:00.
