
Table of Contents
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.
A creds.json
file with access credentials for a Google service account, AWS, and Workato.
- Clone the repo
git clone https://github.com/mediamonks/deck-optimmizer
- Install NPM packages
npm install
- 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"
}
}
- Start the Node.Js webserver
node src/index.js
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.
Distributed under the MIT License. See LICENSE.txt
for more information.

Leave a Reply