{"id":15374647,"url":"https://github.com/nktnet1/pdfoxjs","last_synced_at":"2026-01-17T01:56:51.278Z","repository":{"id":209260380,"uuid":"717911424","full_name":"nktnet1/pdfoxjs","owner":"nktnet1","description":"View and edit PDF documents with customisable VIM keyboard shortcuts","archived":false,"fork":false,"pushed_at":"2026-01-12T14:00:28.000Z","size":10252,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T19:57:52.254Z","etag":null,"topics":["pdf-annotator","pdf-editor","pdf-viewer","pdfjs","pdfjs-viewer","vim"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/nktnet1.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":"2023-11-13T00:27:07.000Z","updated_at":"2026-01-12T14:00:30.000Z","dependencies_parsed_at":"2024-04-02T17:36:15.162Z","dependency_job_id":"b4583c68-c7e9-4ca6-82cd-03f39b3765fe","html_url":"https://github.com/nktnet1/pdfoxjs","commit_stats":null,"previous_names":["nktnet1/pdfoxjs"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/nktnet1/pdfoxjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktnet1%2Fpdfoxjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktnet1%2Fpdfoxjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktnet1%2Fpdfoxjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktnet1%2Fpdfoxjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nktnet1","download_url":"https://codeload.github.com/nktnet1/pdfoxjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktnet1%2Fpdfoxjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28491911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"ssl_error","status_checked_at":"2026-01-17T00:43:11.982Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["pdf-annotator","pdf-editor","pdf-viewer","pdfjs","pdfjs-viewer","vim"],"created_at":"2024-10-01T13:59:19.903Z","updated_at":"2026-01-17T01:56:51.267Z","avatar_url":"https://github.com/nktnet1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pdfoxjs\n\n\u003e View and edit PDF documents with customisable VIM keyboard shortcuts\n\nCross-platform electron wrapper around Mozilla's [pdf.js](https://mozilla.github.io/pdf.js).\n\nSupport features present in the [pdf.js v5.4.530](https://github.com/mozilla/pdf.js/releases/tag/v5.4.530) release.\n\n## Installation\n\nSee the latest release at\n- https://github.com/nktnet1/pdfoxjs/releases/latest\n\n| Operating System | File Extension | Example (vX.X.X) |\n|-|-|-|\n| Linux  | AppImage | pdfoxjs-X.X.X.AppImage |\n| MacOS  | dmg  | pdfoxjs-X.X.X.dmg  |\n| Windows  | exe  | pdfoxjs-Setup-X.X.X.exe  |\n\n## Features\n\nPlease refer to the original documentation of [pdf.js](https://github.com/mozilla/pdf.js). There is also a demo for modern browsers released by Mozilla [here](https://mozilla.github.io/pdf.js/web/viewer.html).\n\n![Tools View](public/help.png)\n\n### Toolbar\n- Toggle Sidebar\n- Find in Document (Search)\n- Page Selection\n- Zoom\n- Open File\n- Print\n- Save (Download)\n    - This Includes Text, Drawing/Annotation, Filled Form Inputs, and Inserted Images\n    - Page Rotations Are Not Saved\n- Insert Text\n- Draw (Annotate)\n- Add/Edit Images\n- Tools\n    - Presentation Mode\n    - Go to First Page\n    - Go to Last Page\n    - Rotate Clockwise\n    - Rotate Counterclockwise\n    - Text Selection Tool\n    - Hand Selection Tool\n    - Page Scrolling\n    - Vertically Scrolling\n    - Horizontal Scrolling\n    - Wrapped Scrolling\n    - No Spread\n    - Odd Spread\n    - Even Spread\n\n### Sidebar\n- Show Thumbnails\n- Show Document Outline\n- Show Attachments\n- Show Layers\n\n### Viewer\n- Select Text\n    - Copy\n    - Search with Google\n    - Inspect (only in development mode)\n- Open Links (will open a new tab in your default browser)\n- Fill Forms\n    - `\u003cTAB\u003e` and `\u003cSHIFT-TAB\u003e` to navigate forward and backward between form inputs\n    - `\u003cSPACE\u003e` inside checkbox to toggle selection\n    - `\u003cENTER\u003e` in multi-lines input box for new lines\n\n### Example PDF\n\nThe file [public/demo.pdf](public/demo.pdf) is a good playground to showcase the features from the viewer.\n\nIt is a merged PDF from the following sources:\n- Form: https://royalegroupnyc.com/wp-content/uploads/seating_areas/sample_pdf.pdf\n- Layer: https://www.pdfill.com/example/pdf_layer_new.pdf\n- Attachment: https://demos.devexpress.com/OfficeFileAPI/ASP/ContentManipulation/PdfFileAttachment.aspx\n\nBy default, you can use the double quotation marks key (`\"`, i.e. `SHIFT` + `'`) to load this document.\n\n### Configuration\n\nSee [public/default.json](public/default.json) for an example configuration file. This will contain all defined functions and corresponding settings.\n\nOn the initial launch, the default configuration will be copied to the directory `userConfig/config.json`, which will be within [Electron app's userData directory](https://www.electronjs.org/docs/latest/api/app#appgetpathname).\n\nOn Linux, for a particular `username`, this could be one of:\n```\n/home/username/.config/pdfoxjs/userConfig/config.json\n/home/username/.pdfoxjs/userConfig/config.json\n```\ndepending on how your [XDG_CONFIG_HOME](https://wiki.archlinux.org/title/XDG_Base_Directory#User_directories) is defined.\n\nOn MacOS, it will be\n```\n~/Library/Application Support/pdfoxjs/userConfig/config.json\n```\n\nOn Windows, it will be\n```\n%APPDATA%\\pdfoxjs\\userConfig\\config.json\n```\n\n## Project Setup (Development)\n\n### Setup\n\n```bash\n$ pnpm install\n```\n\n### Development\n\n```bash\n# Transpile and run an electron app\n$ pnpm start\n\n# Simple express server on localhost\n$ pnpm dev\n```\n\n### Build\n\n```bash\n# For Windows\n$ pnpm build:win\n\n# For MacOS\n$ pnpm build:mac\n\n# For Linux\n$ pnpm build:linux\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnktnet1%2Fpdfoxjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnktnet1%2Fpdfoxjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnktnet1%2Fpdfoxjs/lists"}