Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This actually doesn't use Node (or any server side code) at all--it's 100% client side. It queries the YouTube gdata API using JSONP.

I'm a little surprised at how fast it is though--I think it's mostly due to the fact that YouTube returns API requests really really quickly and Angular does a good job of reacting quickly, plus I'm not using jQuery or anything besides Angular that could slow things down.



That explains the blazing speed, did not expect youtube to allow jsonp requests so I assumed you used a tiny nodejs server ..

I did earlier a similar project in django that converts youtube music into mp3.

I will give angular a try in my next version

Thanks


I believe this consume huge amount of bandwidth on your side, mind sharing the stats for the last 24 hour?


Not sure what you mean? Why would it consume a lot of bandwidth? Videos and images are streamed directly from YouTube and all of the API interaction happens client side so it doesn't go through my server at all.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: