{"id":25759307,"url":"https://github.com/anipalur/night-pdf","last_synced_at":"2026-05-10T20:52:52.315Z","repository":{"id":278519302,"uuid":"935841353","full_name":"anipalur/night-pdf","owner":"anipalur","description":"A simple browser extension that applies a dark theme to your PDF viewer.","archived":false,"fork":false,"pushed_at":"2025-02-20T07:56:13.000Z","size":465,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T08:26:34.614Z","etag":null,"topics":["accessibility","browser-addon","browser-extension","chrome-extension","edge-extension"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anipalur.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-20T05:26:55.000Z","updated_at":"2025-02-20T07:56:16.000Z","dependencies_parsed_at":"2025-02-20T08:36:45.443Z","dependency_job_id":null,"html_url":"https://github.com/anipalur/night-pdf","commit_stats":null,"previous_names":["anipalur/night-pdf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anipalur%2Fnight-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anipalur%2Fnight-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anipalur%2Fnight-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anipalur%2Fnight-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anipalur","download_url":"https://codeload.github.com/anipalur/night-pdf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240901289,"owners_count":19875677,"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":["accessibility","browser-addon","browser-extension","chrome-extension","edge-extension"],"created_at":"2025-02-26T17:29:13.164Z","updated_at":"2026-05-10T20:52:47.293Z","avatar_url":"https://github.com/anipalur.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Night PDF\n\nThis repository hosts the source code for the Night PDF extension, a simple browser extension that applies a dark theme to your PDF viewer.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"res/cover-image.png\" width=\"75%\" alt=\"The Night PDF cover image.\" /\u003e\n\u003c/p\u003e\n\nThis extension is a fork of [PDF Dark Theme][pdf-dark-theme-link] by [Chris Straka][chris-straka-link] with some extra functionality, specifically:\n\n- Toggling between multiple dark themes by clicking the extension icon\n- Works on local and online PDFs\n\n## Using and Customising the Extension\n\nTo use the extension, [download and install the extension](https://dev.to/ben/how-to-install-chrome-extensions-manually-from-github-1612 \"Learn how to download and install extensions from GitHub.\")\nusing Developer Mode (this extension is not available via the Chrome Web Store or other extension websites). Refresh any open tabs after installing the extension.\n\nTo customise the dark themes, simply modify the [colours in the `backgroundColours` array](https://github.com/anipalur/night-pdf/blob/main/content-script.js#L10 \"View the colours in the backgroundColours array.\") in content-script.js.\n\n## Attribution\n\n- Thank you to [Chris Straka][chris-straka-link] for his original [PDF Dark Theme][pdf-dark-theme-link] extension!\n- Thank you to [Tabler Icons](https://tabler.io/icons \"Learn more about Tabler Icons.\") for the Night PDF icon!\n- Thank you to [File Examples](https://file-examples.com \"Learn more about File Examples.\") for the sample PDF shown in the cover image.\n\n## Licences\n\n\u003cimg src=\"res/gpl-v3-logo.png\" width=\"128px\" alt=\"The GPLv3 logo.\" /\u003e\n\n**Copyright \u0026copy; 2025 Anitej Palur**  \nThe source code for this extension is licensed under a [GNU GPLv3 License](https://www.gnu.org/licenses/gpl-3.0.html \"Learn more about the GNU GPLv3 License.\").\n\nSee [LICENSE](/LICENSE \"View the LICENSE file.\") for more information.\n\n[pdf-dark-theme-link]: https://github.com/chris-straka/pdf-dark-theme \"View the PDF Dark Theme GitHub repository.\"\n[chris-straka-link]: https://cstraka.dev \"Learn more about Chris Straka.\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanipalur%2Fnight-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanipalur%2Fnight-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanipalur%2Fnight-pdf/lists"}