{"id":49506156,"url":"https://github.com/yann83/dragdroppdf","last_synced_at":"2026-05-14T14:02:04.034Z","repository":{"id":290403509,"uuid":"973646534","full_name":"yann83/DragDropPDF","owner":"yann83","description":"Reduce PDF size by drag and drop","archived":false,"fork":false,"pushed_at":"2026-05-14T10:20:19.000Z","size":117,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-14T10:26:54.780Z","etag":null,"topics":["desktop-app","drag-and-drop","file-compression","ghostscript","pdf","pdf-compression","pdf-optimizer","pdf-tools","piside6","productivity","python","windows","windows-application"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yann83.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-27T12:47:37.000Z","updated_at":"2026-05-14T10:23:26.000Z","dependencies_parsed_at":"2025-04-28T17:43:22.305Z","dependency_job_id":null,"html_url":"https://github.com/yann83/DragDropPDF","commit_stats":null,"previous_names":["yann83/dragdroppdf"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yann83/DragDropPDF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yann83%2FDragDropPDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yann83%2FDragDropPDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yann83%2FDragDropPDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yann83%2FDragDropPDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yann83","download_url":"https://codeload.github.com/yann83/DragDropPDF/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yann83%2FDragDropPDF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33028203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["desktop-app","drag-and-drop","file-compression","ghostscript","pdf","pdf-compression","pdf-optimizer","pdf-tools","piside6","productivity","python","windows","windows-application"],"created_at":"2026-05-01T16:04:40.887Z","updated_at":"2026-05-14T14:02:04.003Z","avatar_url":"https://github.com/yann83.png","language":"Python","funding_links":["https://www.buymeacoffee.com/yann83"],"categories":[],"sub_categories":[],"readme":"# DragDropPDF\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"github/banner.png\" width=\"720px\" border=\"0\" alt=\"banner\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://github.com/yann83/DragDropPDF/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/yann83/DragDropPDF\" alt=\"Version\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Python-3.10-blue\"\u003e\n\u003c/p\u003e\n\n![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54)\n\nA small gesture, a big support! Buy me a coffee ☕ if you appreciate my work. Thanks in advance!\n\n[![\"Buy Me A Coffee\"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/yann83)\n\n## Licence\n\nAGPL-3.0 licence is needed to add Ghostscript binary to DragDropPdf setup package\n\n## About\n\nLitte program that display a square on your destop, you can drag'n drop pdf files on it to reduce the size. You chan choose between 3 modes and change their settings for your needs.\nIt work with Ghostsript under AGPL-3.0 licence\n\nHere a short presentation :\n\u003cbr\u003e\n\n[![Project demo](github/DragDropPDF.jpg)](https://app.videas.fr/3ed42fc1-4e73-4ce1-ae06-386d6335bea5/)\n\n## Installation\n\nRun the setup\n\n## Use it with python\n\nWork with python 3.10\n\nYou'll need Ghostscript binary (unzip the setup) in `bin` folder\n\n - gsdll64.dll\n - gsdll64.lib\n - gswin64.exe\n - gswin64c.exe\n\n\u003e git clone https://github.com/yann83/DragDropPDF.git\n\n\u003e pip install -r requirements.txt\n\nthen run `interface.py` main\n\n**About Ghostscript** : I use this version : [github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs10050](https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs10050)\n\nDownload `gs10050w64.exe` then extract the `bin` folder content with 7zip for exemple.\n\n\n## How to Use\n\nRight click on on the square\n\n\u003cimg src=\"img/pdflow.jpg\" width=\"80px\" border=\"0\" alt=\"icon\"\u003e\n\nyou can choose between 3 levels of compression :\n\n - HIGH for highest quality\n - LOW for lowest quality\n \n\u003cimg src=\"github/contextmenu.jpg\" width=\"80px\" border=\"0\" alt=\"icon\"\u003e\n\nFrom the contextual menu you can choose the output folder.\n\n## Avanced configuration\n\nyou can edit the config.json file.\n\nYou will find the config.json file in the same location as the `DragDropPDF` executable\n\nHere the default `config.json` content.\n\n`base_args` value is a list with Ghostscript default parameters for all profiles.\u003cbr\u003e\nThen you'll find `high`, `medium` and `low` profiles parameters. Each one have custom [Ghostscript parameters](https://ghostscript.readthedocs.io/en/latest/index.html).\n\n\n\n```json\n{\n  \"path\": \"C:/temp\",\n  \"base_args\": [\n    \"-sDEVICE=pdfwrite\",\n    \"-dNOPAUSE\",\n    \"-dQUIET\",\n    \"-dBATCH\",\n    \"-dCompatibilityLevel=1.4\"\n  ],\n  \"pics\": {\n    \"high\": \"pdf.jpg\",\n    \"medium\": \"pdfmedium.jpg\",\n    \"low\": \"pdflow.jpg\"\n  },\n  \"current\": {\n    \"low\": \"pdflow.jpg\"\n  },\n  \"high\": {\n    \"dPDFSETTINGS\": \"/printer\"\n  },\n  \"medium\": {\n    \"dPDFSETTINGS\": \"/ebook\",\n    \"sColorConversionStrategy\": \"Gray\",\n    \"dProcessColorModel\": \"/DeviceGray\"\n  },\n  \"low\": {\n    \"dPDFSETTINGS\": \"/screen\",\n    \"sColorConversionStrategy\": \"Gray\",\n    \"dProcessColorModel\": \"/DeviceGray\"\n  }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyann83%2Fdragdroppdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyann83%2Fdragdroppdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyann83%2Fdragdroppdf/lists"}