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.

HTML-based weather app

39 pointsby simuraiover 12 years ago

23 comments

nickprestaover 12 years ago
✓ Claims to be an HTML5 app<p>✓ Requires iOS for no apparent reason<p>✓ You must install to homescreen first, even if you are on iOS<p>What does this do and why did you make the above decisions?<p><i>EDIT:</i> To get around this, open up your JS console, put a breakpoint on line 509 inside sunny.js and set `window.navigator.standalone = true;`. Things should be fine from that point on if you have "emulate touch events" turned on.
评论 #4987725 未加载
评论 #4987653 未加载
评论 #4987882 未加载
sachleenover 12 years ago
It's HTML 5 but requires iOS? Why. I spoofed the user agent in Chrome and it wants me to add it to my iOS home screen before I can try it out. Why not just show me the app when I go to the page? And if I want to add it to my home screen, I will.
pan69over 12 years ago
For the love of God, if this is HTML then why is it only working on iOS devices? Is the iPhone/iPad the new Internet Explorer?
评论 #4987524 未加载
suhailpatelover 12 years ago
Great design but not sure why this needs to be iOS only and why it needs to be installed to the homescreen.<p>I still don't think it's better than a native app because it took 30 seconds to actually show anything from a black screen and then a minute or so to load the data on stable fast WiFi (bet it'd be worse over 3G).<p>A native app has UI code and fancy animations on board and if this was an initial impression of something I wasn't really interested in observing, i'd uninstall it straight away. Granted it does load faster on subsequent launches (caching maybe?) but it's the initial launch which matters to me.
评论 #4987664 未加载
nilliamsover 12 years ago
Beautiful and the nav is impressively slick. Shame the desktop landing page (though pretty) doesn't show off just how nice the rest of the UI is when visited from iOS. (There are a few pics on the author's Dribbble for the curious [1]).<p>Would love to read a good illustrated blog post on the making of this. It'd be interesting to know what frameworks (if any) were used.<p>[1] <a href="http://dribbble.com/jalifax" rel="nofollow">http://dribbble.com/jalifax</a>
hayksaakianover 12 years ago
Not sure what I'm supposed to be looking at. I don't suppose that a nice picture of an iPhone == weather app.<p><a href="http://www.imgur.com/djVjc.png" rel="nofollow">http://www.imgur.com/djVjc.png</a>
评论 #4987736 未加载
fideloperover 12 years ago
The design is beautiful!<p>This would make a great native app - Which I only say because HTML5 on iOS seems a bit choppy for such nice animations.<p>It's unfortunate to find such snark for something which I'll bet took a lot of effort to do. It makes sense for an HTML app to be friendly to all devices, and probably that is something to aim for.<p>Obviously has room for improvement, but I think we (myself included) can all do better at delivering feedback.
评论 #4988313 未加载
coleyover 12 years ago
This is a nice example of how html5 has come a long way. Thanks for sharing.<p>I did come across one bug, however. After changing the color scheme, Sun reloads, flashes "changing colors...", and then hangs on the loading indicator.
timesachanginover 12 years ago
Looks lovely. Really swish animation. Brilliant showcase of HTML5 based apps. Shame it locked my entire phone up!?
评论 #4987531 未加载
armsover 12 years ago
Slick presentation, but simply takes too long to display data and seems buggy - caused my phone to freeze.
Nuxover 12 years ago
"Sun is a web app designed for the iPhone and iPad." - why bother make it a "web" app then? Waste of time.
评论 #4987650 未加载
taf2over 12 years ago
installed it on my phone, but i just see a spinning wheel and a pink background... the 3d effect when flipping to the other locations looks nice, but perhaps the location api times out or there's a service call that's timing out because it looks to be frozen, for my location.
chacha102over 12 years ago
Ever since the iPhone weather app, I get really annoyed when weather apps display the weather to be 'sunny' at night.<p>Its not sunny.<p>PS: Yes, its not a huge deal. If there was a 'feature' list, it wouldn't be listed. But trying to tell me San Diego will be 'sunny' at midnight is just wrong. &#60;/rant&#62;
sktrdieover 12 years ago
Wonderful! I love these beautiful minimalist UX experiments. Especially when using open technology such as HTML5. Any info on how you built all the really nifty animations? Used any tool to get it just right?
flixicover 12 years ago
The most amazing feature of this, that I have seen NONE other app do, is the changing icon.<p>Install the app, and change the colors. Then, close the app. Its <i>icon's</i> colors have changed to reflect the color theme change.
simuraiover 12 years ago
Don't forget to pinch out (kinda hard to discover), once you're on a location and you get a details view like this <a href="http://drbl.in/glDK" rel="nofollow">http://drbl.in/glDK</a>
hnriotover 12 years ago
I installed it and all I see is a pink screen with my location and temp. Completely boring "app" google weather is far superior (in HTML and works on more than just my iPad)
评论 #4987690 未加载
mserdarsanliover 12 years ago
There is not a single good comment about this, yet it is on front-page. WhyHN?
yockover 12 years ago
An honest question. Is there any technical reason this is limited to iOS?
jakozaurover 12 years ago
Great design, but a few things could be improved:<p>- no preview on desktop<p>- landscape mode is broken<p>- no client-side caching
quasimoover 12 years ago
I shared this long time ago: <a href="http://blog.linz.im/2012/webapp-sun.html" rel="nofollow">http://blog.linz.im/2012/webapp-sun.html</a>
benguildover 12 years ago
This is great!
artursapekover 12 years ago
Shit, it's 3° in Redmond? I better stay inside.
评论 #4987667 未加载