Skip to content

Generate Open Graph images for your GitHub repositories using a simple URL format.

License

Notifications You must be signed in to change notification settings

idugeni/open-graph-image-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Open Graph Image Generator

Open Graph Image

Generate Open Graph images for your GitHub repositories with ease.

Usage

To generate an Open Graph image for a GitHub repository, use the following URL format:

https://opengraph.githubassets.com/<hash>/<owner>/<repo>

Parameters

  • <hash>: A unique hash value. This can be any string you choose.
  • <owner>: The GitHub username or organization name that owns the repository.
  • <repo>: The name of the GitHub repository.

Example

For example, to generate an Open Graph image for the idugeni/open-graph-image-generator repository with a hash value of ba48cab225ef8354c71500544e98b338, the URL would be:

https://opengraph.githubassets.com/ba48cab225ef8354c71500544e98b338/idugeni/open-graph-image-generator

Contributing

Feel free to contribute by submitting issues or pull requests if you have suggestions for improvements or encounter any issues.

License

This project is licensed under the MIT License.

For more details, visit the original repository: Open Graph Image Generator