{"id":18919389,"url":"https://github.com/drgarcia1986/gonews","last_synced_at":"2025-10-23T14:46:40.113Z","repository":{"id":84331707,"uuid":"76700501","full_name":"drgarcia1986/gonews","owner":"drgarcia1986","description":"A Golang CLI to browser news from HackerNews and Reddit","archived":false,"fork":false,"pushed_at":"2017-03-10T18:42:42.000Z","size":199,"stargazers_count":44,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T20:11:22.679Z","etag":null,"topics":["go","hackernews","reddit"],"latest_commit_sha":null,"homepage":"","language":"Go","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/drgarcia1986.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":"2016-12-17T03:01:57.000Z","updated_at":"2024-12-20T17:27:27.000Z","dependencies_parsed_at":"2023-03-03T14:45:20.274Z","dependency_job_id":null,"html_url":"https://github.com/drgarcia1986/gonews","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drgarcia1986%2Fgonews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drgarcia1986%2Fgonews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drgarcia1986%2Fgonews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drgarcia1986%2Fgonews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drgarcia1986","download_url":"https://codeload.github.com/drgarcia1986/gonews/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249051938,"owners_count":21204923,"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":["go","hackernews","reddit"],"created_at":"2024-11-08T10:37:35.980Z","updated_at":"2025-10-23T14:46:40.042Z","avatar_url":"https://github.com/drgarcia1986.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gonews\n[![Build Status](https://travis-ci.org/drgarcia1986/gonews.svg)](https://travis-ci.org/drgarcia1986/gonews)\n[![Go Report Card](https://goreportcard.com/badge/drgarcia1986/gonews)](https://goreportcard.com/report/drgarcia1986/gonews)\n[![codecov](https://codecov.io/gh/drgarcia1986/gonews/branch/master/graph/badge.svg)](https://codecov.io/gh/drgarcia1986/gonews)\n\nA Golang CLI to browser news from [Hacker News](https://news.ycombinator.com/) and [Reddit](https://www.reddit.com)  \nAlso is a Golang implementation of the awesome [pynews-cli](https://github.com/mazulo/pynews_cli).\n\n## Installing\nGet this project and install via `go get -u`.\n```\n$ go get -u github.com/drgarcia1986/gonews\n```\nOr you can download a binary on releases.\n\n## Usage example\nTo get the last 10 `new` stories just call `gonews` on command line and press `Enter` on the news wanted.\n\nYou can determine the number max of news to return with parameter `--limit` and you can also choose between `new` or `top` stories\nwith parameter `--type`.\n```\n$ gonews --limit 20 --type top\n```\nBy default gonews use `hackernews` as provider, but you can change the provider with parameter `--provider`, e.g:\n```\n$ gonews --provider reddit-golang --type new --limit 10\n```\nFor more information about usage, use command `gonews --help`\n```\n$ gonews --help\n  -limit int\n        Number of Stories to get (default 10)\n  -provider string\n        Stories Provider (hackernews, reddit, reddit-\u003csubreddit\u003e) (default \"hackernews\")\n  -type string\n        Stories Type ('new' or 'top') (default \"top\")\n```\n\n## Observation\nThis is a toy project to help me to pratice Golang, if you can help me with this, getting in touch :smile:.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrgarcia1986%2Fgonews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrgarcia1986%2Fgonews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrgarcia1986%2Fgonews/lists"}