Jump to content
vitor

HackerBoard — Front page news from web community sources

Recommended Posts

Get the latest Hacker News (hn) and Pinboard Popular (pbp) links.


yfvchcQ.png
jVSxhmA.png


Action any link to open it in the background in your default web browser. Action it with ⌃ to copy it to the clipboard. If listing Hacker News links, actioning with ⌥ will open the comments thread (set the hn_main Workflow Environment Variable to comments to reverse this behaviour).


Lists are updated automatically and cached. To force the lists to update, run :hackerboardforceupdatelists.


BJbKPJe.png

 

Download | Source

Edited by vitor

Share this post


Link to post
11 minutes ago, nikivi said:

I think for hacker news the workflow lacks up vote count

 

The workflow grabs their RSS feed, which does not provide them. Either way the up vote count would be skewed, since results are cached for four hours. To get accurate up vote counts I’d need to regrab the page with every request, which would make the workflow slower.

Share this post


Link to post

I understand. I was thinking, perhaps Github Trending also has an RSS feed. Would be awesome to add. 

 

Will break the cool name you have there though. :)

Edited by nikivi

Share this post


Link to post

Your repo is trending today!


I don’t care much about breaking the name, as the description is general enough. I don’t think I’ll add Github Trending, though, as those aren’t really news. That seems more appropriate for a Github-centric Workflow. That said, I have thought about adding Prodcut Hunt, , and that kind of blurs the line.


But Product Hunt’s RSS (Atom feed) has short descriptions next to the names of the products, while Github trends does not (the one I found; I haven’t seen an official one, even). That makes Product Hunt well suited to be included in a Script Filter, ad Github Trends not.

Share this post


Link to post

Update.

 

Added an hn_main Workflow Environment Variable. If you set it to comments, Hacker News’ main action will open the comments thread, and the secondary (⌥) will open the linked website.

 

Also made some general code updates and fixed a bug where only the Pinboard list was being updated on force.


To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.
 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...