{"id":19548991,"url":"https://github.com/ashwin-pc/osci_stats","last_synced_at":"2026-06-04T23:31:21.723Z","repository":{"id":198606512,"uuid":"698855293","full_name":"ashwin-pc/osci_stats","owner":"ashwin-pc","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-06T03:41:45.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T06:31:56.937Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashwin-pc.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-01T07:13:34.000Z","updated_at":"2023-10-06T02:03:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5df84cf-34c7-4ae3-bcd0-3379f11ef461","html_url":"https://github.com/ashwin-pc/osci_stats","commit_stats":null,"previous_names":["ashwin-pc/osci_stats"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashwin-pc/osci_stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwin-pc%2Fosci_stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwin-pc%2Fosci_stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwin-pc%2Fosci_stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwin-pc%2Fosci_stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashwin-pc","download_url":"https://codeload.github.com/ashwin-pc/osci_stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwin-pc%2Fosci_stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285342137,"owners_count":27155385,"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","status":"online","status_checked_at":"2025-11-19T02:00:05.673Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-11T03:57:36.516Z","updated_at":"2025-11-19T23:03:05.877Z","avatar_url":"https://github.com/ashwin-pc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## OSCI stats\n\nA Collection of deno scripts for OSCI stats\n\n## Prerequisites\n\nBefore running the script make sure to have the following files in the folder that you are running the script from.\n\n`.env`\n\n```\nTOKEN=\u003cGithub Token\u003e\n```\n\n`contributors.txt`\n\n```\ncontributor_github_alias_1\ncontributor_github_alias_2\n```\n\n\u003e You can also pass these values using command line args as follows:\n\u003e\n\u003e `deno run \u003cscript\u003e --list=\u003curl of the file\u003e --token=\u003cGithub token\u003e`\n\nOnce you have these two files, you also need to install Deno to run the scripts. To install Deno: https://docs.deno.com/runtime/manual/getting_started/installation\n\nOnce you have completed the pre-requisites, you can open a terminal window in the same folder and run the scripts.\n\n### Running remotely\n\nYou can use these scripts by only having Deno installed on your computer.\n\nOnce you have deno installed make sure you have the prerequisite files in the folder (Or passed using command line args) you are running the script from.\n\nTo run the script:\n\n```sh\ndeno run --allow-all https://raw.githubusercontent.com/ashwin-pc/osci_stats/master/osci_stats.ts\n\n# or\n\ndeno run --allow-all https://raw.githubusercontent.com/ashwin-pc/osci_stats/master/osci_stats.ts --list=\"list_url\" --token=\"github_token\"\n```\n\n### Running locally\n\nTo get stats locally, clone the repo and add the prerequisite files to the project folder.\n\nThen run\n\n```sh\ndeno run --alow-all osci_stats.ts\n\n// or\n\ndeno run --alow-all osci_stats.ts {YYYY-MM-DD}\n```\n\nTo validate all the aliases of the github users:\n\n```sh\ndeno run --allow-all validate_aliases.ts\n```\n\n### Available command line args\n\nThe args available are:\n\n```\n--list  List of all the contributors\n--start start date to fetch data from (default: 2023-09-19)\n--token github token\n--owner owner of the github repositories to search within (default: opensearch-project)\n```\n\n### Generating a github token\n\nGo to this url in your github account and create a new personal access token: https://github.com/settings/tokens\n\nYou dont need any special permissions, but just to be sure make sure to have the `repo` and `user` permissions for the token\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwin-pc%2Fosci_stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashwin-pc%2Fosci_stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwin-pc%2Fosci_stats/lists"}