A collection of GitHub-themed widgets for displaying your love for open source in your GitHub profile README.
- Pick the widget you like from the list below
- Paste it in your GitHub profile README.md
- Update the username in the URL to your GitHub username
- Commit the change and see the widget in action on your profile!
This widget shows a list of your most recent open-source pull requests.
![](https://hall-of-contributions.vercel.app/api/widgets/pull-request-card?username=YOUR_USERNAME)
To allow each pull request to have a hyperlink attached to them, you need to render each of them individually, which gives you control over how many pull requests you want to display in your feed.
To render each pull request individually, you can use the pullRequestIndex
parameter to specify the index of the pull request you want to display:
![](https://hall-of-contributions.vercel.app/api/widgets/pull-request-card?username=YOUR_USERNAME&pullRequestIndex=0)
This value defaults to
0
, so if you only want to show one pull request, you can omit the parameter entirely.
Simply increment the value to show the next pull request in your feed. For example, to show the three most recent pull requests:
![](https://hall-of-contributions.vercel.app/api/widgets/pull-request-card?username=YOUR_USERNAME&pullRequestIndex=0)
![](https://hall-of-contributions.vercel.app/api/widgets/pull-request-card?username=YOUR_USERNAME&pullRequestIndex=1)
![](https://hall-of-contributions.vercel.app/api/widgets/pull-request-card?username=YOUR_USERNAME&pullRequestIndex=2)
query
- The GitHub search query to be used to fetch the pull requests. Will be appended to the default filter ofauthor:USERNAME type:pr
.- Usage:
?query=language:javascript
- Usage: