Hacker News new | ask | show | jobs
Show HN: Bing Wallpapers (nabeelomer.me)
6 points by nabeelomer 3278 days ago
4 comments

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&...)

The CDN is run by a friend, so its alright.
Yeah, it's your friend. Not ours tho. Why not go directly to Bing API?
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.

Valid argument. Perhaps I should use the Bing API directly. But the API I'm using right now is open source.
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

The Github link was blocked?
Any chances of having this be available on Windows?
Sure, we can work on that.
Awesome. Thanks!

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

Actually by "we", I meant you and me.
Thank you Nabeel for using the API. :)