Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dot-cat.sh

Dot Cat

Some likely-Bond-villain tech wiz took the time to insert cat gifs and pictures into a NYTimes homepage screen: http://t.co/VR0BAhGmJj

— Alexis Hauk (@fullofshark) April 30, 2015
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

This is the script i used to create nytimes.cat. It's powered by meowbify.com.

It downloads their site and uploads it to an Amazon S3 bucket which i configured to be a website.

That's it.

I use it like this:

./dot-cat.sh nytimes

or like this for cnn.cat:

./dot-cat.sh cnn
#!/bin/sh
curl http://cat.www.$1.com.meowbify.com/ > index.html
s3cmd put index.html s3://$1.cat/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.