Settings

Theme

Show HN: Read webpages in readability mode, inside your terminal

github.com

16 points by greset · 9 comments

Reader

4 threads
le-mark

This makes me happy. I have the habit of using lynx for reading articles in the terminal, which is less than ideal given it also renders all the cruft in the page as well. This project suits that use case much more. Two features that would be ideal are searching within the document and configurable navigation (ie so I can use vim keyboard shortcuts for example).

Edit; oh I see, it pipes the output to less, very clever!

  • gresetOP

    I'm glad it makes you happy!

    I'm actually surprised to see that quite a few people find it useful, I had no idea there was such a small gap to fill with such a simple tool.

fiatjaf

I was going to ask how do you find the HTML element in which the main article content is from the URL, but it seems you're calling https://mercury.postlight.com/

  • gresetOP

    Yes, for now I'm relying on mercury to do the job. I tried out some readability packages, and they worked pretty well, so I think I'm going to replace the dependency on mercury with a built-in readability package pretty soon.

qrv3w

Could you add an option to remove the links?

E.g. [publication by the New York Times](https://www.nytimes.com/2017/07/11/us/politics/trump-russia-...) -> publication by the New York Times

  • gresetOP

    Yes, it was actually on my todo list! I'll work on it pretty soon, keep an eye on the repository ;)

  • gresetOP

    Hey, I just added the `-no-links` option to the package, along with plaintext mode :)

jason_slack

I'm going to start using this today! What a great idea.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection