{"id":19532379,"url":"https://github.com/esimkowitz/slide-summarizer","last_synced_at":"2025-04-26T13:32:56.215Z","repository":{"id":159503251,"uuid":"82244005","full_name":"esimkowitz/Slide-Summarizer","owner":"esimkowitz","description":"Experiment with the new Google Slides API.","archived":true,"fork":false,"pushed_at":"2024-06-28T20:21:12.000Z","size":642,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T03:26:22.989Z","etag":null,"topics":["google","google-drive","heroku","php","slide","slides","summarizer"],"latest_commit_sha":null,"homepage":"https://slide-summarizer.herokuapp.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/esimkowitz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-17T01:33:42.000Z","updated_at":"2024-09-21T00:02:53.000Z","dependencies_parsed_at":"2024-11-11T01:51:18.535Z","dependency_job_id":"d34a13b0-5d85-4ea6-b436-27dd65eca83f","html_url":"https://github.com/esimkowitz/Slide-Summarizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimkowitz%2FSlide-Summarizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimkowitz%2FSlide-Summarizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimkowitz%2FSlide-Summarizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimkowitz%2FSlide-Summarizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esimkowitz","download_url":"https://codeload.github.com/esimkowitz/Slide-Summarizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250993511,"owners_count":21519684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google","google-drive","heroku","php","slide","slides","summarizer"],"created_at":"2024-11-11T01:50:41.301Z","updated_at":"2025-04-26T13:32:55.885Z","avatar_url":"https://github.com/esimkowitz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slide Summarizer\r\n\r\n_Experiment with the new Google Slides API. It will scan your presentation and create a bookmark to slides where the title has changed._\r\n\r\n## Setup\r\n\r\n### Installing Composer\r\nThe first step to setting up this project is to install the Composer package manager for PHP. This can be done using the following script:\r\n```\r\nphp -r \"copy('https://getcomposer.org/installer', 'composer-setup.php');\"\r\nphp -r \"if (hash_file('SHA384', 'composer-setup.php') === '55d6ead61b29c7bdee5cccfb50076874187bd9f21f65d8991d46ec5cc90518f447387fb9f76ebae1fbbacf329e583e30') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;\"\r\nphp composer-setup.php\r\nphp -r \"unlink('composer-setup.php');\"\r\n```\r\n### Get Credentials for OAuth 2.0 Login\r\nUse the following [tutorial](https://developers.google.com/api-client-library/php/auth/web-app#creatingcred) to enable OAuth 2.0 for web applications.\r\n\r\nThe necessary code framework to use the OAuth client is already included in the program, all that you need to add is the `client_secret.json` file obtained by following the instructions in the \"Creating web application credentials\" section.\r\n\r\nAfter downloading the `client_secret.json` file from the Credentials wizard, move the file into the project or properly adjust the file path to it in the `oauth2callback.php` and `slide_reader.php` files. From here, move the project into Apache or Nginx's document root.\r\n\r\n### Install the Google Client Library\r\nRun the following command to install the library using composer:\r\n```\r\nphp composer.phar require google/apiclient-services:dev-master\r\nphp composer.phar require google/apiclient:^2.0\r\n```\r\n\r\n## Usage\r\n\r\nTo utilize the summarizer, turn on your web server and navigate to the webpage in your browser of choice. The URL should be formatted as follows:\r\n\r\n```\r\nhttp://localhost/Slide-Summarizer/slide_reader.php?presentationId=\u003cpresentationId\u003e\r\n```\r\n\r\nWhere `\u003cpresentationId\u003e` is the id of whichever Google Slides presentation you would like to summarize.\r\n\r\nThe program will dynamically produce a list of all the unique slide titles in the presentation. Clicking on any of these titles will change the iframe's position to the corresponding slide.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesimkowitz%2Fslide-summarizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesimkowitz%2Fslide-summarizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesimkowitz%2Fslide-summarizer/lists"}