Script that setups Gyazo server to store images on AWS S3
- Create index.php from index.sample.php
- Create settings.php from settings.sample.php
- Put AWS settings into settings.php.
- Run this serve on domain gyazo.yourdomain.com, 80 port
Example of settings.php:
$company_name='your_company_name';
// Bitly credentials
$bitly_name='o........m';
$bitly_key='4R.......................33';
// AWS credentials
$aws_key='K5I..........EQ5';
$aws_secret='3P..........................o8';
$aws_bucket='inpic';
$aws_site='http://s3.amazonaws.com';
$cloudfront_site='http://image.company_name.com';
Open /Applications/Gyazo.app/Contents/Resources/script and replace
HOST = 'gyazo.yourdomain.com'
CGI = '/index.php'
- Setup Gyazo http://ubuntuforums.org/showthread.php?t=1720221
- Replace HOST and CGI in ruby script
- Get Gyazowin src code https://github.com/gyazo/Gyazowin
- Open gyazowin.cpp and replace settings
- Recompile an app
Example of updated settings:
const TCHAR* UPLOAD_SERVER = _T("gyazo.yourdomain.com");
const TCHAR* UPLOAD_PATH = _T("/index.php");
https://play.google.com/store/apps/details?id=jp.backspace.app.android.gyazo