Skip to content

Instantly share code, notes, and snippets.

@graste
Forked from abelsonlive/dot-cat.sh
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save graste/d6e9530bf70a55f7aa34 to your computer and use it in GitHub Desktop.

Select an option

Save graste/d6e9530bf70a55f7aa34 to your computer and use it in GitHub Desktop.

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