Skip to content

Adding contributor list on webpage code#320

Open
Tevin-vrouzer18 wants to merge 1 commit intoamyyalex:mainfrom
Tevin-vrouzer18:contributor_display
Open

Adding contributor list on webpage code#320
Tevin-vrouzer18 wants to merge 1 commit intoamyyalex:mainfrom
Tevin-vrouzer18:contributor_display

Conversation

@Tevin-vrouzer18
Copy link
Copy Markdown

Summary

This pull request adds a standalone script that fetches and displays the list of contributors for this GitHub repository using the GitHub API.

What's Included

  • A new HTML/JS file ( contributors.html) that:
    • Fetches contributor data from the GitHub API
    • Displays avatars and usernames with links to GitHub profiles
  • Responsive styling to show contributors in a grid format

Usage

To view the contributor list, simply open the new HTML file in a browser.

Preview Features

  • Contributor avatar image
  • GitHub username
  • Link to contributor’s GitHub profile

Benefits

  • Keeps contributor display logic separate from main index.html
  • Easy to integrate into other pages as needed
  • Lightweight and API-based — always shows up-to-date contributors

Future Improvements

  • Add loading states/error messages
  • Make the component embeddable in other pages (<iframe> or module)
  • Handle API rate-limiting with token support if needed

Notes

  • This version only works for public repos
  • To make it work with private repos or high-traffic sites, GitHub API tokens may be needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant