Skip to content

feat: automate live community analytics - #17

Merged
MostafaMedhat19 merged 1 commit into
mainfrom
feat/automatic-community-data
Nov 15, 2026
Merged

MostafaMedhat19 merged 1 commit into
mainfrom
feat/automatic-community-data

Conversation

@MostafaMedhat19

Copy link
Copy Markdown
Owner

What does this change?

Makes the README community analytics factual, compact, and automatically maintained from GitHub API data.

  • Replaces the oversized empty star chart with a compact Project Activity card while the repository has zero stars.
  • Shows the current real values for stars, forks, contributors, and open issues.
  • Automatically switches back to a dated star-history chart after the first star arrives.
  • Paginates GitHub API responses so star and contributor totals stay accurate beyond 100 records.
  • Runs the community-data refresh every day and after updates to main.
  • Opens or refreshes a dedicated automation/community-visuals pull request when generated assets change.
  • Keeps main protected and leaves every generated update available for manual review.
  • Does not enable automatic merging.

Current factual snapshot:

  • Stars: 0
  • Forks: 1
  • Contributors: 2
  • Open issues: 4

Testing

  • Compiled the Python generator.
  • Generated and visually reviewed the compact zero-star Project Activity card.
  • Verified the positive-star path produces the historical polyline and correct star count.
  • Validated both contributor country overrides.
  • Parsed all 5 GitHub Actions workflow files.
  • JavaScript syntax validation passed for 30 files.
  • git diff --check passed.

Privacy and safety

  • Uses GitHub's repository and contributor APIs as the source of truth.
  • Does not fabricate or manually increment metrics.
  • Generated updates use a reviewable pull request rather than bypassing branch protection.
  • Automatic merging remains disabled.
  • No credentials, precise locations, recordings, medical data, or transcripts are included.

Checklist

  • My change is focused and documented
  • I have read CONTRIBUTING.md and the Code of Conduct
  • I agree to license my contribution under the repository's MIT License

@MostafaMedhat19
MostafaMedhat19 merged commit 1d8b6c2 into main Nov 15, 2026
3 checks passed
@MostafaMedhat19
MostafaMedhat19 deleted the feat/automatic-community-data branch November 15, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant