kostyafarber Posted October 23, 2022 Share Posted October 23, 2022 Alfred Hackernews Find the top stories from hackers right in Alfred. Find the source code here: https://github.com/kostyafarber/alfred-hackernews Find the latest version here: https://github.com/kostyafarber/alfred-hackernews/releases/ Usage xgo 1 Link to comment
xgo Posted October 24, 2022 Share Posted October 24, 2022 Thanks for sharing! This is great I added this customization on my own version to have a cmd modifier and allow to open the HN discussion instead of the article news, for follow up. const items = { title: response.title, subtitle: [response.id, response.by, response.score].join(", "), arg: 'url' in response? response.url: HACKERNEWS_URL + response.id, mods: { cmd: { valid: true, arg: HACKERNEWS_URL + response.id, subtitle: 'Open HN link; ID = ' + response.id } } }; kostyafarber 1 Link to comment
kostyafarber Posted October 25, 2022 Author Share Posted October 25, 2022 Hey @xgo that's a great addition! I am happy to add this to the library or if you want to open a PR at the GitHub repo let me know Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now