unhappychoice unhappychoice · 2026-03-29 - 2026-04-04

Building github-weekly-reporter from zero to npm package

Shipped a complete GitHub activity reporting tool with AI narratives, i18n support, and automated deployment in one intensive week

This week was all about building github-weekly-reporter from the ground up - a tool that generates beautiful weekly development reports from GitHub activity data. What started as a simple idea turned into a full-featured package with AI integration, internationalization, and automated deployment capabilities.

The development followed a clear progression: core data collection and rendering, then AI narrative generation, followed by deployment automation and GitHub Actions integration. Tuesday and Friday were the heaviest coding days with 161 and 153 commits respectively, showing the sprint-like intensity of getting this project to a shippable state.

By week's end, I had a complete npm package published under the @deariary scope, with comprehensive CI/CD pipelines and ready-to-use GitHub Actions for automated weekly report generation. The tool now supports multiple LLM providers, 10 languages, and generates SEO-optimized static sites with social sharing capabilities.

Summary 4 sections

repo-summary
Laser focus on github-weekly-reporter
The deariary/github-weekly-reporter repository dominated this week with 19 of the 20 total PRs. This was pure greenfield development, building everything from the initial TypeScript scaffold to a production-ready npm package. The remaining activity was just maintenance across my other projects - a dependency bump in cycle-flyer and some review work.
deariary/github-weekly-reporter 20 PRs
bitflyer-tools/cycle-flyer 2 PRs
unhappychoice/gitlogue 1 PRs
unhappychoice/cycle-pusher 1 PRs
unhappychoice/mdts 1 PRs
deariary/github-weekly-reporter19 PRs other repos1 PR reviews given48
architecture
Full-stack developer tooling architecture
Built a complete pipeline from GitHub API data collection through AI narrative generation to static site deployment. The architecture includes GraphQL and REST API integration, multi-provider LLM abstraction (OpenAI, Anthropic, Gemini), timezone-aware date handling, and automated GitHub Pages deployment. Added comprehensive SEO features including OG image generation, JSON-LD structured data, and sitemap generation.
API integrationsGraphQL + REST LLM providers3 supported languages10 i18n
activity-pattern
Sprint-style development with two peak days
Tuesday and Friday were the heavy lifting days with 161 and 153 commits each, showing intense focused development sessions. The middle of the week had more moderate activity around 30-90 commits per day, likely spent on refinement and testing. This pattern suggests I was tackling the core architecture challenges on the peak days and polishing features during the quieter periods.
26
Sun
102
Mon
29
Tue
161
Wed
88
Thu
58
Fri
153
Sat
peak dayTue 161 second peakFri 153 total commits476
devops
Production-ready CI/CD and npm publishing
Set up complete automation for a professional open-source project. Added GitHub Actions for CI (lint, build, test) and automated npm publishing with provenance on releases. The package is now available as @deariary/github-weekly-reporter with proper scoping and access controls. Also built the GitHub Action integration so users can automate their weekly reports with a simple workflow file.
CI workflowNode 24 npm scope@deariary GitHub Actionready

Highlights 5 items

Share X LinkedIn Bluesky