{"id":20598441,"url":"https://github.com/kkirsche/hn","last_synced_at":"2026-04-17T23:02:15.293Z","repository":{"id":142820517,"uuid":"55798815","full_name":"kkirsche/hn","owner":"kkirsche","description":"Hacker News Viewer, In Go!","archived":false,"fork":false,"pushed_at":"2016-04-12T03:06:54.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T01:12:53.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/kkirsche.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-04-08T17:53:26.000Z","updated_at":"2016-04-08T18:45:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c1038a8-9eb6-4217-9a76-6e9d3b6bdbe0","html_url":"https://github.com/kkirsche/hn","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/kkirsche%2Fhn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkirsche%2Fhn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkirsche%2Fhn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkirsche%2Fhn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkirsche","download_url":"https://codeload.github.com/kkirsche/hn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242232931,"owners_count":20093898,"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":[],"created_at":"2024-11-16T08:26:51.145Z","updated_at":"2026-04-17T23:02:10.206Z","avatar_url":"https://github.com/kkirsche.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hn\nHacker News Viewer, In Go!\n\n## Usage\n\n### CLI Mode\n\n#### Top 25 Stories List\n\nYou can retrieve and print the Top Stories from Hacker News. If no argument is\nprovided to `hn top`, it will assume you would like the top 25 stories.\n\n```\n~/g/s/g/k/hn git:master ❯❯❯ hn top 25                                        ✱ ◼\n1 Congratulations You’ve Been Fired\n2 How a Car Engine Works\n3 Domino's: Pizza and Payments\n4 Support of OpenBSD pledge(2) in programming languages\n5 Frog and Toad are Cofounders\n6 Alphabet X new bipedal robot can climb stairs and overcome obstacles\n7 The rotational North Pole is moving east at 14 cm per year\n8 Aetna's CEO pays workers up to $500 to sleep\n9 How to Avoid Empathy Burnout\n10 STOMP – The Simple Text Oriented Messaging Protocol\n11 The Blue State Model: How the Democrats Created a \"Liberalism of the Rich\"\n12 Afghanistan’s only PC manufacturer\n13 Rendering React without browser JavaScript\n14 Declaring Reality: An Introduction to Datalog\n15 Efficient Integer Overflow Checking in LLVM\n16 When Free Software Depends on Nonfree\n17 Bobby Fischer: from prodigy to pariah (2011)\n18 Knuth versus Email (1999)\n19 Steve Case: fewer tiny startups in the third wave\n20 Not an ex-parrot\n21 Ask HN: Is it worth paying for a Coursera course?\n22 Qualcomm server chips now available to ARM developers through cloud service\n23 How the Commodore Amiga Powered the Prevue Channel\n24 Why babies are sleeping in boxes\n25 Legal Moonshiner and University Battle Over Rights to ‘Kentucky’\n```\n\n#### Read A Top Story\n\nTo read, if it is a post which has local text a Hacker News Story, simply tell the tool which story you would like to\nread, like so:\n\n##### Text Post\n\n```\n~/g/s/g/k/hn git:master ❯❯❯ hn top story 21                                  ✱ ◼\nAsk HN: Is it worth paying for a Coursera course?\nBy: eecks, When: 2016-04-09 10:32:11 -0400 EDT\n\nThere are lots of free courses online but some offer the option of paying and\nreceiving a certificate on completion.\n\nDoes anyone here have one of those certs? Do they hold any value? Is it worth\npaying for the cert when you can still do the full course for free?\n```\n\n##### URL Post\n\n```\n~/g/s/g/k/hn git:master ❯❯❯ hn top story 1                                    ✱\nCongratulations You’ve Been Fired\nBy: dcschelt, When: 2016-04-09 17:28:11 -0400 EDT\n\nFrom URL: http://mobile.nytimes.com/2016/04/10/opinion/sunday/congratulations-youve-been-fired.html?smid=tw-share\u0026referer=https://t.co/GST3iLv3Zn\n\nPost does not contain any text. Would you like to open the URL in your web browser? y/n: y\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkirsche%2Fhn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkirsche%2Fhn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkirsche%2Fhn/lists"}