npm.io
1.0.4 • Published 5 years agoCLI

gitart

Licence
MIT
Version
1.0.4
Deps
6
Size
75 kB
Vulns
8
Weekly
0
Stars
2

GitArt

Fun art with git contributions

Sample live

light

dark

Command
  • --text -t

    • Text for drawing
    • Default 'GitArt'
  • --year -y

    • Year of commits
    • Default 2000
    • Min 2000
    • Max 2020
  • --gap -g

    • Gap from start of year
    • Default 1
    • Min 1
    • Max 45
  • --cpd -c

    • Commits per day
    • Default 1
    • Min 1
    • Max 9
Generate
# With npm

npx gitart --text 'dalirnet !!??' --year 2011 --gap 1 --cpd 1
# With github

npx github:dalirnet/gitart -t 'dalirnet !!??' -y 2011 -g 1 -c 1
# Output

✔ Generated "DALIRNET !!?  ." at /path/to/GitArts/GitArt2011
Publish
# Change directory

cd /path/to/GitArts/GitArt2011
# Add remote

git remote add origin https://github.com/user/GitArt2011.git
# Push to remote

git push -u origin main

Keywords