TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Angular 2 HN – A progressive Hacker News client that works offline

134 pointsby MrAwesomeSauceover 8 years ago

12 comments

pritambarhateover 8 years ago
Is there a hacker news client which focuses more on typography. I use official hacker news site on Web. On a Retina Mac book Pro with 13-inch screen. I find the fonts too small. Also, one major issue is the line height. Even with browser zomming, the text lines seem to be too close together.<p>I wonder if other hacker news members also find this problematic.
评论 #13269649 未加载
评论 #13269463 未加载
评论 #13271802 未加载
评论 #13269794 未加载
评论 #13270411 未加载
评论 #13270265 未加载
评论 #13270393 未加载
评论 #13274667 未加载
vayarajeshover 8 years ago
Cool, I was just getting started with Angular 2 and Typescript (coming from Angular 1) and I think your example is just the perfect way to understand how an app is to be made with it :)<p>How is angular-cli different from angular&#x27;s quick start or a seed project setup ?
评论 #13268354 未加载
kswahl1over 8 years ago
It&#x27;s annoying how it scrolls to the top of the page when when you go back from article.
评论 #13268424 未加载
csantiniover 8 years ago
This is well done, but it proves to me that we are not there yet with javascript really replacing mobile apps, even on a such a simple app:<p>When you click on a news and then you go back to the ng2 app it takes more than a second to load back the js code when compared to any native HN app.<p>This is a big limitation for a news reader: of course the javascript app cannot stay in memory when you leave the page and then come back to it.
评论 #13270413 未加载
评论 #13270047 未加载
STRiDEXover 8 years ago
Really cool. Love angular-cli so far. Would like to see the styling from <a href="https:&#x2F;&#x2F;vue-hn.now.sh&#x2F;top" rel="nofollow">https:&#x2F;&#x2F;vue-hn.now.sh&#x2F;top</a> used as I think the animations are challenging to replicate in angular 2.
评论 #13268015 未加载
评论 #13267893 未加载
ing33kover 8 years ago
This looks good !<p>btw I am trying to learn service workers and wanted to check how you have implemented the offline support, but when I checked<p><a href="https:&#x2F;&#x2F;github.com&#x2F;hdjirdeh&#x2F;angular2-hn&#x2F;blob&#x2F;master&#x2F;src&#x2F;service-worker.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hdjirdeh&#x2F;angular2-hn&#x2F;blob&#x2F;master&#x2F;src&#x2F;serv...</a> it&#x27;s empty .. am I missing something ?
评论 #13268793 未加载
评论 #13269212 未加载
jamraover 8 years ago
Firstly, I love your app.<p>This is kind of a nitpick, but on the desktop version, hovering over the menu options &quot;new, show, ask, and jobs&quot; makes the text bold and pushes the other text aside. It&#x27;s a little weird. Perhaps work with a fixed width for each menu item so it doesn&#x27;t push the other items.
评论 #13269083 未加载
评论 #13273023 未加载
评论 #13269084 未加载
评论 #13269085 未加载
harisaminover 8 years ago
Shameless plug. I built a native Mac Hacker News client. Mackernews. <a href="http:&#x2F;&#x2F;mackernews.com" rel="nofollow">http:&#x2F;&#x2F;mackernews.com</a> you can login vote, comment, post, upvote in a native interface. It tries to render a reable web version of the article when possible :)
评论 #13268724 未加载
johnwheelerover 8 years ago
Nice work. Is the ng2 download still clocking in at ~750 KB webpacked? Restricted to mobile so no webdev tools
评论 #13269565 未加载
评论 #13268317 未加载
评论 #13268008 未加载
vbstevenover 8 years ago
Working offline is cool but the app feels noticably slower than the plain html version for navigating between comments and main pages. Tested on Firefox and Chrome (Android)
评论 #13273057 未加载
inianover 8 years ago
&quot;Progressive&quot; HN client just ships JS without any server rendering..HN is exactly the kind of application that you would expect to work without any JS.
评论 #13271845 未加载
WhitneyLandover 8 years ago
Is there any client that:<p>- Has all features (up&#x2F;down voting)<p>- Has &gt;= performance (apparently this one doesn&#x27;t)<p>- Has good large font support