Resurrecting TinyGrab

TL;DR:

This will make the TinyGrab app functional again - you will NOT be able to upload to TinyGrab, only the external sources such as FTP, Amazon S3 or Rackspace.

To fix, edit your hosts file and point tinygrab.com to 212.159.61.116

If you're want more info, please read on!

So, TinyGrab is an app that i've used for a year or two now - it basically takes a screenshot you take on your Mac/PC and uploads it to a destination you select, and copies the resulting web URL to your clipboard in the process.

So, if I take a screenshot of this text as I type it, the result is:

http://uploads.alexhoulton.co.uk/Screen%20Shot%202016-10-22%20at%2023.21.23.png

Pretty nice right? Super handy for sending screenshots to people quickly at work!

But.. (there's always a but) their website went down a few days ago, and in the process took down their API. This means that the app no longer signs in and you're greeted with this lovely message:

So, being the nerd I am, I wanted to fix it.

Two hours later, I see this:

I count this as a success!

So, you want your TinyGrab to work too?

Simple, edit your hosts file and point tinygrab.com to 212.159.61.116

On macOS:

  1. Open a terminal
  2. sudo nano /etc/hosts
  3. Add 212.159.61.116 tinygrab.com to the bottom of the file.
  4. Ctrl+X, then type y and then press enter.
  5. Quit and restart TinyGrab.
  6. Log in :)

On Windows:

Please note, I have not tested this on Windows.

  1. Open notepad as administrator
  2. File -> Open
  3. Type C:\Windows\system32\drivers\etc\hosts and click open.
  4. Add 212.159.61.116 tinygrab.com to the bottom of the file.
  5. File -> Save
  6. Open a command prompt as an administrator and run ipconfig /flushdns
  7. Quit and restart TinyGrab.

There is just one caveat:

  1. You will NOT be able to upload to TinyGrab, only the external sources such as FTP, Amazon S3 or Rackspace. This is because i'm only providing the service to make the app work again, not image hosting.

Source code if you want to do this yourself (many thanks to @farkie on twitter for re-writing the whole API (including login support!) is available on Github here.

Questions? Get in touch