shaief / krihelinator

"Trendiness of OSS should be assessed by contribution rate, not by stars" - Meir Kriheli

Home Page:http://krihelinator.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Krihelinator

"Trendiness of OSS should be assessed by contribution rate, not by stars"

- Meir Kriheli

Krihelimeter

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

The only dependencies are docker and docker-compose. To start your app:

  • Get a google Application Default Credentials json file. Name it bigquery_private_key.json and put it in the project root directory.
  • Build the docker image: docker-compose build.
  • Create the DB: docker-compose run --rm web mix ecto.create.
  • Migrate to the latest DB scheme: docker-compose run --rm web mix ecto.migrate.
  • Spin up everything docker-compose up -d.

Now you can visit localhost:4000 from your browser.

Makefile

Some tasks are automated in the Makefile. During development docker-compose run --rm web <whatever> is used a lot! However, I prefer not to automate these one-liners unless they are used by other tasks.

Scripts

If you messed things up there are several useful scripts in priv/scripts with relatively self explanatory names. Run them with docker-compose run --rm web mix run path/to/script.exs.

About

"Trendiness of OSS should be assessed by contribution rate, not by stars" - Meir Kriheli

http://krihelinator.xyz/

License:MIT License


Languages

Language:Elixir 78.6%Language:HTML 12.9%Language:Python 6.4%Language:CSS 1.3%Language:Makefile 0.6%Language:JavaScript 0.4%