For details, see https://www.hestudio.net/docs/hestudio_bing_wallpaper_get.html
Run port at
3000
GET /getimage
GET /gettitle
Return parameters:
| Parameters | Description |
|---|---|
title |
title |
GET /getcopyright
Return parameters:
| Parameters | Description |
|---|---|
copyright |
Copyright information |
copyrightlink |
The link corresponding to the copyright information |
docker pull hestudio/bingwallpaper_get
docker run -d -p 3000:3000 hestudio/bingwallpaper_getgit clone https://github.com/hestudio-community/bing-wallpaper-get.git
cd bing-wallpaper-get
npm install --global pnpm
pnpm install
pnpm run serverWe will use
pnpmas the package manager after version 1.3.2. If you deploy in this way, please switch in time to avoid any impact.
npm install hestudio-bingwallpaper-get
echo "require('hestudio-bingwallpaper-get')" >> server.js
node server.js