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
  • 11 years ago
  • 2 hours ago
  • 11 years ago

Installs

  • Total 494
  • Win 193
  • Mac 189
  • Linux 112
Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14
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.