{"id":19789098,"url":"https://github.com/ponsfrilus/gtrend","last_synced_at":"2025-08-22T10:10:08.371Z","repository":{"id":58796664,"uuid":"135462643","full_name":"ponsfrilus/gtrend","owner":"ponsfrilus","description":"gTrend fetch github trending repositories and display them into your terminal.","archived":false,"fork":false,"pushed_at":"2018-06-16T07:50:03.000Z","size":4409,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T14:08:47.212Z","etag":null,"topics":["cli","github","node","terminal","trending"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/gtrend","language":"JavaScript","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/ponsfrilus.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":"2018-05-30T15:26:34.000Z","updated_at":"2022-09-07T14:56:38.000Z","dependencies_parsed_at":"2022-09-07T17:40:59.170Z","dependency_job_id":null,"html_url":"https://github.com/ponsfrilus/gtrend","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ponsfrilus/gtrend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponsfrilus%2Fgtrend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponsfrilus%2Fgtrend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponsfrilus%2Fgtrend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponsfrilus%2Fgtrend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ponsfrilus","download_url":"https://codeload.github.com/ponsfrilus/gtrend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponsfrilus%2Fgtrend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271620597,"owners_count":24791569,"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-08-22T02:00:08.480Z","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":["cli","github","node","terminal","trending"],"created_at":"2024-11-12T06:29:51.293Z","updated_at":"2025-08-22T10:10:08.313Z","avatar_url":"https://github.com/ponsfrilus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gTrend\n\ngTrend fetch GitHub trending repositories and display them into your terminal.\n\nUsing \u003ckbd\u003e↑\u003c/kbd\u003e and \u003ckbd\u003e↓\u003c/kbd\u003e you can select a repository and open it in\nyour browser by pressing \u003ckbd\u003eENTER\u003c/kbd\u003e.\n\n![DEMO](./doc/gtrend.gif)\n\n\n# Installation\n\n`npm i gtrend -g`\n\n\n# Usage\n\n  * `gtrend [options]`\n\n## Options\n```\n  -h, --help              Display this usage guide.                             \n  -n, --num number        Number of items to display, default to 10.            \n  -t, --timespan string   Time span of repositories [ 'daily', 'weekly',        \n                          'monthly' ], default to daily.                        \n  -s, --sort string       Sort repositories [ 'starsToday', 'stars', 'forks' ],\n                          default to starstoday.                                \n  -l, --language string   Specify a language, e.g. JavaScript, default to all.  \n  -b, --browser string    Specify a browser, e.g. firefox or google-chrome.\n  --nocache               (re)Load repo from GitHub, renewing cache.\n  --clearcache            Delete all previous cache files.\n  -v, --version           Get the version.\n```\n\n## Examples\n\n| Command                | Description                             |\n| ---------------------- | --------------------------------------- |\n| `gtrend -n 15`         | Displays 15 daily trending repos        |\n| `gtrend -t monthly`    | Displays monthly trending repos         |\n| `gtrend -s forks`      | Displays trending repos sorted by forks |\n| `gtrend -l JavaScript` | Displays JavaScript trending repos      |\n| `gtrend -b firefox`    | Open repo in firefox                    |\n\nSo, if you want to display 20 weekly trending repos sorted by stars and want to use google-chrome:\n\n`gtrend -n 20 -t weekly -s stars -b google-chrome`\n\nThe command default are:\n\n`gtrend -n 10 -t daily -s starsToday` which is equivalent to `gtrend`.\n\n\n# TODOS\n\n  - [ ] Run some tests\n  - [ ] Makefile + version management\n  - [ ] Old cache browsing and loading\n  - [ ] Add `cli` completion\n\n\n# LOGS\n\n  * v0.1.5  Moving to GitLab\n  * v0.1.4  Back to original trending-github package\n  * v0.1.3  Cache retrieving better handling\n  * v0.1.2  Old cache removal\n  * v0.1.0  Thanks to [@cronvel](https://github.com/cronvel/terminal-kit/issues/68) highlighting of selected line is now perfect !\n  * v0.0.7  WIP Makefile\n  * v0.0.6  Tuning\n  * v0.0.5  Quick fixes, `--nocache` option\n  * v0.0.4  Cache, better README\n  * v0.0.3  CLI args (sorting, language, timespan, etc...) are now ok\n  * v0.0.2  Basic but functional version\n  * v0.0.1  Basic tests with different libraries\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponsfrilus%2Fgtrend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fponsfrilus%2Fgtrend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponsfrilus%2Fgtrend/lists"}