{"id":31287874,"url":"https://github.com/psalias2006/github-trending-cli","last_synced_at":"2025-09-28T16:01:38.959Z","repository":{"id":316294994,"uuid":"1061426684","full_name":"psalias2006/github-trending-cli","owner":"psalias2006","description":"A simple CLI tool to browse GitHub's trending repositories from your terminal.","archived":false,"fork":false,"pushed_at":"2025-09-23T19:00:22.000Z","size":1058,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-23T20:28:41.364Z","etag":null,"topics":["cli","docker","github","github-trending","python","scraping","terminal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psalias2006.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-21T21:59:33.000Z","updated_at":"2025-09-23T19:04:25.000Z","dependencies_parsed_at":"2025-09-23T20:28:43.534Z","dependency_job_id":"cf72c8f4-8158-4b99-8e6b-d2dfb4e5e18a","html_url":"https://github.com/psalias2006/github-trending-cli","commit_stats":null,"previous_names":["psalias2006/github-trending-cli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/psalias2006/github-trending-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psalias2006%2Fgithub-trending-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psalias2006%2Fgithub-trending-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psalias2006%2Fgithub-trending-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psalias2006%2Fgithub-trending-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psalias2006","download_url":"https://codeload.github.com/psalias2006/github-trending-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psalias2006%2Fgithub-trending-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276738699,"owners_count":25695962,"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-09-24T02:00:09.776Z","response_time":97,"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":["cli","docker","github","github-trending","python","scraping","terminal"],"created_at":"2025-09-24T11:28:27.421Z","updated_at":"2025-09-25T12:50:27.877Z","avatar_url":"https://github.com/psalias2006.png","language":"Python","readme":"# GitHub Trending CLI\n\nWe like browsing GitHub's trending page, so we made a CLI version.\n\nYou can export it also 😉\n\n![GitHub Trending CLI Screenshot](github-trending-screenshot.png)\n\n[![Python](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/downloads/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## What it does\n\n- Shows trending repositories with daily star counts\n- Supports daily, weekly, and monthly views\n- Click on any repo to read its README\n- Export to CSV or JSON Lines format\n- Simple terminal interface\n\n## Installation\n\n### Local\n```bash\ngit clone https://github.com/psalias2006/github-trending-cli.git\ncd github-trending-cli\npython3 -m venv venv \u0026\u0026 source venv/bin/activate\npip install -r requirements.txt \u0026\u0026 pip install -e .\n```\n\n### Docker\n```bash\ngit clone https://github.com/psalias2006/github-trending-cli.git\ncd github-trending-cli\ndocker build -t github-trending-cli .\n```\n\n## Usage\n\n### Interactive Mode\n```bash\n# Local\ngithub-trending                 # today\ngithub-trending -r weekly       # this week\ngithub-trending -r monthly      # this month\n\n# Docker\ndocker run -it --rm github-trending-cli\ndocker run -it --rm github-trending-cli -r weekly\n```\n\n### Export Mode\n```bash\n# Local\ngithub-trending -e              # CSV export\ngithub-trending -e -f json      # JSON Lines export\ngithub-trending -e -r weekly    # Weekly data\n\n# Docker (requires volume mount)\ndocker run --rm -v \"$(pwd)/exported:/app/exported\" github-trending-cli -e\ndocker run --rm -v \"$(pwd)/exported:/app/exported\" github-trending-cli -e -f json\n```\n\n## Export Format\n\nFiles saved to `exported/` with timestamps: `github_trending_{range}_{datetime}.{csv|jsonl}`\n\n**CSV**: Standard format with headers  \n**JSON Lines**: One JSON object per line, ideal for data processing\n\n**Columns**: name, url, description, language, stars, stars_period, range, export_datetime\n\n## Contributing\n\nFork it, make changes, send a PR.\n\n## License\n\nMIT","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsalias2006%2Fgithub-trending-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsalias2006%2Fgithub-trending-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsalias2006%2Fgithub-trending-cli/lists"}