Git Insights is a tool that provides a summary of your GitHub profile, including language usage in repositories.
Automatically update your README.md with Git Insights using the following GitHub Action workflow:
# .github/workflows/update-readme.yml
name: Update Readme
on:
schedule:
- cron: '0 0 * * *' # Run daily at midnight (UTC)
workflow_dispatch: # Trigger manually if needed
jobs:
update_readme:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Download and run GitInsight
run: |
wget https://github.com/awcodify/GitInsights/releases/download/v0.1.0/GitInsights -O GitInsights
chmod +x GitInsights
./GitInsights
# Commit and push changes
git config --local user.email "awcodify@gmail.com"
git config --local user.name "awcodify"
git add .
git commit -m "Update README.md from GitInsights"
git push
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Ensure you have added the GH_TOKEN secret with the necessary permissions.
You can also run Git Insights manually. Clone the repository and execute the following command:
go run main.goBy default, GitInsights excludes forked repositories from analysis. To include forks:
./GitInsights --include-forksOr with go run:
go run main.go --include-forksYou can limit the number of languages displayed in the language statistics (default is 10):
./GitInsights --max-visible-language 5Or with go run:
go run main.go --max-visible-language 5Combine multiple options:
./GitInsights --include-forks --max-visible-language 15Make sure you already logged in to Github with:
gh auth login
export GITHUB_TOKEN=$(gh auth token)- Language Usage: Provides a breakdown of the languages used across your repositories.
- Most productive day and time
- (Under development, and need your contribution!)
|
Account Age 9 years 6 months
|
Current Streak 2 days
|
Longest Streak 5 days
|
|
Most Productive Day 💚 Thursday
|
Peak Hours ⏰ 08:00 - 09:00
|
🌙 Monday ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░ 112 commits
🔥 Tuesday ████████████████████████████░░ 188 commits
💎 Wednesday ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░ 130 commits
💚 Thursday ██████████████████████████████ 201 commits
🎉 Friday ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░ 111 commits
🌟 Saturday ▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░ 80 commits
☀️ Sunday ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 41 commits
📊 Detailed Breakdown
🔷 TypeScript ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░ 44.07%
🟨 JavaScript ▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 27.15%
🔵 Go ▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 15.14%
💧 Elixir ▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.91%
💎 Ruby ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.25%
🐍 Python ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.99%
🟢 Vim Script ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.91%
🐚 Shell ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.26%
💻 Makefile ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.21%
💻 Dockerfile ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.07%
💻 Other ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.03%
📅 Last updated: Thursday, October 30, 2025 at 10:14 AM
⚡ Generated with GitInsights