News for hackers. Stuff that matters.
Re:Show HN: Bing Wallpapers by davewasthere on Sunday June 25, 2017 @11:21PM (#14633828)
This doesn't actually get the bing wallpaper. It goes through a proxy/cdn:

http://cdn.muzzammil.xyz/bing/bing.php?format=text&cc=IN

Which is fine if you trust that. But better might have been accessing the API endpoint directly (http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&...)

Re:Show HN: Bing Wallpapers by nabeelomer on Monday June 26, 2017 @02:40AM (#14634566)
The CDN is run by a friend, so its alright.
Re:Show HN: Bing Wallpapers by romanovcode on Monday June 26, 2017 @08:18AM (#14636131)
Yeah, it's your friend. Not ours tho. Why not go directly to Bing API?
Re:Show HN: Bing Wallpapers by muzzammildotxyz on Monday June 26, 2017 @11:18AM (#14637452)
The bing api you are talking about does not give the "Today's Homepage" image. For that you have to like they do it, the way you said, i.e. hpimagearchive.aspx thing.

The BingHomepageAPI provides an easy way to do it so that more people can get it without going through the trouble of locating the HPimagearchive page and understand how it works to be able to implement it.

As for why I made it, I have been using the method for approximately 5 months on my website. But the thing is, I didn't find any thing to help me to do so "the easy way", so, to help people in the future I made it open source.

Why use it? Well, you don't have to... If you understand how it works, well do the way you like it. No one, I repeat, no one is forcing you to use it.

Re:Show HN: Bing Wallpapers by nabeelomer on Monday June 26, 2017 @10:44AM (#14637158)
Valid argument. Perhaps I should use the Bing API directly. But the API I'm using right now is open source.
Re:Show HN: Bing Wallpapers by jarnix on Sunday June 25, 2017 @12:37PM (#14630826)
FYI the site was blocked by my antivirus.

"Fetches and applies the image of the day from Bing as the wallpaper. Works only on Ubuntu."

The link to the github project is :

https://github.com/nabeelomer/BingWallpapers

Re:Show HN: Bing Wallpapers by nabeelomer on Monday June 26, 2017 @02:41AM (#14634569)
The Github link was blocked?
Re:Show HN: Bing Wallpapers by YaraGreyjoy on Sunday June 25, 2017 @08:41PM (#14633124)
Any chances of having this be available on Windows?
Re:Show HN: Bing Wallpapers by nabeelomer on Monday June 26, 2017 @02:41AM (#14634567)
Sure, we can work on that.
Re:Show HN: Bing Wallpapers by YaraGreyjoy on Monday June 26, 2017 @11:21AM (#14637481)
Awesome. Thanks!

Add a topic tag for Windows, when you have it available/working on Windows.

Re:Show HN: Bing Wallpapers by nabeelomer on Monday June 26, 2017 @12:19PM (#14637921)
Actually by "we", I meant you and me.
Re:Show HN: Bing Wallpapers by muzzammildotxyz on Monday June 26, 2017 @11:00AM (#14637307)
Thank you Nabeel for using the API. :)