5 ms·
This is not that novel of an extension. It's essentially the following (see https://github.com/forward/mustachio-chrome/blob/master/mustachio.js https://github.
by Sephr 15y ago
This is not that novel of an extension. It's essentially the following (see https://github.com/forward/mustachio-chrome/blob/master/mustachio.js https://github.com/forward/mustachio-chrome/blob/master/must...):
var i = document.images.length;
while(i--) document.images[i].src = "http://mustachy.heroku.com/?src=" + document.images[i].src;
I might be more impressed if the author ported mustachio (https://github.com/afeld/mustachio https://github.com/afeld/mustachio) to JavaScript.
- aidanfeldman 15y agoway ahead of ya: https://github.com/afeld/mustachio-js https://github.com/afeld/mustachio-js
- biot 15y agoDoesn't that just run on node.js? Replacing the image with a canvas tag that renders the original image + mustache image would require no server.
- aidanfeldman 15y agoCorrect, though there does need to be a server component to communicate with the Face.com API. Face detection is a much slower process than image compositing, so this is really the limiting factor.