{"id":40585117,"url":"https://github.com/hkdb/densify","last_synced_at":"2026-02-02T08:46:42.638Z","repository":{"id":129321846,"uuid":"133159587","full_name":"hkdb/Densify","owner":"hkdb","description":"A GTK+ GUI Application written in Python that simplifies compressing PDF files with Ghostscript","archived":false,"fork":false,"pushed_at":"2024-06-26T08:40:51.000Z","size":567,"stargazers_count":86,"open_issues_count":4,"forks_count":24,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-26T10:14:19.041Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/hkdb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-05-12T15:40:40.000Z","updated_at":"2024-06-24T10:22:46.000Z","dependencies_parsed_at":"2024-06-26T10:10:04.009Z","dependency_job_id":"8b8e53c0-0717-4148-8726-9a889da93f6f","html_url":"https://github.com/hkdb/Densify","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/hkdb/Densify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkdb%2FDensify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkdb%2FDensify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkdb%2FDensify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkdb%2FDensify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hkdb","download_url":"https://codeload.github.com/hkdb/Densify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkdb%2FDensify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28624341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T02:47:06.670Z","status":"ssl_error","status_checked_at":"2026-01-21T02:45:44.886Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-21T03:02:57.377Z","updated_at":"2026-02-02T08:46:42.631Z","avatar_url":"https://github.com/hkdb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Densify\n**maintained by:** hkdb \\\u003c\u003chkdb@3df.io\u003e\\\u003e\u003cbr /\u003e\n\n## Description\n\nA GTK GUI Application written in Python that simplifies compressing PDF files with Ghostscript\n\n## Screenshot\n\n![Screenshot](docs/ss.png)\n\n## Under the Hood\n\nIt essentially takes your GUI input and turns it into the following Ghostscript command:\n\n```\ngs -sDEVICE=pdfwrite -dCompatibilityLevel=1.6 -dPDFSETTINGS=/ebook\n-dNOPAUSE -dQUIET -dBATCH -sOutputFile=[compressed.pdf]\n\"[input.pdf]\"\n```\n\n## Installation\n\nMake sure you install the dependencies like `notify-send` and `ghostscript`.\n\nYou can then either download the latest AppImage(amd64 only) from the release page or follow the below steps.\n\nStep 1:\n\nClone Densify:\n```\ngit clone https://github.com/hkdb/Densify.git\n```\nor download the tarball from the release page and untar.\n\nStep 2:\n\nGo into the repo dir and execute the install.sh script from within the downloaded Densify directory to install this application:\n\n```\ncd Densify  # Or if release tarball: cd Densify-\u003cversion\u003e\nsudo ./install.sh\n```\nEnter your sudo password when the dialog pops up.\n\nYou should then see this:\n\n```\nhkdb@machine:/opt/Densify$ sudo ./install.sh\nInstallation Complete. You are good to go! :)\nhkdb@machine:/opt/Densify$\n```\n\nNow, you can search for \"densify\" in Gnome Shell Search and you will see that Densify is available to launch. Enjoy!\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## Disclaimer\n\nThis application is maintained by volunteers and in no way do the maintainers make any guarantees. Please use at your own risk!\n\n## Recognition\n\nMany thanks to Anthony Wong and Koala Yeung for talking me through this and Dr. Haggen So for sharing the following link that inspired me to write this application:\n\nhttps://www.tjansson.dk/2012/04/compressing-pdfs-using-ghostscript-under-linux/\n\nThis is an application utility sponsored by 3DF Limited's Open Source Initiative.\n\nTo Learn more please visit:\n\nhttps://osi.3df.io\n\nhttps://www.3df.com.hk\n\n## Want a CLI alternative instead?\n\nCheck out [cPDF](https://github.com/hkdb/cpdf), a Python script to simplify compress PDF file size with GhostScript\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhkdb%2Fdensify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhkdb%2Fdensify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhkdb%2Fdensify/lists"}