Giter Club home page Giter Club logo

howdusty's Introduction

HowDusty

HowDusty collects data about contributors. it processes it into meaningful information to get to know contributors.

Features

  • Collect metrics about users on github.
  • Compute a reputation score for a given user.

Architecture

Look at the NestJs documentation to learn more.

Getting started

First, you need to fill the environment variables

# Connect to the howdusty database
DB_CONNECTION=
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
# Connect to the github api
GITHUB_ACCESS_TOKEN=
# Connect to the onlydust database
ONLYDUST_DB_HOST=
ONLYDUST_DB_PORT=
ONLYDUST_DB_DATABASE=
ONLYDUST_DB_USERNAME=
ONLYDUST_DB_PASSWORD=

Then, launch the app

npm install
npm run start

Modules

  • commands: Define commands of the app. See the commands section for more informations.
  • config: Define the configuration to communicate with our database, github and onlydust.
  • contributors: Define the contributor entity and expose api endpoints to interact with them.
  • github: Communicate with the github graphQL API.
  • metrics: Define and get the metrics (from github and onlydust) for contributors.
  • onlydust: Communicate with the onlydust database.
  • scorer: Calculate the score from metrics for contributors.
  • synchronization: Synchronize all informations (metrics, score, contributor info, etc) in our database.

Commands

  • onlydust:import: Import new OnlyDust users in the database
  • contributors:sync: Synchronize contributors with the github API
  • contributors:score: Calculate the score for every contributor in the database

How to run a command

npm run build
node ./dist/main-cli [command-name]

API Endpoints

  • /contributors: Get all the contributors

Roadmap

  • add more metrics (e.g. social network influence)
  • gamification (badge system / experience bar)
  • make it work on a broader scale than OnlyDust

howdusty's People

Contributors

kds-js avatar robinstraub avatar semantic-release-bot avatar zoemeriet 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.