reputation-scoring
v0.3.0-beta.6
Published
Library for calculating reputation scores based on GitHub activity.
Downloads
60
Readme
reputation-ranking-system
The "Reputation Ranking System" is project that aims to build a semi-automatic way of assigning a retribuition score for a given open source project.
Find more about the ideas behind and the roadmap here: https://club.dacoder.it/rrs.
Inspired by https://sourcecred.io/.
RRS: RRA + Spotlight
Composed of two subsystems: Reputation Ranking Algorithm (RRA) and Reputation Spotlight.
RRA
Automatic algorithm that assigns a score for an open source project using Github API to gather the needed data.
Spotlight
Manual updates of the reputation score in order to adjust for not traceable contributions (e.g. youtube comments or advice given via private emails/messages).
Setup
If you want to try it with your system you will need only:
- Node.js
- Github account
Github Token
After cloning locally the repository you will need a github token for fetching public data of a repository. Learn how to obtain one.
When creating the token you will only need to select the scopes repo > public_repo.

When you have obtained the token, create an .env file with the following content:
# .env
GITHUB_TOKEN=your-token-hereRun locally
yarnto install dependencies (original setup with yarn, so there will be a yarn.lock, it is fine to have a package-lock.json if you use npm)add two lines to the
.envfiles by specifying:# .env # ... other variables before GITHUB_OWNER=github-account GITHUB_REPO=github-repo-nameyarn dev: will run the algorithm against the specificed repo using the entrypointtest.js
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request against
developbranch
Important: Please keep your pull requests small and focused. This will make it easier to review and merge.
Feature Requests
If you have a feature request, please open an issue and make sure it is tagged with enhancement.
License
This project is licensed under the MIT License - see the LICENSE file for details.
