github-repository | Vaadin

GitHub Repository Web Component


Version Status macOS Build Status Linux Build Status Windows Build Status Dependency Status


Polyfill tags if you need them. This will include ShadowDOM and Custom Elements support.

<script src=""></script>

Loading this component. It would be a good idea to use a specific version instead of latest.

<script src=""></script>


Live demo


Set the owner-repo attribute to the username/repository of a GitHub repository.

<github-repository owner-repo="angular/angular"></github-repository>


For more advanced usage you can include:

  • <img slot="images" /> to include a preview image
  • A number of <a slot="badges"><img /></a> to include status badges
<github-repository owner-repo="abraham/twitter-status">
  <img slot="images" src="" alt="Twitter Status embed preview" />

  <a slot="badges" href="" target="_blank">
    <img src="" alt="Version Status" />
  <a slot="badges" href="" target="_blank">
    <img src="" alt="macOS Build Status" />
  <a slot="badges" href="" target="_blank">
    <img src="" alt="Linux Build Status" />
  <a slot="badges" href="" target="_blank">
    <img src="" alt="Windows Build Status" />

Example with image and badges

GitHub API Rate limit

This Web Component makes unauthenticated requests to the GitHub API. Since the GitHub API has a fairly restrictive 60 requests/hour per IP address, API responses are cached in localStorage.


GithubRepository is released under an MIT license.

Built, tested, and published with Nutmeg.


Link to this version
ImportedReleased 24 July 2018MIT License
Framework Support
Browser Independent
Install with
npm install github-repository"@0.3.0"
Run the above npm command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 0.3.0


  • @nutmeg/seed#0.13.0
  • approximate-number#2.0.0