git clone 'git://github.com/clarete/hackernews.el.git'
It's simple because it doesn't actually interact with hackernews. It uses an http api to get the data.
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.
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
Copy the hackernews.el to your elisp directory and add the following code to your .emacs file:
Copyright (C) 2012 Lincoln de Sousa mailto:email@example.com
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/.