{"id":13469243,"url":"https://github.com/PiotrZakrzewski/merge-chance","last_synced_at":"2025-03-26T06:32:01.205Z","repository":{"id":47094591,"uuid":"320808750","full_name":"PiotrZakrzewski/merge-chance","owner":"PiotrZakrzewski","description":"Source code of https://merge-chance.info","archived":true,"fork":false,"pushed_at":"2021-09-13T19:32:36.000Z","size":189,"stargazers_count":24,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-29T23:54:55.423Z","etag":null,"topics":["analysis","data","data-analysis","open-source"],"latest_commit_sha":null,"homepage":"https://merge-chance.info","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PiotrZakrzewski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-12T10:55:53.000Z","updated_at":"2023-06-23T12:51:46.000Z","dependencies_parsed_at":"2022-09-16T23:40:25.132Z","dependency_job_id":null,"html_url":"https://github.com/PiotrZakrzewski/merge-chance","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrZakrzewski%2Fmerge-chance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrZakrzewski%2Fmerge-chance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrZakrzewski%2Fmerge-chance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrZakrzewski%2Fmerge-chance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiotrZakrzewski","download_url":"https://codeload.github.com/PiotrZakrzewski/merge-chance/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245604032,"owners_count":20642930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","data","data-analysis","open-source"],"created_at":"2024-07-31T15:01:30.326Z","updated_at":"2025-03-26T06:32:00.822Z","avatar_url":"https://github.com/PiotrZakrzewski.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# merge-chance.info code\nThis is repo for the [merge-chance](https://merge-chance.info), page where you can checks success rate for your favorite open-source project on GitHub.\n\n_if you just want to make some plots for given repo locally, use scripts from the `scripts` dir._\n\n## Build \u0026 Setup\n\nYou will need a GitHub token, in order to extract data from GitHub [instructions](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token).\n\nFirst setup a google cloud project and set following env vars:\n```shell\nexport GCP_PROJECT=YOUR_PROJECT\nexport GCP_REGION=DESIRED_REGION\nexport GH_TOKEN=YOUR_GITHUB_TOKEN\n```\nThen create a service account with admin rights to your project's firestore. Save the json key to this service account as `key.json` in current dir.\nRun the app locally with \n```shell\n gunicorn --bind :8080 --workers 1 --threads 8 --timeout 0 mergechance.main:app\n```\nBefore first deploy to GCP run\n```shell\n./first_config.sh\n```\nin order to deploy it as a Cloud Run service on your GCP project run \n```shell\n./build.sh\n```\nThis will build the container with Cloud Build and deploy it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPiotrZakrzewski%2Fmerge-chance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPiotrZakrzewski%2Fmerge-chance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPiotrZakrzewski%2Fmerge-chance/lists"}