{"id":13826745,"url":"https://github.com/JustinTheWhale/PDF-Dark-Mode","last_synced_at":"2025-07-09T01:31:19.557Z","repository":{"id":40452408,"uuid":"194550260","full_name":"JustinTheWhale/PDF-Dark-Mode","owner":"JustinTheWhale","description":"Converts PDF's to have a grey background to be easier on the eyes","archived":false,"fork":false,"pushed_at":"2024-07-16T06:43:32.000Z","size":79849,"stargazers_count":16,"open_issues_count":12,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-18T16:49:23.889Z","etag":null,"topics":["converter","linux","macos","numba","pdf","pdf-converter","pdf-document","pdf-document-processor","pillow","poppler","python","python3","python310","python36","python37","python38","python39","windows"],"latest_commit_sha":null,"homepage":"","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/JustinTheWhale.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":"2019-06-30T18:52:16.000Z","updated_at":"2024-08-09T22:39:16.000Z","dependencies_parsed_at":"2024-06-12T17:41:13.419Z","dependency_job_id":null,"html_url":"https://github.com/JustinTheWhale/PDF-Dark-Mode","commit_stats":{"total_commits":86,"total_committers":5,"mean_commits":17.2,"dds":0.4767441860465116,"last_synced_commit":"aded2b2cb629d2f73b097a3b543876e706e605f3"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustinTheWhale%2FPDF-Dark-Mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustinTheWhale%2FPDF-Dark-Mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustinTheWhale%2FPDF-Dark-Mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustinTheWhale%2FPDF-Dark-Mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JustinTheWhale","download_url":"https://codeload.github.com/JustinTheWhale/PDF-Dark-Mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476383,"owners_count":17480215,"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":["converter","linux","macos","numba","pdf","pdf-converter","pdf-document","pdf-document-processor","pillow","poppler","python","python3","python310","python36","python37","python38","python39","windows"],"created_at":"2024-08-04T09:01:43.451Z","updated_at":"2024-11-20T05:31:03.662Z","avatar_url":"https://github.com/JustinTheWhale.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# PDF Dark Mode\n\n## About \n\n### [Pypi page](https://pypi.org/project/PdfDarkMode/)\n\n### _*NOTE:*_ This project is going under significant changes! Stay tuned for updates!\n\n#### Python program that converts the white-space in PDF files to have a grey background.\n#### Works best with non-handwritten PDF's and PDF's without any images.\n\n#### Tested and working on Python 3.6+.\n\n## Installation \n### Windows\n- #### Requires [poppler-windows](https://https://github.com/oschwartz10612/poppler-windows) \u003e= v20.12.1. It should work with older versions too but I haven't gone through and tested each one.\n- #### Download [poppler for Windows from here.](https://https://github.com/oschwartz10612/poppler-windows/releases/tag/v22.04.0-0)\n\n### macOS\n* #### Mac users will have to install poppler for Mac. You can do so with this [homebrew formula.](https://formulae.brew.sh/formula/poppler)\n\n### Linux\n* #### Most linux distros already have ```pdftoppm``` installed. If not, you can check your package manager on how to install ```poppler-utils```.\n\n### Then\n### _*Using pip*_\n* #### ``` pip install PdfDarkMode ```\n### _*Or*_\n* #### ``` git clone https://github.com/JustinTheWhale/PDF-Dark-Mode.git ```\n* #### ``` cd PDF-Dark-Mode ```\n* #### ``` pip install -r requirements.txt ```\n\n\n## Usage\n```python\nfrom PdfDarkMode.darkmode import convert\n\nconvert(\"example.pdf\")\n```\n\n#### Additionally, you can pass a list of PDF files instead of just one string like so: \n\n```python\n\nfrom PdfDarkMode.darkmode import convert\n\nconvert([\"example.pdf\", \"example2.pdf\", ...])\n```\n\n#### You can also run it directly from the command line:\n\n```python darkmode.py example.pdf example2.pdf ...```\n\n## Example\n\u003cimg src=\"examples/example_input.png\"\u003e\n\u003cimg src=\"examples/example_output.png\"\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJustinTheWhale%2FPDF-Dark-Mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJustinTheWhale%2FPDF-Dark-Mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJustinTheWhale%2FPDF-Dark-Mode/lists"}