7 ms·
Show HN: A url-based API for images (my weekend project)
- noonespecial 13y agoThats really cool. How bout letting me specify more params like size?
- flippyhead 13y agoSure! To finish it quickly I kept it simple. Also, it's somewhat expensive to get the results so cost is a factor.
- edouard1234567 13y agoBased on their "linear" pricing you'll get charged a penny every 5 requests. If can charge less as your cache hit ratio increases...
- tmchow 13y agoThis is unique and useful. +1 for letting me specific size and aspect ratio
- slig 13y agoReally nice! What API are you using?
- edouard1234567 13y agobing
- flippyhead 13y agoYep, Bing. Mostly because of how it's priced.
- samirahmed 13y agoany chance you will opensource the code? or is it already up somewhere (github)
- flippyhead 13y agoSure. I need to clean up a few things first.
- simonbrown 13y agoHow are you dealing with the copyright of the images?
- iso8859-1 13y agoFair use.
- tkahn6 13y agoI really would like to use this but it seems like it's getting hammered right now. Edit: seems to be working now
- flippyhead 13y agoSorry, you caught it mid-deploy. OK now.
- r4vik 13y agoseems a lot like jpg.to http://optimus_prime.jpg.to/ http://optimus_prime.jpg.to/
- pfig 13y agohttp://rock.jpg.to/ http://rock.jpg.to/
- iSloth 13y agoArrrh... http://facebook.jpg.to/ http://facebook.jpg.to/
- flippyhead 13y agoheh, never heard of that til now. Sweet!
- mintplant 13y agoIt seems to be turning out better results, though. http://facebook.jpg.to/ http://facebook.jpg.to/ -> http://mebe.co/facebook.jpg http://mebe.co/facebook.jpg http://rock.jpg.to/ http://rock.jpg.to/ -> http://mebe.co/rock.jpg http://mebe.co/rock.jpg
- subleq 13y agohttp://placenoun.com/ http://placenoun.com/ too
- amccloud 13y agoAnd http://lorempixel.com/ http://lorempixel.com/
- egonschiele 13y agoWhoa this is cool!
- navs 13y agoAh this one actually works. Thanks. I just wasted a good hour placing the nicks of every one in the irc channel I frequent into jpg.to. Hilarity ensued. Productivity diminished.
- pfig 13y agoOne word: Scribblenauts mashup.
- deleted 13y ago[deleted]
- city41 13y agoLooks like you're filtering NSFW words over to a picture of a pipe? An interesting spinoff would be memes. Something like http://mebe.co/goodnews/I_just_fixed_the_build.jpg http://mebe.co/goodnews/I_just_fixed_the_build.jpg and it generates this: http://i.imgur.com/UR8Gbzb.jpg http://i.imgur.com/UR8Gbzb.jpg and yes memes are trite/overdone/whatever, but there's a lot of people out there that use them.
- flippyhead 13y agoYes! I love the idea of being able to find images that actually include the text you want. Even better if the image itself is relavent.
- city41 13y agoActually I meant have it generate a meme image from the text you provided. Like all the other meme generators out there, but much more simple.
- flippyhead 13y agoI also thought it would be handy to get the most relavent image given a URL, much like what happens when you paste a link into a facebook post; attempting to find the "logo" on the page or the high-res apple icons.
- fixxer 13y agoI'm happy to know I'm not the only one who tried searching for porn with this.
- flatline 13y agoOui, ceci n'est pas un chat: http://mebe.co/Cat.jpg?100 http://mebe.co/Cat.jpg?100
- datashaman 13y agoAnd: http://mebe.co/pipe.jpg http://mebe.co/pipe.jpg
- nikhilsaraf9 13y agoseems like a great idea! wondering if you could plug this into comments on facebook where you could have your own such images embedded into text, like custom emoticons (or make the like like an @mention where its a word and a link to an image at the same time). Great stuff!
- flippyhead 13y agoYeah, that's a big part of the motivation. Though facebook doesn't render the images inline, just pulls them out into a preview-type thing
- joel_perl_prog 13y agoReview the copy on your blog page explaining the project. You have a sentence with "use have" in it, and one sentence begins "Bring," where I think you meant "Bing." =)
- vanwilder77 13y agoA similar service (actually a bit smarter) http://speakthroughimages.herokuapp.com/generate.jsp?query= http://speakthroughimages.herokuapp.com/generate.jsp?query=[ your keyword] (without the square brackets)
- bkyan 13y agoWhat does mebeco stand for?
- flippyhead 13y agoSince my main use case was ease of use when using chat applications (like Campfire), I wanted a super short domain. I was actually pretty surprised a four letter pronounceable domain was available.
- tlrobinson 13y agoSuggestion: use CloudFlare to cache images at the HTTP layer so multiple requests for the same URL never even hit your app servers. CloudFlare + PaaS providers like Nodejitsu/Heroku is a great combination, IMHO.
- Amfy 13y agoOh, yes, please! Actually none of the images are loading...
- RKearney 13y agoCloudFlare will close your account if you are only using it to serve up assets like this unless you're paying for the $200/month Business plan.
- wizard_2 13y agoPlease explain this, I'm not sure what kind of activity you're talking about.
- RKearney 13y agoHere's the article I read that lead me to write that comment. http://phoboslab.org/log/2013/02/how-much-traffic-is-too-much-traffic-for-cloudflare http://phoboslab.org/log/2013/02/how-much-traffic-is-too-muc... Essentially the site was just one html page that had endless scrolling and loaded hundreds of images. CloudFlare declared the site as being under a "Layer 7 Attack" even though it wasn't.
- level09 13y agowhy the jpeg part ? would be nicer without adding that extension
- flippyhead 13y agoYou can use any extension you want. Or none.
- oakaz 13y agoThe pictures are really shitty. Please use Pinterest rather than Google Images.
- akennberg 13y agoThere's a startup that's building an iOS app to talk/chat with pictures: http://tryrelay.com http://tryrelay.com
- yock 13y agoTurns out yes, there isa picture of everything on the Internet. http://mebe.co/apple_space_monkey.jpeg http://mebe.co/apple_space_monkey.jpeg
- mullr 13y agoAny particular reason you need to proxy the data through your own server? Seems like a 302 to the original image url would be quite a lot easier and more scalable.
- vivekrp 13y agoI don't know why, but it's not loading. It's showing Nodejistu error page. I just checked jpg.to, it's cool. Went to http://webcreatorsin.jpg.to http://webcreatorsin.jpg.to and It's showing our company WebCreators.in logo, so cool.
- underwater 13y agoI ran a very similar site a while back. The Bing API costs can get expensive quickly. You probably want to cache the results.
- NameNickHN 13y agoI guess it's an early alpha version. :-) http://mebe.co/house-green-door-blue-window.jpeg http://mebe.co/house-green-door-blue-window.jpeg
- bowerbird 13y agolove it. is it ok to generate traffic aimed at it? maybe lots of traffic. (probably not, especially at first, but maybe, so i thought it would be polite to ask.) -bowerbird