Coder Social home page Coder Social logo

github_graph's Introduction

Github Bot

alt text

Does your GitHub Graph looks like a noob with a few number of Commits and Push ? Do you want to have your contribution graph with lots of commit like pro. This project is to your rescue.

Table of Contents

Introduction

The project uses Moment, a JavaScript date library for parsing, validating, manipulating, and formatting dates. It allows you to make a commit on past date done by subtracting the years from given date and make commits over a period of regular days. Also you can do alot with this code.

Installation

Clone and fork the repository to make the changes in your local system.

git clone https://github.com/iamrohitagg/GitHub_Graph.git
cd Github_Graph

The following command creates a directory named node_modules and installs all the required packages in that.

npm install

Finally, run the project to see the magic of Moment package.

node index.js

Bang ! You can see the commit date in terminal.

Commits

subtract(year, "y");

year here represents the year to start the commits. Greater the value of year, more dense the graph along main axis. Example - subtract(2,'y')

add(days, "d");

Difference of commits between timestamps. Less the value of days, more dense the contributon graph will be. Example - add(4,'d')

Reference

YouTube

github_graph's People

Contributors

irhrhd avatar iamrohitagg avatar dependabot[bot] avatar ritika2000 avatar

Stargazers

 avatar

Watchers

James Cloos 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.