Skip to content

Repo image from Github API keeps changing url #66

@ffeltrinelli

Description

@ffeltrinelli

The field openGraphImageUrl that we take from GH's GraphQL API and use for repository's image has this kind of pattern:

https://opengraph.githubassets.com/f738e6fb5f7a97257d275344c8890c6349cc60cd21803e606bc6ea8ca29ebf53/ExpediaGroup/expediagroup.github.io

where the hash in the middle seems to change too frequently. This is probably because the default generated image - in those cases where the repository owners did not specify a custom repo image - contains dynamic details.

Moreover, this default generated image does not seem to make much sense if shown as card in the website.

In these cases where the repo owners did not specify a repo image, should we just use a default Expedia image instead?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions