{"id":15038546,"url":"https://github.com/agentcooper/react-pdf-highlighter","last_synced_at":"2025-05-13T19:03:56.907Z","repository":{"id":26962708,"uuid":"112029525","full_name":"agentcooper/react-pdf-highlighter","owner":"agentcooper","description":"Set of React components for PDF annotation","archived":false,"fork":false,"pushed_at":"2024-11-22T15:38:45.000Z","size":15077,"stargazers_count":1233,"open_issues_count":38,"forks_count":473,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-05-11T14:03:29.791Z","etag":null,"topics":["annotator","highlighting","pdf","pdf-viewer","react"],"latest_commit_sha":null,"homepage":"https://agentcooper.github.io/react-pdf-highlighter/","language":"TypeScript","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/agentcooper.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":"2017-11-25T19:36:50.000Z","updated_at":"2025-05-09T05:26:28.000Z","dependencies_parsed_at":"2024-06-18T13:35:25.445Z","dependency_job_id":"5e68195c-137a-4d62-a05a-a4d489d1b860","html_url":"https://github.com/agentcooper/react-pdf-highlighter","commit_stats":{"total_commits":212,"total_committers":28,"mean_commits":7.571428571428571,"dds":0.5518867924528301,"last_synced_commit":"4a65c282a76915d4ff3e53d11be15b8b56d50ffe"},"previous_names":["agentcooper/react-pdf-annotator"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Freact-pdf-highlighter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Freact-pdf-highlighter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Freact-pdf-highlighter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Freact-pdf-highlighter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agentcooper","download_url":"https://codeload.github.com/agentcooper/react-pdf-highlighter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254010793,"owners_count":21998993,"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":["annotator","highlighting","pdf","pdf-viewer","react"],"created_at":"2024-09-24T20:38:50.279Z","updated_at":"2025-05-13T19:03:56.889Z","avatar_url":"https://github.com/agentcooper.png","language":"TypeScript","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=SC4D2NS8G2JJ8\u0026source=url"],"categories":["TypeScript","Readers and viewers"],"sub_categories":[],"readme":"☕️ [Buy me a coffee](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=SC4D2NS8G2JJ8\u0026source=url)\n\n![Node CI](https://github.com/agentcooper/react-pdf-highlighter/workflows/Node%20CI/badge.svg)\n\n# react-pdf-highlighter\n\nSet of React components for PDF annotation.\n\nFeatures:\n\n- Built on top of PDF.js\n- Text and image highlights\n- Popover text for highlights\n- Scroll to highlights\n\n## Importing CSS\n\nThe bundled CSS include the CSS for pdfjs.\n\n```tsx\nimport \"react-pdf-highlighter/dist/style.css\";\n```\n\n## Example\n\nSee demo https://agentcooper.github.io/react-pdf-highlighter/.\n\nTo run the example app locally:\n\n```bash\nnpm install\nnpm start\n```\n\n## Install\n\n```bash\nnpm install react-pdf-highlighter\n```\n\n## How to use\n\nSee [`./example/src/App.tsx`](https://github.com/agentcooper/react-pdf-highlighter/blob/main/example/src/App.tsx) for the React component API example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentcooper%2Freact-pdf-highlighter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagentcooper%2Freact-pdf-highlighter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentcooper%2Freact-pdf-highlighter/lists"}