{"id":27167218,"url":"https://github.com/slidespeak/powerpoint-compressor","last_synced_at":"2025-07-26T21:11:26.793Z","repository":{"id":203731612,"uuid":"708902523","full_name":"SlideSpeak/powerpoint-compressor","owner":"SlideSpeak","description":"🗜️ NodeJS CLI tool to compress PowerPoint files","archived":false,"fork":false,"pushed_at":"2023-10-26T11:57:28.000Z","size":6646,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-10-27T12:44:10.850Z","etag":null,"topics":["compress","file-compression","powerpoint","pptx"],"latest_commit_sha":null,"homepage":"https://slidespeak.co/free-tools/compress-powerpoint-tool/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SlideSpeak.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}},"created_at":"2023-10-23T16:02:05.000Z","updated_at":"2023-10-26T11:51:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f38ab8a-b071-4ca3-a59a-faf2bddf06ac","html_url":"https://github.com/SlideSpeak/powerpoint-compressor","commit_stats":null,"previous_names":["slidespeak/pptx-optimizer"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlideSpeak%2Fpowerpoint-compressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlideSpeak%2Fpowerpoint-compressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlideSpeak%2Fpowerpoint-compressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlideSpeak%2Fpowerpoint-compressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SlideSpeak","download_url":"https://codeload.github.com/SlideSpeak/powerpoint-compressor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980820,"owners_count":21027803,"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":["compress","file-compression","powerpoint","pptx"],"created_at":"2025-04-09T04:50:59.020Z","updated_at":"2025-04-09T04:50:59.611Z","avatar_url":"https://github.com/SlideSpeak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PowerPoint Compressor for NodeJS\n\n![gh-banner-compress-powerpoint](https://github.com/SlideSpeak/pptx-optimizer/assets/5519740/4b7f0c3f-040a-4a99-973b-a109ccf95680)\n\nA CLI tool to compress PowerPoint files. This script compresses the size of your .pptx presentations, making them easier to store and share. Just run it, choose your file, and watch the tool compress it without losing quality.\n\n## Features\n\n- Go through all images and compress their file size\n  All raster images are converted to JPG, excepted PNG images with transparency.  \n  Size is restricted to a maximum width or height of 2000 pixels.\n\n- Remove all videos (using a CLI flag)\n  The videos are actually not entirely removed but rather replaced by a one black frame video placeholder.  \n  This helps simplify the implementation by avoiding having to parse traverse and update the XML content.  \n  In the output file, the video preview is preserved, but nothing happens if we click on the play button.\n\n- Remove embeded fonts\n\n## Setup\n\nUsing [npm](https://www.npmjs.com/)\n```\nnpm install\n```\n\nor\n\nUsing [Yarn](https://yarnpkg.com/)\n```\nyarn install\n```\n\n## Requirements\n\nYou need to have [7Zip](https://www.7-zip.org) installed because under the hood `unzip` is used to unarchive and archive the pptx files.\n\n## Usage\n\n```\nnpm run start \u003cINPUT_FILE_PATH\u003e \u003cOUTPUT_FILE_PATH\u003e\n```\n\nor\n\n```\nyarn start \u003cINPUT_FILE_PATH\u003e \u003cOUTPUT_FILE_PATH\u003e\n```\n\nThe processed file is written at the given `\u003cOUTPUT_FILE_PATH\u003e`.\n\nExample:  \n`npm run start --remove-videos ./examples/example.pptx ./examples/example-reduced.pptx`  \nor  \n`yarn start --remove-videos ./examples/example.pptx ./examples/example-reduced.pptx`\n\n### Compression Options\n\n- `--remove-videos` Removes all videos.\n\n- `--debug` Duplicate and open the processed file after processing.  \n  This makes the feedback loop faster when developing.\n\n## License \n\nApache License 2.0: See `LICENSE` file\n\n## Author\n\nWritten and maintained by [SlideSpeak.co](https://slidespeak.co)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslidespeak%2Fpowerpoint-compressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslidespeak%2Fpowerpoint-compressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslidespeak%2Fpowerpoint-compressor/lists"}