{% extends "base.html" %} {% block title %}GitHub Contributions for @{{ username }} - git brag{% endblock %} {% block meta_description %}{{ username }} made {{ total_prs }} pull requests across {{ repo_count }} repositories from {{ since_date }} to {{ until_date }}{% endblock %} {% block og_title %}GitHub Contributions for @{{ username }} - git brag{% endblock %} {% block og_description %}{{ username }} made {{ total_prs }} pull requests across {{ repo_count }} repositories from {{ since_date }} to {{ until_date }}{% endblock %} {% block og_image %}{% if user_profile and user_profile.avatar_url %}{{ user_profile.avatar_url }}{% else %}{{ request.url.scheme }}://{{ request.url.netloc }}/static/images/og-image.png{% endif %}{% endblock %} {% block content %}
{% if generating %}
Generating Report

Your report is being generated. This may take 10 seconds to several minutes depending on the number of contributions. This page will auto-refresh in 10 seconds.

{% elif is_regenerating %}
Report Updating

This report is being updated with the latest data. The current data is shown below. This page will auto-refresh in 10 seconds to show the updated report.

{% elif is_stale and not authenticated %}
Report May Be Outdated

This report was last updated {{ cache_info.age }}. Login to Refresh

{% elif is_stale and authenticated %}
Report May Be Outdated

This report was last updated {{ cache_info.age }}. Refresh Now

{% endif %} {% if generating %}

Please wait while we collect the contribution data from GitHub...

{% else %}

{% if period == "1_year" %} Past year {% elif period == "2_years" %} Past 2 years {% elif period == "5_years" %} Past 5 years {% elif period == "all_time" %} All time {% endif %} ({{ since_date }} to {{ until_date }})

1 Year 2 Years 5 Years All Time
{% if user_profile %}
{{ username }}'s avatar
{% else %}

{{ username }}'s GitHub Contributions

{% endif %} {% include "components/summary_card.html" %} {% if repositories %}

Contributions by Repository

{% for repo_full_name, repo_prs in repositories.items() %}

{{ repo_full_name }}

{% if repo_roles is defined and repo_roles.get(repo_full_name) %} {{ repo_roles[repo_full_name] }} {% endif %} {{ repo_prs | length }} PR{{ "s" if (repo_prs | length) != 1 else "" }} {% if total_star_increase and repo_prs[0].star_increase and repo_prs[0].star_increase != 0 %} | {% if repo_prs[0].star_increase == -1 %}>1000{% else %}+{{ repo_prs[0].star_increase }}{% endif %} โญ {% endif %}
{% if repo_descriptions and repo_descriptions.get(repo_full_name) %}

{{ repo_descriptions[repo_full_name] }}

{% endif %}
{% for pr in repo_prs %} {% endfor %}
PR Title Size Status Created
#{{ pr.number }} {{ pr.title }} {% if pr.size_category %} {{ pr.size_category }} {% else %} - {% endif %} {% set display_state = pr.get_display_state() %} {% if display_state == "merged" %} Merged {% elif display_state == "open" %} Open {% else %} Closed {% endif %} {% if pr.created_at %} {{ pr.created_at.strftime("%Y-%m-%d") }} {% else %} N/A {% endif %}
{% endfor %}
{% else %}

No pull requests found for this period. Every open source journey starts somewhereโ€”your next contribution is waiting! ๐Ÿš€

{% endif %} {% if cache_info %}

Report generated {{ cache_info.age }} {% if cache_info.is_stale %} โš ๏ธ Stale {% endif %}

{% if authenticated %}

Refresh this report

{% else %}

Login to refresh this report

{% endif %}
{% endif %} {% endif %} {# End if generating #}
{% endblock %} {% block extra_scripts %} {% if generating or is_regenerating %} {% endif %} {% endblock %}