Hackernews client for Emacs
Emacs Lisp Makefile
Switch branches/tags
Latest commit 629fe18 Apr 27, 2017 @clarete committed on GitHub Merge pull request #26 from helgeblod/master
Documented the keybindings

README.md

Simple hackernews emacs client

It's simple because it doesn't actually interact with hackernews. It uses an http api to get the data.

Navigation

This version is able to list posts present in the main page, as well as their points and comment count. You can also click (or RET) in the post titles to open them in a browser.

Or you can press 't' to open the article in text only mode in emacs itself. It may not work for some articles due to the page structure.

The next versions will implement the upvote command and the possibility to interact with comments.

Keymap

Keybinding Description
RET Open post in default browser
t Open post in text-mode (may not work for all articles)
n Navigate to next post
p Navigate to previous post
TAB Navigate to next comment
Shift-TAB Navigate to previous comment
m Load more posts
g Refresh posts
q Quit

How it looks like

screenshot

Installing

Emacs package

If you like this package repo stuff, you just need add the marmalade repo to your emacs config with the following code:

(require 'package)
(add-to-list 'package-archives
    '("marmalade" .
      "http://marmalade-repo.org/packages/"))
(package-initialize)

And then, run M-x package-install, the package name is hackernews.

Downloading the file

Copy the hackernews.el to your elisp directory and add the following code to your .emacs file:

(require 'hackernews)

Using it

Just run M-x hackernews

License

Copyright (C) 2012 Lincoln de Sousa lincoln@comum.org

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

instanc.es Badge Bitdeli Badge