Skip to content

Latest commit

 

History

History
113 lines (83 loc) · 4.09 KB

README.ko.md

File metadata and controls

113 lines (83 loc) · 4.09 KB

git-commit-syringe

English · Korea

원하는 날짜의 git commit을 생성할 수 있다.
이것으로 Github에 그림을 그릴 수 있다.

📄 사용법

repository fork 후 clone 합니다


git clone https://github.com/"<your github name>"/git-commit-syringe.git && cd git-commit-syringe

의존성 다운로드

npm install dotenv

.env file 설정

.env 파일에 datae 변수의 값으로 원하는 날짜를 입력합니다

filePath = "src/fizzbuzz.txt"
dates = "<Enter the date you want>"

예를 들어 아래와 같이 입력할 수 있습니다.

dates = "2024-01-01,2024-01-02"

실행

node run.js

🎥 샘플

사용전 커밋 상태

.env 설정 및 실행

dates = "2019-1-1,2019-1-2,2019-1-3,2019-1-4,2019-1-5,2019-1-6,2019-1-7,2019-1-8,2019-1-9,2019-1-10,2019-1-11,2019-1-12,2019-1-13,2019-1-14,2019-1-15,2019-1-16,2019-1-17,2019-1-18,2019-1-19,2019-1-20"
node run.js
git push origin

사용후 커밋 상태

🎨 GitHub commit 대시보드에 그림 그리기

tool.js 사용하여 GitHub에서 최대 6개의 문자를 생성할 수 있는 dates 를 얻을 수 있습니다
node tool.js <"year"|2019> <"string"|HELLO>

[git hub draw expected]
 ■  □  □  □  □  □  ■  □  ■  ■  ■  ■  ■  ■  ■  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  □  □  □  ■  ■  ■  ■  ■  □
 ■  □  □  □  □  □  ■  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  ■
 ■  □  □  □  □  □  ■  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  ■
 ■  ■  ■  ■  ■  ■  ■  □  ■  ■  ■  ■  ■  ■  ■  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  ■
 ■  □  □  □  □  □  ■  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  ■
 ■  □  □  □  □  □  ■  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  □  □  ■  □  □  □  □  □  ■
 ■  □  □  □  □  □  ■  □  ■  ■  ■  ■  ■  ■  ■  □  ■  ■  ■  ■  ■  ■  ■  □  ■  ■  ■  ■  ■  ■  ■  □  □  ■  ■  ■  ■  ■  □

[.env dates]
2019-01-06,2019-01-07,2019-01-08,2019-01-09,2019-01-10,
2019-01-11,2019-01-12,2019-01-16,2019-01-23,2019-01-30,
2019-02-06,2019-02-13,2019-02-17,2019-02-18,2019-02-19,
2019-02-20,2019-02-21,2019-02-22,2019-02-23,2019-03-03,
2019-03-04,2019-03-05,2019-03-06,2019-03-07,2019-03-08,
2019-03-09,2019-03-10,2019-03-13,2019-03-16,2019-03-17,
2019-03-20,2019-03-23,2019-03-24,2019-03-27,2019-03-30,
2019-03-31,2019-04-03,2019-04-06,2019-04-07,2019-04-10,
2019-04-13,2019-04-14,2019-04-17,2019-04-20,2019-04-28,
2019-04-29,2019-04-30,2019-05-01,2019-05-02,2019-05-03,
2019-05-04,2019-05-11,2019-05-18,2019-05-25,2019-06-01,
2019-06-08,2019-06-15,2019-06-23,2019-06-24,2019-06-25,
2019-06-26,2019-06-27,2019-06-28,2019-06-29,2019-07-06,
2019-07-13,2019-07-20,2019-07-27,2019-08-03,2019-08-10,
2019-08-19,2019-08-20,2019-08-21,2019-08-22,2019-08-23,
2019-08-25,2019-08-31,2019-09-01,2019-09-07,2019-09-08,
2019-09-14,2019-09-15,2019-09-21,2019-09-22,2019-09-28,
2019-09-30,2019-10-01,2019-10-02,2019-10-03,2019-10-04