"Trendiness of open source software should be assessed by contribution rate, not by stars" - Meir Kriheli
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
functional_tests
graphics
www
.gitignore
.travis.yml
LICENSE
README.md
docker-compose.override.yml
docker-compose.prod.yml
docker-compose.yml

README.md

The Krihelinator

"Trendiness of open source software should be assessed by contribution rate, not by stars"

- Meir Kriheli

Krihelimeter Build Status

This project proposes an alternative to github's trending page, by exposing projects with highest "krihelimeter", instead of daily stars. The krihelimeter of each repository is calculated using the commits, pull requests, and issues of that project, from the past week (similarly to github's pulse page).

Development

Before starting make sure that docker and docker-compose are properly installed.

To start your app:

  • mkdir secrets.
  • Get a google Application Default Credentials json file by following instructions 1a - 1f under the title "How the Application Default Credentials work" in the link.
  • Rename and move the file you just downloaded to secrets/bigquery_private_key.json.
  • Build: docker-compose build.
  • Create the DB: docker-compose run www mix ecto.create.
  • Migrate to the latest DB scheme: docker-compose run www mix ecto.migrate.
  • Spin the server docker-compose up.

Now you can visit localhost:4000 from your browser.

Production

To deploy run ./bin/deploy.

To see the logs:

ssh krihelinator.xyz "cd krihelinator && docker-compose -f docker-compose.yml -f docker-compose.prod.yml logs www""

Similar projects