{"id":21213675,"url":"https://github.com/zenghongtu/bing-wallpaper","last_synced_at":"2025-08-26T02:17:10.970Z","repository":{"id":53937834,"uuid":"520836610","full_name":"zenghongtu/bing-wallpaper","owner":"zenghongtu","description":"A RESTful API for Bing wallpaper to use easy.","archived":false,"fork":false,"pushed_at":"2025-08-21T07:25:26.000Z","size":721,"stargazers_count":96,"open_issues_count":3,"forks_count":14,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-21T09:38:12.234Z","etag":null,"topics":["bing-wallpaper","bing-wallpaper-api","bing-wallpaper-json","vercel","vercel-serverless","wallpaper"],"latest_commit_sha":null,"homepage":"https://bingw.jasonzeng.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zenghongtu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-08-03T10:32:36.000Z","updated_at":"2025-08-21T07:25:30.000Z","dependencies_parsed_at":"2023-10-20T16:16:33.688Z","dependency_job_id":"09a60441-9e1a-4a90-b527-7f53083a28a8","html_url":"https://github.com/zenghongtu/bing-wallpaper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zenghongtu/bing-wallpaper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenghongtu%2Fbing-wallpaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenghongtu%2Fbing-wallpaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenghongtu%2Fbing-wallpaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenghongtu%2Fbing-wallpaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenghongtu","download_url":"https://codeload.github.com/zenghongtu/bing-wallpaper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenghongtu%2Fbing-wallpaper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272160246,"owners_count":24883781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bing-wallpaper","bing-wallpaper-api","bing-wallpaper-json","vercel","vercel-serverless","wallpaper"],"created_at":"2024-11-20T21:17:33.912Z","updated_at":"2025-08-26T02:17:10.945Z","avatar_url":"https://github.com/zenghongtu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bing-wallpaper\n\nA RESTful API for Bing wallpaper to use easy.\n\n\u003cimg width=\"800\" src=\"https://bingw.jasonzeng.dev/?w=800\"/\u003e\n\n\u003e `\u003cimg src=\"https://bingw.jasonzeng.dev/?w=800\"/\u003e`\n\n## Usage\n\n### API\n\nEndpoint: [https://bingw.jasonzeng.dev](https://bingw.jasonzeng.dev/)\n\n### Parameters\n\n#### resolution\n\nThe resolution of wallpaper image. Default is `1920x1080`.\n\nOption values:\n\n- `UHD`\n- `1920x1200`\n- `1920x1080`\n- `1366x768`\n- `1280x768`\n- `1024x768`\n- `800x600`\n- `800x480`\n- `768x1280`\n- `720x1280`\n- `640x480`\n- `480x800`\n- `400x240`\n- `320x240`\n- `240x320`\n\n#### format\n\nThe response format, can be `json`. **If not set, it will be redirected to the wallpaper image directly**.\n\n#### index\n\nThe index of wallpaper, starts from 0. By default, `0` means to get today's image, `1` means to get the image of yesterday, and so on. Negative number is reverse sort, `-1` will get the earliest wallpaper. Or you can specify it as `random` to choose a random index.\n\n#### date\n\nGet wallpaper by date, from `20190309` to today (format is `YYYYMMDD`).\n\n#### w\n\nThe width of the wallpaper.\n\n#### h\n\nThe height of the wallpaper.\n\n#### qlt\n\nThe quality of wallpaper, from `0` to `100`.\n\n### Example\n\n- Request\n\n```text\nhttp://bingw.jasonzeng.dev?resolution=UHD\u0026index=random\u0026w=1000\u0026format=json\n```\n\n- Response\n\n```json\n{\n\t\"startdate\": \"20220105\",\n\t\"copyright\": \"Plate-billed mountain toucan in Bellavista Cloud Forest Reserve, Ecuador (© Tui De Roy/Minden Pictures)\",\n\t\"urlbase\": \"/th?id=OHR.MountainToucan_EN-US7120632569\",\n\t\"title\": \"A plate-billed mountain toucan\",\n\t\"url\": \"https://www.bing.com/th?id=OHR.MountainToucan_EN-US7120632569_UHD.jpg\u0026w=1000\"\n}\n```\n\n### CSS background image\n\nYou can also use this API to set CSS background image:\n\n```text\nbackground-image: url(https://bingw.jasonzeng.dev/?index=random);\nheight: 100%;\nbackground-position: center;\nbackground-repeat: no-repeat;\nbackground-size: cover;\n```\n\n**Demo**\n\n[https://blog.jasonzeng.dev/](https://blog.jasonzeng.dev/)\n\n## Development\n\n```\npnpm run dev\n```\n\n## Related\n\n- [TimothyYe/bing-wallpaper](https://github.com/TimothyYe/bing-wallpaper) - A RESTful API to fetch daily wallpaper from Bing.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenghongtu%2Fbing-wallpaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenghongtu%2Fbing-wallpaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenghongtu%2Fbing-wallpaper/lists"}