Skip to content

rajvasani/Gyazo-AWS-S3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gyazo-AWS-S3

Script that setups Gyazo server to store images on AWS S3

Setup server

  1. Create index.php from index.sample.php
  2. Create settings.php from settings.sample.php
  3. Put AWS settings into settings.php.
  4. 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';

Setup client

OS X

Open /Applications/Gyazo.app/Contents/Resources/script and replace

HOST = 'gyazo.yourdomain.com'
CGI = '/index.php'

Linux

  1. Setup Gyazo http://ubuntuforums.org/showthread.php?t=1720221
  2. Replace HOST and CGI in ruby script

Windows

  1. Get Gyazowin src code https://github.com/gyazo/Gyazowin
  2. Open gyazowin.cpp and replace settings
  3. Recompile an app

Example of updated settings:

const TCHAR* UPLOAD_SERVER	= _T("gyazo.yourdomain.com");
const TCHAR* UPLOAD_PATH	= _T("/index.php");

Android

https://play.google.com/store/apps/details?id=jp.backspace.app.android.gyazo

About

Script that setups Gyazo server to store images on AWS S3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 97.5%
  • JavaScript 1.5%
  • CSS 1.0%