Coder Social home page Coder Social logo

ndppphz / git-contribution-repository-text Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 22 KB

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

License: MIT License

JavaScript 100.00%
javascript contributions-calendar contributions-chart

git-contribution-repository-text's Introduction

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

git-contribution-repository-text's People

Contributors

ndppphz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.