gitart

fun art with git contributions

Usage no npm install needed!

<script type="module">
  import gitart from 'https://cdn.skypack.dev/gitart';
</script>

README

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