Hacker News new | ask | show | jobs
by whoisthemachine 4003 days ago
That's funny. It's bookmarked.

Just curious, especially since Hacker News is that type of site, how do you go about building something like this? IE what's the stack? Any tricks used?

Are the Nic Cage GIFs stored in a repository or do they just come down to your server from the heavens (or maybe using image search tools from Google, Bing, etc.).

1 comments

Thanks :).

Stack wise it's a very simple web proxy written in Go, nothing fnacy. It basically just responds to every request with a random Nic Cage gif hosted on Imgur. The URLs are just an array in the source code itself. MVP and all that ;).

Here's the source code in Gist (without the full array) https://gist.github.com/janstenpickle/975358c427e8af844ae7.

Haha cool, thanks! Never really looked at Go code in use, didn't realize you could hack something out like that with so few lines! Very cool.