Skip to content
项目

关于

让你的个人资料看起来像是一直在努力工作……即使你其实没有。

其他项目

这些数字如何统计

实测星标增长

24小时
+3
7天
+13
15天
+24
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

🌱 goGreen

With goGreen, you can make your profile look like you've been hard at work... even if you haven't. NodeJs script to make commits to the past (or the future) to go green on GitHub.

About

goGreen helps you create commits on your GitHub profile for any date in the past. Whether you want to fill up your contribution graph or even make cool patterns and artwork.

Getting Started

Follow these steps to bring your contribution graph to life:

  1. Clone this repository
git clone https://github.com/fenrir2608/goGreen.git
cd goGreen
  1. Set up your project Initialize a new Node.js project:
npm init -y
  1. Install the required npm modules You'll need a few modules to get everything running smoothly. Install them all with:
npm install moment simple-git random
  1. Create your commit script
  • Create a JavaScript file to manage your commits.
  • Create a JSON file to store all the commit timestamp data.

Room for Improvement

So, you've got the basics down. What's next?

  • Custom Patterns: Experiment with different patterns on your contribution graph. Maybe spell out your name or create some cool designs.
  • Density Control: Play around with the number of commits per day to adjust the shades of green.
  • Input Strings: Convert input strings to X-Y mapped contributions.

npm Modules Used

  • moment - Handles date and time manipulation.
  • simple-git - For easy Git commands.
  • random - To generate random numbers for the commits.

Credits

Huge thanks to Akshay Saini for the original video behind this project.

探索相关项目

加载中…