Giter Site home page Giter Site logo

gyazo-aws-s3's Introduction

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

gyazo-aws-s3's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.