Introducing gh-weekly-updates - Automate Your Weekly GitHub Impact Summaries — CoPilot Blog
    Neura MarketNeura Market/CoPilot
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityCoPilotCoPilot
    DeepSeekDeepSeekStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityPluginsTrendingGenerate
    CoPilotBlogIntroducing gh-weekly-updates - Automate Your Weekly GitHub Impact Summaries
    Back to Blog
    Introducing gh-weekly-updates - Automate Your Weekly GitHub Impact Summaries
    github

    Introducing gh-weekly-updates - Automate Your Weekly GitHub Impact Summaries

    Sahan March 21, 2026
    0 views

    If you are anything like me, you’ve probably spent a Friday afternoon trying to remember everything...

    --- title: Introducing gh-weekly-updates - Automate Your Weekly GitHub Impact Summaries published: true date: 2026-03-21 22:22:00 UTC tags: github, python, productivity, opensource canonical_url: https://www.sahansera.dev/introducing-gh-weekly-updates/ cover_image: https://sahansera.dev/static/7efde64ef8c2163a170b28d74b46347d/8db55/introducing-gh-weekly-updates.jpg --- If you are anything like me, you’ve probably spent a Friday afternoon trying to remember everything you did that week. Maybe it’s for a standup, a 1:1 with your manager, or just to keep track of your own progress. You end up clicking through PRs, issues, and Slack threads, trying to piece together a coherent story. It’s tedious, and honestly, it’s time you could spend doing actual work. That’s why I built [**gh-weekly-updates**](https://github.com/sahansera/gh-weekly-updates) - a CLI tool that automatically collects your GitHub activity and generates a structured weekly summary using AI. ![pypi](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vc015gr9a7oohb9o2m8r.png) > 💡 **GitHub repo** : [github.com/sahansera/gh-weekly-updates](https://github.com/sahansera/gh-weekly-updates). It’s open source and available on PyPI! ## The Problem As engineers, we’re constantly shipping code, reviewing PRs, filing issues, and jumping into discussions. But when it comes time to reflect on the week, all that context is scattered across repos. I wanted something that could: 1. Pull all my GitHub activity into one place 2. Summarise it in a way that highlights what actually matters 3. Run on a schedule so I don’t have to think about it I couldn’t find anything that did exactly this, so I built it. ## What It Does `gh-weekly-updates` connects to the GitHub API, collects your activity for a given period, and sends it to an AI model (via [GitHub Models](https://github.com/marketplace/models)) to produce a structured Markdown summary. Here’s what it picks up: - **Pull requests** you authored (with merge status, additions/deletions, changed files) - **Pull requests** you reviewed - **Issues** you created - **Issue comments** you left - **Discussions** you started or participated in The output is grouped by project or theme and structured into sections like Wins, Challenges, and What’s Next. You can also customise the prompt to match whatever format your team uses. ## Getting Started It’s a Python CLI tool, so you can install it with pip: ```shell pip install gh-weekly-updates ``` Then just run it: ```shell # If you're already logged in with the GitHub CLI gh auth login gh-weekly-updates ``` That’s it. It will auto-discover repos you contributed to in the past week and generate a summary. You can also point it at specific repos and date ranges: ```shell gh-weekly-updates --since 2026-02-09 --until 2026-02-16 --repos my-org/my-repo ``` ## Configuration For more control, you can create a `config.yaml`: ```yaml org: my-org repos: - my-org/api-service - my-org/web-app model: openai/gpt-4.1 # Automatically push the summary to a repo push_repo: my-user/my-weekly-updates # Customise the AI prompt prompt_file: my-prompt.txt ``` The config supports everything from repo lists to custom prompts. You can even swap out the AI model if you have a preference. ## Running on a Schedule with GitHub Actions This is where it gets really useful. You can set up a GitHub Actions workflow to run it every Monday morning and push the summary to a repo automatically: ```yaml name: Weekly Summary on: schedule: - cron: '0 9 * * 1' # Every Monday at 9am UTC workflow_dispatch: jobs: summarise: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.12' - run: pip install gh-weekly-updates - name: Generate summary env: GITHUB_TOKEN: ${{ secrets.GH_PAT }} # must be named GITHUB_TOKEN run: gh-weekly-updates --config config.yaml ``` Now every Monday, you get a fresh summary committed to your repo. No manual effort required. ## Custom Prompts The default prompt produces a summary with Wins, Challenges, and What’s Next sections. But you can tailor it to your needs. For example, if your team does impact-style updates, you might want sections like Strategic Influence or Next Steps. Just create a text file with your prompt and reference it in your config: ```yaml prompt_file: my-custom-prompt.txt ``` The prompt receives all your raw activity data as context, so you can shape the output however you like. ## Why Open Source? I initially built this for myself to automate my own weekly updates at work. But I figured other engineers probably have the same problem, so I cleaned it up and open-sourced it. The tool is intentionally simple - it does one thing and tries to do it well. If you find it useful, give it a ⭐ on [GitHub](https://github.com/sahansera/gh-weekly-updates). And if you have ideas for improvements, PRs and issues are always welcome! ## What’s Next A few things I’m thinking about for future releases: - **More activity sources** : Picking up commit messages, release notes, and code review comments - **Multiple output formats** : Slack messages, email digests, Notion pages - **Team summaries** : Aggregate activity across a whole team, not just one person If any of these sound interesting to you, feel free to open an issue or start a discussion on the repo. ## Links - **GitHub** : [github.com/sahansera/gh-weekly-updates](https://github.com/sahansera/gh-weekly-updates) - **PyPI** : [pypi.org/project/gh-weekly-updates](https://pypi.org/project/gh-weekly-updates/) - **GitHub Models** : [github.com/marketplace/models](https://github.com/marketplace/models) Thanks for reading! If you have any questions, feel free to reach out on [Twitter](https://twitter.com/_SahanSera) or drop a comment below. 🤗

    Tags

    githubpythonproductivityopensource

    Comments

    More Blog

    View all
    Minimalist EKS: The Easy Waykubernetes

    Minimalist EKS: The Easy Way

    Amazon EKS manages the Kubernetes control plane, but you remain responsible for provisioning the...

    J
    Joaquin Menchaca
    Never forget to enter the Stern Grove lottery again!ai

    Never forget to enter the Stern Grove lottery again!

    Browser automation with Playwright, Python, GitHub Actions, and Entire to auto-enter San Francisco Stern Grove concert lotteries each week!

    L
    Lizzie Siegle
    A Free Screenshot Editor That Never Uploads Your Imagetypescript

    A Free Screenshot Editor That Never Uploads Your Image

    A free screenshot and image editor that runs entirely in your browser. Keeping every edit reversible and handling big phone photos, in plain TypeScript and Canvas2D.

    M
    Martin Stark
    I built a CLI to break my highlights out of Apple Booksshowdev

    I built a CLI to break my highlights out of Apple Books

    A macOS CLI + MCP server that exports Apple Books highlights to Markdown and gives AI assistants direct access to your reading notes.

    A
    Andrey Korchak
    A Developer's Guide to Agent Hooks in Antigravity CLIai

    A Developer's Guide to Agent Hooks in Antigravity CLI

    Motivation To be quite honest, "Hooks"—the shell commands we trigger at specific points...

    T
    Tanaike
    Tactical vs. Strategic Agentic AI Development — A Playbook for Developersagents

    Tactical vs. Strategic Agentic AI Development — A Playbook for Developers

    The Strategic Engineer: Why Writing Code Is No Longer Your Most Valuable Skill ...

    A
    Adewumi Saheed Adewale

    Stay up to date

    Get the latest CoPilot prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for CoPilot and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.