deck-optimmizer

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License

About The Project

The purpose of this tool is to optimize GIF files within Google Slides to reduce the deck file size and improve loading time.

From a technical standpoint it’s a Node.js server application that makes a copy of the Google Slides Presentation, downloads all it’s GIFs, optimizes them with Gifsicle, hosts the GIFs in an s3 bucket, replaces the optimized GIFs in the presentation and transfers ownership to the user.

(back to top)

Built With

Node.js Gifsicle

(back to top)

Getting Started

Prerequisites

A creds.json file with access credentials for a Google service account, AWS, and Workato.

Installation

  1. Clone the repo
    git clone https://github.com/mediamonks/deck-optimmizer
  2. Install NPM packages
    npm install
  3. Enter your API credentials in creds.js
    {
    "google":{
    	"client_email":"YOUR_CLIENT_EMAIL",
    	"client_id":"YOUR_CLIENT_ID",
    	"private_key":"YOUR_PRIVATE_KEY"
    	},
    "aws":{
    	"accessKeyId":"YOUR_ACCESS_KEY_ID",
	   	"secretAccessKey":"YOUR_SECRET_ACCESS_KEY",
    	"bucket":"YOUR_BUCKET_ID"
    	},
    "workato":{
    	"client_id":"YOUR_CLIENT_ID",
    	"client_secret":"YOUR_CLIENT_SECRET",
    	"access_key":"YOUR_ACCESS_KEY"
    	}
    }
  1. Start the Node.Js webserver
    node src/index.js 

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request.

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Visit original content creator repository https://github.com/mediamonks/deck-optimmizer

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *