---
layout: layouts/base.njk
title: GitHub Activity
permalink: /github/
withSidebar: true
---
{# Featured Projects Section #}
{% if githubActivity.featured.length %}
Featured Projects
{% for repo in githubActivity.featured %}
{% if repo.isPrivate %}
Private
{% endif %}
{% if repo.description %}
{{ repo.description }}
{% endif %}
{% if repo.language %}
{{ repo.language }}
{% endif %}
{{ repo.stars }}
{% if repo.forks > 0 %}
{{ repo.forks }}
{% endif %}
{% if repo.commits and repo.commits.length %}
Recent commits ({{ repo.commits.length }})
{% for commit in repo.commits %}
-
{{ commit.sha }}
{{ commit.message }}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{# Recent Commits Section #}
Recent Commits
{% if githubActivity.commits.length %}
{% for commit in githubActivity.commits %}
{% endfor %}
{% else %}
No recent commits found.
{% endif %}
{# Contributions Section (PRs & Issues) #}
{% if githubActivity.contributions.length %}
Pull Requests & Issues
{% for item in githubActivity.contributions %}
{% if item.type == "pr" %}
PR
{% else %}
Issue
{% endif %}
{% endfor %}
{% endif %}
{# My Repositories Section #}
My Repositories
{% if githubRepos.length %}
{% for repo in githubRepos | head(6) %}
{% if repo.description %}
{{ repo.description | truncate(100) }}
{% endif %}
{% if repo.language %}
{{ repo.language }}
{% endif %}
{{ repo.stargazers_count }}
{{ repo.forks_count }}
{% endfor %}
View all repositories →
{% else %}
No repositories found.
{% endif %}
{# Starred Repos Section #}