ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Hacker News Reader

by Dimillian ST2

Read Hacker News front page right from Sublime Text.

Details

  • 2013.04.03.15.20.55
  • github.​com
  • github.​com
  • 12 years ago
  • 2 hours ago
  • 12 years ago

Installs

  • Total 494
  • Win 193
  • Mac 189
  • Linux 112
Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Hacker News Reader

What ??

Because an image is better than a thousand lines of text, here it is:

image

This is my first public Python project, well this is my first Python project ever, I'm open to any constructive criticism. I think the code is currently bad, but I've mad it for myself first, and its works, so I'm fine. I'll make it better with more features. Maybe soon, maybe later.

This plugin is not in Package Control yet, I'll submit it soon, this version or a later one.

Features

  • Clean and fast
  • Load the Hacker News Front Page in a Sublime Text menu
  • Select and item to read comments or the article
  • Quick view on the user profile

Coming soon

  • Login
  • Post comments
  • more…

Submit any features request or bugs as issues, I'll be more than happy to work on them. This repo is also open to Pull Requests.

Install

From here: Download and copy this folder to your packages directory

Package Control: Coming soon, I'll submit this package soon to Package Control so you'll be able to install it right within Sublime Text 2

Using

Open the Command Palette and search for 'Hacker News Feed', you can also access this command from the tool menu in the first section. Feel free to bind it to any shortcut.

What's new

V1.5.1 (4/03/2013)

  • ==Merge from thibaultCha ==
  • Fixed plugin not launching on Sublime startup
  • Fixed class naming convention

V1.5 (3/26/2013)

  • ==Merge from thibaultCha ==
  • Error message if your internet connection is down
  • Keymap to CMD+OPTIONS+N for OSX, keymap for linux and Windows too
  • Internal refactor

V1.4 (2/2/2013)

  • You can get more info on the submiter

V1.3 (2/2/2013)

  • Display vote and comments count.
  • Correctly close menu and do no action when esc key is pressed.

V1.2 (2/2/2013)

  • Rewrite using hn python API

V1.1 (2/2/2013)

  • On item selection allow to open the article or the Hacker News comments

V1.0 (2/2/2013)

  • First public version, this basic version only load and display the front page feed. Select ant item to open the link.

Libs

This plugin use and include hnapi

Licensing

Copyright © 2012 by Thomas Ricouard.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.