Node.js Gyazo grab server including Twitter card integration (optional).
git clone [email protected]:ralphholzmann/grabs.git
cd grabs
npm install
{
"domain": "example.com", // Domain of your server
"twitter_username": "jack" // Your Twitter username without the '@'
}
NODE_ENV=production PORT=80 node app.js
Step 1 - Install Gyazo
Step 2 - Copy the sample Gyazo script to /Applications/Gyazo.app/Contents/Resources/script
Step 3 - Open /Applications/Gyazo.app/Contents/Resources/script
and modify line 3 to match your domain:
HOST = "example.com"
That's it. Now whenever you launch Gyazo.app
, the screen grabs will be saved to your server.
Hop over to the Twitter cards validator in a Webkit browser (you must be logged in to your Twitter account). Click the "Photo" card from the card catalog, then flip over to the "Validate & Apply" tab. Paste in a sample grab URL and validate it. Then apply and wait for confirmation.
MIT