Skip to content

Commit

Permalink
Enhance contributor fetching script: Add docstring and improve HTML f…
Browse files Browse the repository at this point in the history
…ormatting for contributor icons
  • Loading branch information
tsale committed Nov 17, 2024
1 parent 7fcd706 commit 6393337
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 3 deletions.
69 changes: 68 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,79 @@ Below is information about the EDR table, including all values for each EDR and
![Alt text](./images/edr-telemetry_website_screenshot.png)



# ✨ Contributors Wall

Thanks to these amazing contributors:

<p align="center">
<a href="https://github.com/tsale" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/25332397?v=4" alt="tsale" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/jdu2600" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/53329154?v=4" alt="jdu2600" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/j91321" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/10012872?v=4" alt="j91321" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/mthcht" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/75267080?v=4" alt="mthcht" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/thiboog" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/63599089?v=4" alt="thiboog" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/thomaspatzke" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/1845601?v=4" alt="thomaspatzke" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/xC0uNt3r7hr34t" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/61033168?v=4" alt="xC0uNt3r7hr34t" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/inodee" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/14159692?v=4" alt="inodee" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/alwashali" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/22593441?v=4" alt="alwashali" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/Guzzy711" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/27682662?v=4" alt="Guzzy711" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/joshlemon-uptycs" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/116134008?v=4" alt="joshlemon-uptycs" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/LuKePicci" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/8722358?v=4" alt="LuKePicci" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/maximelb" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/15742543?v=4" alt="maximelb" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/nasbench" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/8741929?v=4" alt="nasbench" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/NicolasSchn" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/33519397?v=4" alt="NicolasSchn" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/QueenSquishy" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/113638057?v=4" alt="QueenSquishy" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/Robert-HarfangLab" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/157394511?v=4" alt="Robert-HarfangLab" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/alextrender" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/60626919?v=4" alt="alextrender" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/idev" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/76164?v=4" alt="idev" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/johnk3r" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/6247648?v=4" alt="johnk3r" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/pep-un" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/8629097?v=4" alt="pep-un" width="50" height="50" style="border-radius: 50%;" /></a><a href="https://github.com/zbeastofburden" target="_blank" style="display: inline-block; margin: 5px;"><img src="https://avatars.githubusercontent.com/u/106751557?v=4" alt="zbeastofburden" width="50" height="50" style="border-radius: 50%;" /></a>

<a href="https://github.com/tsale" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/25332397?v=4" alt="tsale" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/jdu2600" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/53329154?v=4" alt="jdu2600" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/j91321" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/10012872?v=4" alt="j91321" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/mthcht" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/75267080?v=4" alt="mthcht" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/thiboog" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/63599089?v=4" alt="thiboog" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/thomaspatzke" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/1845601?v=4" alt="thomaspatzke" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/xC0uNt3r7hr34t" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/61033168?v=4" alt="xC0uNt3r7hr34t" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/inodee" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/14159692?v=4" alt="inodee" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/alwashali" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/22593441?v=4" alt="alwashali" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/Guzzy711" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/27682662?v=4" alt="Guzzy711" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/joshlemon-uptycs" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/116134008?v=4" alt="joshlemon-uptycs" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/LuKePicci" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/8722358?v=4" alt="LuKePicci" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/maximelb" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/15742543?v=4" alt="maximelb" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/nasbench" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/8741929?v=4" alt="nasbench" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/NicolasSchn" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/33519397?v=4" alt="NicolasSchn" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/QueenSquishy" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/113638057?v=4" alt="QueenSquishy" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/Robert-HarfangLab" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/157394511?v=4" alt="Robert-HarfangLab" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/alextrender" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/60626919?v=4" alt="alextrender" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/idev" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/76164?v=4" alt="idev" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/johnk3r" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/6247648?v=4" alt="johnk3r" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/pep-un" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/8629097?v=4" alt="pep-un" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
<a href="https://github.com/zbeastofburden" target="_blank" style="display: inline-block; margin: 5px;">
<img src="https://avatars.githubusercontent.com/u/106751557?v=4" alt="zbeastofburden" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>
</p>

## Current Primary Maintainers
Expand Down
9 changes: 7 additions & 2 deletions Tools/fetch_contributors.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

# Fetch contributors using GitHub API
def fetch_contributors():
"""
Fetch contributors from GitHub and generate HTML for their icons.
"""
url = f"https://api.github.com/repos/{OWNER}/{REPOSITORY}/contributors"
response = requests.get(url)

Expand All @@ -27,8 +30,10 @@ def fetch_contributors():
username = contributor["login"]
avatar_url = contributor["avatar_url"]
profile_url = contributor["html_url"]
# Write the <a> tag on the same line
contributors_html += f'<a href="{profile_url}" target="_blank" style="display: inline-block; margin: 5px;"><img src="{avatar_url}" alt="{username}" width="50" height="50" style="border-radius: 50%;" /></a>'
contributors_html += f"""
<a href="{profile_url}" target="_blank" style="display: inline-block; margin: 5px;">
<img src="{avatar_url}" alt="{username}" width="50" height="50" style="border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.1);" />
</a>"""

return contributors_html

Expand Down

0 comments on commit 6393337

Please sign in to comment.