Live data from Hacker News

Hacker News Web App for Mobile

hn.premii.com

71–80 of 171 posts

Re: Hacker News Web App for Mobile

#71
post #64

Thanks so much. I've downloaded a few HN apps and they have not been working very well. This shall replace them.

If you are on android, you can download this as a native app from here. https://play.google.com/store/apps/details?id=com.premii.hn iOS. Only option is to add it to your home. I have build iOS app, but haven't submitted to the app store.

I've added it to the home screen. It's fantastic apart from 2 issues (iOS):

1. Swapping between comments and the article (like 5 times) and then wanting to get back to the main page. (I have to hit back the same amount of times as I swapped.)

2. When clicking a link, there is no way to get back to the main page. (is there a way to get the status bar back when browsing via homescreen?)

Re: Hacker News Web App for Mobile

#72

Earlier quoted context omitted.

Sorry I forgot to mention, I also use Fastclick( https://github.com/ftlabs/fastclick ) for iOS. JS is uglified. Libraries takes 55% of file size, and rest is my code.

The UI performance for your web app is impressive. Did you use any other libraries besides fastclick? Or was it a lot of manual work and research to make the UI perform well?

+1. I don't know what are your plans with this app, but I would love to learn more about how you did that. Do you plan to open-source it?

Re: Hacker News Web App for Mobile

#74
post #51
post #48

Earlier quoted context omitted.

Do you mean the vertical swiping? If so, it's smooth because there's nothing special going on. It's just the page being swiped up and down, i.e. native behavior.

I mean the horisontal swipe when you click an item. Are you using Android? The smoothness of this site is revolutionary compared to the lag you're normally used to.

transform: translate(0, 100%) or transform: translate3d(0, 100%, 0) for hardware acceleration. I have tested with both, and it works great. Trick is try not to do anything else when animating.

Re: Hacker News Web App for Mobile

#75

Earlier quoted context omitted.

Sorry I forgot to mention, I also use Fastclick( https://github.com/ftlabs/fastclick ) for iOS. JS is uglified. Libraries takes 55% of file size, and rest is my code.

The UI performance for your web app is impressive. Did you use any other libraries besides fastclick? Or was it a lot of manual work and research to make the UI perform well?

+1. I would love a more detailed "How I built the HN single page app" post.

Re: Hacker News Web App for Mobile

#76
post #6

I use http://ihackernews.com/ on my mobile. The only issue is that sometimes comments are not displayed because the app reach the api requests limit. Any similar issue with your app ?

Hmm. I have not experienced that with mine, but than I don't have that many users.

Re: Hacker News Web App for Mobile

#80
post #35

Looks great but unfortunately doesn't work on WP7.5 (gets stuck 'Loading'). I know this isn't a huge demographic of HN readers (possibly just me) but it would be great if it was possible to fix this!

Sorry. There is no plan to support WP7. I will have to rewrite it, and performance won't be as good as this for non-WP7 users.
Post reply on HN