Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nadeesha/hackertalk
Get HN discussion for the current URL. Powered by the HN search engine at http://hn.algolia.com
https://github.com/nadeesha/hackertalk
Last synced: 4 days ago
JSON representation
Get HN discussion for the current URL. Powered by the HN search engine at http://hn.algolia.com
- Host: GitHub
- URL: https://github.com/nadeesha/hackertalk
- Owner: nadeesha
- License: mit
- Created: 2014-11-10T04:11:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-02T00:25:53.000Z (about 5 years ago)
- Last Synced: 2024-04-22T14:23:43.220Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 33
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hackertalk
==========Get HN discussion for the current URL, in a CLI.
# why?
When reading an article online, I sometimes feel that the discussion on HN is much more interesting than the article itself.
# what's this?
hackertalk will take the url that you give it, and search via the awesome [hn.algolia.com]
(http://hn.algolia.com) and try to give you the submissions, on a CLI.# installation
```sh
$ npm install hackertalk -g
```# usage
```sh
$ htalk [--lucky]
```If you provide `--lucky` as last argument, it'll open the first suitable match.
# demo?
![hackertalk in action](https://i.imgur.com/zW7GVme.gif)# search whole of HN
This was uninteded, but if you want to search with keywords, you can do it like:```sh
$ htalk "multiple monitor productivity"
```# contributors
- [Jonas Friedmann](https://github.com/frdmn)# todos
* Prettifying output in colors
* ~~I'm feeling lucky argument (`lucky`) to launch the top result without asking the user~~ (thanks to [@frdmn](https://github.com/frdmn))
* ~~Filtering out old HN posts that cause blank titles~~ (thanks to [@frdmn](https://github.com/frdmn))