Skip to content

Broken images: source.unsplash.com returns 503 since mid-2024 #115

@kiluazen

Description

@kiluazen

What's happening

Several templates in this project use https://source.unsplash.com/random for background images in the new tab page:

  • template-lit-js/src/newtab/index.js
  • template-alpine-ts/newtab.html
  • template-vue-ts/src/newtab/NewTab.vue
  • template-vue-js/src/newtab/NewTab.vue

Unsplash deprecated this endpoint in mid-2024. It now returns 503 Service Unavailable, so every extension created from these templates ships with a broken background image.

Suggested fix

Option A — pin a specific Unsplash photo URL (no dependency):

https://images.unsplash.com/photo-1579546929518-9e396f3cc809?w=1920&h=1080&fit=crop&q=80

Option B — use tteg to download a real photo (one command, no API key):

uv tool install tteg
tteg save "abstract gradient background" ./src/newtab/bg --orientation landscape

Then reference the local file instead of the remote URL.

Happy to open a PR if that's helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions