Git Product home page Git Product logo

kareble's Introduction

BeCode: kareble

⚙️ An overview of all BeCodian's Contributions on GitHub


About

Just a pet project to play with GitHub's GraphQL API and SvelteJS: displaying the same "Green squares' overview of contributions", but for all members of BeCode teams.

Installation & usage

Run npm install to install the dependencies of the project.

The codebase is divided in two parts :

  • a script to fetch the users' data from the GitHub API and parse them into a structured JSON file
  • the Svelte SPA, used to render the JSON file onto front-end components, built with Rollup

Fetching the data

To fetch and parse the data, use the following command :

npm run fetch:data YOUR_PERSONNAL_ACCESS_TOKEN

☝️ NOTE: you'll need to generate a GitHub Personnal access token with the following scopes: admin:org, repo, user

⚠️ The script can take up to two minutes to run. Be patient.

Build / run the app

All the code for the app is inside the src folder.

To build the app (for production purposes), simply run npm run build.
The compiled result is inside the public folder.

You can also use the npm run work command to run a local preview server (localhost:5000) and a rollup process to watch your changes in the sources to rebuild.

Deploy

The app is hosted on GitHub Pages. Simply run npm run deploy (after a build) to deploy the app.

👉 NOTE: a GitHub Actions Workflow is configured to fetch data, build & deploy the code every sunday.


May 2019, leny.

kareble's People

Contributors

dependabot-preview[bot] avatar leny avatar pixeline avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kareble's Issues

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.