{"id":20990605,"url":"https://github.com/bhumijgupta/deno-news-cli","last_synced_at":"2025-05-14T20:31:46.128Z","repository":{"id":97584653,"uuid":"264730358","full_name":"bhumijgupta/Deno-news-cli","owner":"bhumijgupta","description":"A deno based CLI app to show quick news at your terminal","archived":false,"fork":false,"pushed_at":"2020-10-11T07:19:46.000Z","size":117,"stargazers_count":19,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T22:22:42.752Z","etag":null,"topics":["deno","deno-beginner","deno-cli","hacktoberfest","news-app","news-cli"],"latest_commit_sha":null,"homepage":"","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/bhumijgupta.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-17T18:24:27.000Z","updated_at":"2023-12-25T03:05:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"03e4cf8f-325c-44e5-8e11-afbd41132fa4","html_url":"https://github.com/bhumijgupta/Deno-news-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhumijgupta%2FDeno-news-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhumijgupta%2FDeno-news-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhumijgupta%2FDeno-news-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhumijgupta%2FDeno-news-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhumijgupta","download_url":"https://codeload.github.com/bhumijgupta/Deno-news-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254222256,"owners_count":22034850,"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":["deno","deno-beginner","deno-cli","hacktoberfest","news-app","news-cli"],"created_at":"2024-11-19T06:34:41.310Z","updated_at":"2025-05-14T20:31:46.117Z","avatar_url":"https://github.com/bhumijgupta.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/bhumijgupta/Deno-news-cli/raw/master/assets/banner.png\" alt=\"News CLI ASCII art\"/\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003eFind your quick news byte at your terminal.\u003c/p\u003e\n\n## Installation\n\nYou can download the executable directly from GitHub.\n\n```\ndeno install --allow-net --allow-read --allow-write --allow-env -n news-cli https://raw.githubusercontent.com/bhumijgupta/Deno-news-cli/master/mod.ts\n```\n\n## Features\n\n- Get news headline\n- Get news by category\n- Get news including a keyword\n- Search for news from international sources\n\n## Example\n\nRunning `news-cli -latest -c technology -q Google` will give output:\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/bhumijgupta/Deno-news-cli/raw/master/assets/screenshot.png\" alt=\"Screenshot\"/\u003e\u003c/p\u003e\n\n## Setup\n\n1. Create you free account on [https://newsapi.org/](https://newsapi.org/).\n2. Run the command to setup your api key\n   ```\n   news-cli --config \u003cAPI_KEY\u003e\n   ```\n3. Run the following command to get more info\n   ```\n      news-cli --help\n   ```\n\n## Usage\n\nRun `news-cli` in your terminal followed by any of the filters\n\n```\nOptional filters:\n   -h, --help\t\t Shows this help message and exits\n   -l, --latest\t\t If the flag is set, then news will be returned only from latest headlines\n   -q, --query\t\t Find news related to a specific keyword\n   -c, --category\t\t Find news in a valid category (only applicable if used with -l, --latest). The valid categories are: business, entertainment, general, health, science, sports, technology\n   --config \u003cAPI_KEY\u003e\t\t Set API key for news API. The key can be received from https://newsapi.org/\n```\n\n## Linting\n\nThe project uses Deno's inbuilt formatter. You can manually lint code using\n\n```\ndeno fmt\n```\n\n## Author\n\n[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)\n\n### Bhumij Gupta\n\n![GitHub followers](https://img.shields.io/github/followers/bhumijgupta?label=Follow\u0026style=social) [![LinkedIn](https://img.shields.io/static/v1.svg?label=connect\u0026message=@bhumijgupta\u0026color=success\u0026logo=linkedin\u0026style=flat\u0026logoColor=white)](https://www.linkedin.com/in/bhumijgupta/) [![Twitter URL](https://img.shields.io/twitter/url?style=social\u0026url=http%3A%2F%2Ftwitter.com%2Fbhumijgupta)](https://twitter.com/bhumijgupta)\n\n---\n\n```javascript\nif (repo.isAwesome || repo.isHelpful) {\n  StarRepo();\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhumijgupta%2Fdeno-news-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhumijgupta%2Fdeno-news-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhumijgupta%2Fdeno-news-cli/lists"}