{"id":15867376,"url":"https://github.com/onlydole/devstats-cli","last_synced_at":"2025-04-01T21:40:43.238Z","repository":{"id":253027467,"uuid":"842240070","full_name":"onlydole/devstats-cli","owner":"onlydole","description":"📈 Query contribution statistics from CNCF's DevStats","archived":false,"fork":false,"pushed_at":"2024-11-11T16:09:26.000Z","size":12,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T06:49:11.459Z","etag":null,"topics":["cloudnative","devstats","rust"],"latest_commit_sha":null,"homepage":"https://devstats.cncf.io","language":"Rust","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/onlydole.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-14T00:32:27.000Z","updated_at":"2024-08-28T21:31:13.000Z","dependencies_parsed_at":"2024-08-14T02:54:50.066Z","dependency_job_id":null,"html_url":"https://github.com/onlydole/devstats-cli","commit_stats":null,"previous_names":["onlydole/devstats-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlydole%2Fdevstats-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlydole%2Fdevstats-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlydole%2Fdevstats-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlydole%2Fdevstats-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onlydole","download_url":"https://codeload.github.com/onlydole/devstats-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246716059,"owners_count":20822404,"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":["cloudnative","devstats","rust"],"created_at":"2024-10-06T00:00:28.964Z","updated_at":"2025-04-01T21:40:43.220Z","avatar_url":"https://github.com/onlydole.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DevStats CLI\n\nDevStats CLI is a command-line interface tool for querying contribution statistics from the CNCF's DevStats. It allows users to easily retrieve and view contribution data for specific projects, time ranges, and metrics.\n\n## Features\n\n- Query DevStats API for contribution data\n- Customize queries by project, time range, and metric\n- Display results in a user-friendly, colored output\n- Verbose logging option for troubleshooting\n\n## Installation\n\n### Prerequisites\n\n- Rust programming language (latest stable version)\n- Cargo package manager\n\n### Steps\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/yourusername/devstats-cli.git\n   cd devstats-cli\n   ```\n\n2. Build the project:\n\n   ```sh\n   cargo build --release\n   ```\n\n3. The binary will be available in `target/release/devstats-cli`\n\n## Usage\n\nBasic usage:\n\n```sh\ndevstats-cli -u \u003cusername\u003e\n```\n\nFull usage with all options:\n\n```sh\ndevstats-cli -u \u003cusername\u003e -p \u003cproject\u003e -r \u003crange\u003e -m \u003cmetric\u003e [-v]\n```\n\nOptions:\n\n- `-u, --username \u003cUSERNAME\u003e`: GitHub username to query (required)\n- `-p, --project \u003cPROJECT\u003e`: Project to query (default: \"All CNCF\")\n- `-r, --range \u003cRANGE\u003e`: Time range for the query (default: \"Last quarter\")\n- `-m, --metric \u003cMETRIC\u003e`: Metric to query (default: \"Contributions\")\n- `-v, --verbose`: Enable verbose logging\n\nExample:\n\n```sh\ndevstats-cli -u onlydole -p Kubernetes -r \"Last year\" -m \"Commits\"\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the Apache License, Version 2.0 - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- [CNCF DevStats platform](https://devstats.cncf.io) for providing the [API](https://github.com/cncf/devstatscode#api)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlydole%2Fdevstats-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonlydole%2Fdevstats-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlydole%2Fdevstats-cli/lists"}