A node app that transforms a URL into a redirect to the main image from the web page.
There is a single endpoint at the root which accepts a
GET request with a URL parameter named
url. This will return either:
301redirect to the target image
- no image was found
- the URL didn't return HTML
- the URL couldn't be resolved
Built for and used in Hackers.