hnclient is a Hacker News CLI client. It's a toy project to practice writing golang and using gorutines.
Use at your own risk.
Usage
$ ./hn help
hn is a Hacker News CLI client.
You can get the N top, best or new stories from the orange site
right in your console.
If no arguments are passed, you'll get the top 10 stories by default.
Usage:
hn [flags]
hn [command]
Available Commands:
best get best N stories
help Help about any command
new get the N newest stories
top get top N stories
Flags:
-h, --help help for hn
Use "hn [command] --help" for more information about a command.
Sample output
$ ./hn
π Some thoughts on the $660k copy of Super Mario Bros
π£ story by ecliptik | 27 comments | βοΈ 50
π http://famicomblog.blogspot.com/2021/04/air-raid-has-some-thoughts-on-660000.html
π¬ https://news.ycombinator.com/item?id=26940590
π Google have declared Droidscript is malware
π£ story by croes | 252 comments | βοΈ 460
π https://groups.google.com/g/androidscript/c/Mbh5TZ6YYnA/m/GflwflqaDAAJ
π¬ https://news.ycombinator.com/item?id=26956077
π Arm Announces Neoverse V1, N2 Platforms and CPUs, CMN-700 Mesh
π£ story by timthorn | 47 comments | βοΈ 124
π https://www.anandtech.com/show/16640/arm-announces-neoverse-v1-n2-platforms-cpus-cmn700-mesh
π¬ https://news.ycombinator.com/item?id=26955451
π Swimlanes.io β generated editable sequence diagrams
π£ story by smusamashah | 23 comments | βοΈ 116
π https://swimlanes.io/
π¬ https://news.ycombinator.com/item?id=26956728
π I forgot about print style sheets (2016)
π£ story by pcr910303 | 8 comments | βοΈ 72
π https://www.matuzo.at/blog/i-totally-forgot-about-print-style-sheets/
π¬ https://news.ycombinator.com/item?id=26956980
π SixtyFPS v0.0.6 (GUI Toolkit in Rust): Now with IDE Support
π£ story by adamnemecek | 10 comments | βοΈ 58
π https://sixtyfps.io/blog/v0.0.6-now-with-ide-support
π¬ https://news.ycombinator.com/item?id=26958154
π The Muse (YC W12) Is Hiring Two Designers Come Join Us
π£ job by KMinshew | 0 comments | βοΈ 1
π https://www.themuse.com/jobs/themuse/senior-product-designer
π¬ https://news.ycombinator.com/item?id=26958572
π Neutron stars may be bigger than expected, measurement of lead nucleus suggests
π£ story by furcyd | 6 comments | βοΈ 50
π https://www.sciencemag.org/news/2021/04/neutron-stars-may-be-bigger-expected-measurement-lead-nucleus-suggests
π¬ https://news.ycombinator.com/item?id=26957355
π My Current HTML Boilerplate
π£ story by adrian_mrd | 214 comments | βοΈ 810
π https://www.matuzo.at/blog/html-boilerplate/
π¬ https://news.ycombinator.com/item?id=26952557
π OpenFlights β airport and airline data
π£ story by cyberlab | 14 comments | βοΈ 78
π https://openflights.org/data.html
π¬ https://news.ycombinator.com/item?id=26956271
$ ./hn new 5
π India Is What Happens When Rich People Do Nothing
π£ story by pmoriarty | 0 comments | βοΈ 1
π https://www.theatlantic.com/international/archive/2021/04/india-covid19-moral-failure/618702/
π¬ https://news.ycombinator.com/item?id=26959112
π Webmention Analytics
π£ story by brianzelip | 0 comments | βοΈ 1
π https://mxb.dev/blog/webmention-analytics/
π¬ https://news.ycombinator.com/item?id=26959161
π Robot Uses AI to Kill 100k Weeds per Hour
π£ story by deedub | 0 comments | βοΈ 1
π https://interestingengineering.com/new-farming-robot-uses-ai-to-kill-100000-weeds-per-hour
π¬ https://news.ycombinator.com/item?id=26959132
π 9 factors to keep in mind when selecting an optical payload for a satellite
π£ story by kartikkumar | 0 comments | βοΈ 1
π https://blog.satsearch.co/2021-04-27-spotlight-9-factors-to-keep-in-mind-when-selecting-an-optical-payload
π¬ https://news.ycombinator.com/item?id=26959162
π CC Search to Join Wordpress.org
π£ story by kgodey | 0 comments | βοΈ 1
π https://ma.tt/2021/04/cc-search-to-join-wordpress-org/
π¬ https://news.ycombinator.com/item?id=26959160
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.