Show HN: I developed a native macOS Hacker News client
21–30 of 86 posts
Re: Show HN: I developed a native macOS Hacker News client
#22This raises a question I've always wondered: How many of you prefer to run a native app rather than the web app? Personally I hate installing things on my desktop if there is a website because it is just another thing I have to manage. (Even more so because I have multiple Windows, Mac and Linux boxes I'm bouncing around between during the day and rather just have sync'd Firefox bookmarks than have to install s/w on…
Re: Show HN: I developed a native macOS Hacker News client
#23This raises a question I've always wondered: How many of you prefer to run a native app rather than the web app? Personally I hate installing things on my desktop if there is a website because it is just another thing I have to manage. (Even more so because I have multiple Windows, Mac and Linux boxes I'm bouncing around between during the day and rather just have sync'd Firefox bookmarks than have to install s/w on…
https://f-droid.org/is/packages/io.github.hidroh.materialist...
Re: Show HN: I developed a native macOS Hacker News client
#24This raises a question I've always wondered: How many of you prefer to run a native app rather than the web app? Personally I hate installing things on my desktop if there is a website because it is just another thing I have to manage. (Even more so because I have multiple Windows, Mac and Linux boxes I'm bouncing around between during the day and rather just have sync'd Firefox bookmarks than have to install s/w on…
I don't think I've ever picked the web interface over native as long as the native app is "really native"
Re: Show HN: I developed a native macOS Hacker News client
#25Thanks for sharing this. It looks really great and pretty minimal which I personally love. The main thing I'm missing from this would be read/unread indicators on stories. A roadmap of planned features would be nice or some tickets that other people could help with. I'm not sure how much time you plan on spending this, but I'd personally probably be willing to buy a version of this if it was able to do notifications…
I’m more than happy to get feature requests though — read/unread indication and favorites are something that I would definitely try implementing. Notifications are a bit harder because it would require polling HN — I’ll be thinking on it.
Re: Show HN: I developed a native macOS Hacker News client
#26This raises a question I've always wondered: How many of you prefer to run a native app rather than the web app? Personally I hate installing things on my desktop if there is a website because it is just another thing I have to manage. (Even more so because I have multiple Windows, Mac and Linux boxes I'm bouncing around between during the day and rather just have sync'd Firefox bookmarks than have to install s/w on…
(I appreciate that many will enjoy a native app, and I applaud the effort, but for me personally content sites are harder to keep track of if each has its own app.)
Re: Show HN: I developed a native macOS Hacker News client
#27 function hackernews() {
if (document.location.toString().indexOf('news.ycombinator') === -1) return;
document.querySelector('#hnmain td').style = 'background-color: #55b6f2;';
var i = 0;
function render(user, html) {
const div = document.createElement('div');
let style = 'cursor: text;overflow-y: scroll; height: 39px;position: absolute;border: 1px dotted #828282;width: 250px;margin-left: 250px;margin-top: -34px;background-color: #f6f6ef;';
div.innerHTML = html;
const date = div.querySelectorAll('tr')[5].querySelectorAll('td')[1].innerHTML.split(', ')[1];
const karma = div.querySelectorAll('tr')[6].querySelectorAll('td')[1].innerHTML;
const about = div.querySelectorAll('tr')[7].querySelectorAll('td')[1].innerHTML;
if (about.length = document.querySelectorAll('.default .comhead').length) return;
const user = document.querySelectorAll('.default .comhead')[i++];
if (!user) return next();
const username = user.querySelector('a').href;
if (username.indexOf('soheil') !== -1) return next();
const html = localStorage.getItem(username);
if (html) {
render(user, html);
next();
return;
}
fetch(username)
.then(res => res.text())
.then(res => {
localStorage.setItem(username, res);
render(user, res);
setTimeout(next, 3000);
});
}
next();
}Re: Show HN: I developed a native macOS Hacker News client
#28I'd also consider the sidebar include 'My Posts' and 'My Comments'. Maybe it has those, but I couldn't tell, as I turned off outgoing network access to firebase before logging in just to be on the safe side. Any reason you're connecting to firebase rather than storing preferences locally? I'm worried about my HN credentials being stolen.
Re: Show HN: I developed a native macOS Hacker News client
#29Does the Algolia hackernews api ( the specific API this client uses ) still require you to query in a tree like fashion, every comment item id if you want an entire page of comments? Its extremely inefficient, to the point where I have a better time curling the HN web page and piping it through python beautifulsoup Regarding a native app vs the using the HN website. The HN website I think is pretty ideal for the type…
I’m using two different APIs — the inefficient API that requires you querying in a tree fashion is the HN official API[0], but there’s also the Algolia API[1], which is much faster and gives a much sensible data shape. I also do actually fetch the HN website as well — it’s needed for account/voting features. With these sources, it’s much faster than a usual client that gets it’s data from the official API.
> The HN website I think is pretty ideal for the type of content its displaying, a native app doesn't give you much over having a HN tab open.
I guess it’s a bit of difference on how one uses HN? I didn’t like HN tabs being mixed with other work—related tabs. I felt that having an app would be a perfect solution to me, but YMMV I guess.
> The only benefit I see from a native app is the ability to save articles and comments for offline reading
I guess that’s one more feature that I should add to my backlog :)
Re: Show HN: I developed a native macOS Hacker News client
#30This raises a question I've always wondered: How many of you prefer to run a native app rather than the web app? Personally I hate installing things on my desktop if there is a website because it is just another thing I have to manage. (Even more so because I have multiple Windows, Mac and Linux boxes I'm bouncing around between during the day and rather just have sync'd Firefox bookmarks than have to install s/w on…
A native app should be snappier and maybe offline capable, but I'm not expecting to use Hacker News offline.