Shpota / github-activity-generator

A script that helps generate a rich GitHub Contribution Graph for your account 🤖
Apache License 2.0
1k stars 97 forks source link

Add PRs, Core Reviews, and Issues #9

Open eduncan911 opened 3 years ago

eduncan911 commented 3 years ago

Excellent repo, and I've been warning many for years!

However, the activity seems like we only ever commit. That's not corect. We also have PRs code reviews, and issues.

Could we add these? At the very least, we can do PRs and Issues as an API is available for those.

Shpota commented 3 years ago

Thank you for the feedback. It is an interesting idea. I'll try to implement it once I have time.

eduncan911 commented 3 years ago

Yeah, what's funny is I had about equal PRs and Commits before I ran this, as I always squashed my branches before opening PRs.

But now...

Screenshot_20200802-152752

eduncan911 commented 3 years ago

I'm using a modified version of the open PR for the additional options (made update work; changed the paths to allow contribute.py to work from within the same repo so I can checkin contribute.py alongside all of my comments AND have it run on a schedule with github actions; moved the README updates to a different LOG.md as 20,000 commits over 10+ years made that an insanely large file, etc).

I'm looking into the PRs, Reviews, and Issues and it looks like there are two options, both of which need an addition package or tool installed:

I'm tinkering with the latter.

krunalshahcodes commented 10 months ago

Sadly you can't generate the prs and issues in past using github api or any other way. To solve this i have created a simple nodejs script that you can host on any server and it will create commits, issues and pr requsts using the GitHub apis. Though it can't generate the data in past but if you can keep it running it will generate the data over time.

Here is the repo if anyone wants to use: Github Activity Creator