Skip to content

A javascript script which draws strings within the "Year contribution" canvas

License

Notifications You must be signed in to change notification settings

ndPPPhz/git-contribution-repository-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-contribution-repository-text

A javascript script which draws strings within the "Year contribution" canvas

Screenshot 2020-03-26 at 17 55 52

Usage

  • You can either copy the content of the script in the browser's console or use greasemonkey / tampermonkey to integrate the script.

  • Call the function apply(w, bg_color, color)

Parameters Description
w The word you want to apply ( at the moment, the script will only prints the first 7 letters ) . DEFAULT = HELLO
bg_color The background color. DEFAULT = #ebedf0
color The letters' color. DEFAULT = #239a3b

Playground

If you want to play around with the script you can

  • Clone the repo into a directory and change the current directory.
  • Run a local webserver. E.g. (If you have PHP installed) php -S localhost:8000
  • Open a browser and go to localhost:8000
  • Change values

Example

gittext

License

License

MIT license

  • Copyright 2020 © Annino De Petra

About

A javascript script which draws strings within the "Year contribution" canvas

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published