Git Product home page Git Product logo

github-contributions's Introduction

gh-contributions Donate now

A tool that generates a repository which being pushed into your GitHub account creates a nice contributions calendar.

Screenshot

Installation

Global installation

Ensure you configured NPM and NodeJS not to require sudo when installing packages globally.

$ npm i -g gh-contributions

To start the GitHub contributions server, do:

$ gh-contributions

Notes for installing on Windows

For this application to work well on Windows, Git must be installed with the option to put it in PATH enabled, like in this screenshot:

If Git is not installed with this option selected, gh-contributions will not be able to generate the repository.

Local installation

$ git clone git@github.com:IonicaBizau/github-contributions.git
$ cd github-contributions
$ npm i
$ npm start

Usage

The server runs on the 9000 port. Open http://localhost:9000/ in your browser.

Design your calendar

Click the day elements you want to have contributions. They will become green. If you want to activate smooth drawing, press Shift and hover the day elements. To clear them, click them again or activate clearing with hovering, holding the Ctrl key.

If you want to insert a text, that's even easier: insert your text in the textbox above, and click the Generate data from text button. Then to preview the generating JSON click the Toggle calendar days from data button.

pro tip: Modify the commitsPerDay value (default is 10) to a greater value if you want to have more contributions per day.

Generating the repository

Once you are ready and happy with the graph calendar you designed, press the Generate data from calendar button and then Generate repository from data.

Pushing the repository on GitHub

Once the repository is generated, download the zip archive clicking the download link.

  1. Unzip the archive
  2. Create an empty repository on GitHub.
  3. Add the remote to your downloaded and unzipped repository.
  4. Do git push --all
  5. Enjoy!

Delete the graph calendar

If you want or need to delete the graph calendar, simply delete the repository.

  1. Go to the settings page of your repository.
  2. Click Delete this repository.
  3. Confirm the name of the repository.

Update the graph calendar

To add new things on the contributions calendar, simply create new repositories which will create graphs to overlap the others.

How to contribute

Have an idea? Found a bug? See how to contribute.

License

KINDLY © Ionică Bizău–The LICENSE file contains a copy of the license.

github-contributions's People

Contributors

adrianmoisey avatar codeandrop avatar comfreek avatar guilhermesad avatar ionicabizau avatar ipy avatar nylen avatar ralt avatar silviubogan avatar tkovs avatar

Stargazers

 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.