"Trendiness of open source software should be assessed by contribution rate, not by stars"
- Meir Kriheli
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).
Before starting make sure that docker and docker-compose are properly installed.
To start your app:
- 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
- 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
Now you can visit
localhost:4000 from your browser.
To deploy run
To see the logs:
ssh krihelinator.xyz "cd krihelinator && docker-compose -f docker-compose.yml -f docker-compose.prod.yml logs www""