TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

134 点作者 MrAwesomeSauce超过 8 年前

12 条评论

pritambarhate超过 8 年前
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 未加载
vayarajesh超过 8 年前
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 未加载
kswahl1超过 8 年前
It&#x27;s annoying how it scrolls to the top of the page when when you go back from article.
评论 #13268424 未加载
csantini超过 8 年前
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 未加载
STRiDEX超过 8 年前
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 未加载
ing33k超过 8 年前
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 未加载
jamra超过 8 年前
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 未加载
harisamin超过 8 年前
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 未加载
johnwheeler超过 8 年前
Nice work. Is the ng2 download still clocking in at ~750 KB webpacked? Restricted to mobile so no webdev tools
评论 #13269565 未加载
评论 #13268317 未加载
评论 #13268008 未加载
vbsteven超过 8 年前
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 未加载
inian超过 8 年前
&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 未加载
WhitneyLand超过 8 年前
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