{"id":14036104,"url":"https://github.com/RaffaeleMorganti/pdf-viewer","last_synced_at":"2025-07-27T03:31:24.326Z","repository":{"id":53836357,"uuid":"150769871","full_name":"RaffaeleMorganti/pdf-viewer","owner":"RaffaeleMorganti","description":"PDFjs with flipbook integration (using turnjs4)","archived":false,"fork":false,"pushed_at":"2022-07-20T18:05:50.000Z","size":4109,"stargazers_count":177,"open_issues_count":13,"forks_count":76,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-02T15:47:00.000Z","etag":null,"topics":["flipbook","pdf","pdf-flipbook","pdf-reader","pdf-viewer","pdfjs","turnjs"],"latest_commit_sha":null,"homepage":"https://raffaelemorganti.github.io/pdf-viewer","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/RaffaeleMorganti.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}},"created_at":"2018-09-28T16:52:54.000Z","updated_at":"2024-11-23T08:06:23.000Z","dependencies_parsed_at":"2022-08-22T11:31:32.703Z","dependency_job_id":null,"html_url":"https://github.com/RaffaeleMorganti/pdf-viewer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/RaffaeleMorganti/pdf-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaffaeleMorganti%2Fpdf-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaffaeleMorganti%2Fpdf-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaffaeleMorganti%2Fpdf-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaffaeleMorganti%2Fpdf-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaffaeleMorganti","download_url":"https://codeload.github.com/RaffaeleMorganti/pdf-viewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaffaeleMorganti%2Fpdf-viewer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267294180,"owners_count":24065343,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["flipbook","pdf","pdf-flipbook","pdf-reader","pdf-viewer","pdfjs","turnjs"],"created_at":"2024-08-12T03:01:50.243Z","updated_at":"2025-07-27T03:31:22.836Z","avatar_url":"https://github.com/RaffaeleMorganti.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# PDF Viewer\nPDF viewer with flip-book interface integration to allow read files flipping pages like a book.\n\n## Info\nThis is a web viewer written in javascript with no external dependencies. It works with almost every browser.\n\nTry it now [HERE](https://raffaelemorganti.github.io/pdf-viewer/)\n\n## Requirements\nDespite no external dependencies in order to build this project some external script are included:\n\n* jQuery 3.4.1 downloaded [here](https://jquery.com/download/).\n* PDF.js 2.1.266 downloaded [here](https://mozilla.github.io/pdf.js/getting_started/#download).\n* turn.js 4.1.0 downloaded [here](http://www.turnjs.com/).\n\n## Develop\nIf you want to add features feel free to make a PR.\nTo help you to understand how it works here a list of modified files in order to accomplish this result:\n\n| Type | Path | Files |\n| --- | --- | --- |\n| JS |  ./external/pdfjs/ | viewer.js  |\n| HTML | ./external/pdfjs/ | index.html |\n| ALL | ./pdf-turn/ | ***NEW*** |\n\n\nAny change in files not listed as NEW is marked with a `$FB:` comment. Files listed as NEW are build to accomplish final result.\nOther files come directly from specified source without any edit. External libraries files not used were deleted to make the source slimmer and clearer.\n\n## Known problems\n* __Book Flip__ texts are not included in PDF.js locales, so are not translated to the user language. In order to solve this you should go in _'pdfjs/locale/YOUR_LANG'_ and add to the _'viewer.properties'_ file following lines:\n```\nbook_flip.title = Flip pages like a book\nbook_flip_label = Flip book\n```\n* If you find any other bug open a new Issue\n\n## License\nThis project is released under [MIT License](https://github.com/RaffaeleMorganti/pdf-viewer/blob/master/LICENSE) however some code come from external with following licenses:\n\n* jQuery released under [MIT License](https://github.com/jquery/jquery/blob/master/LICENSE.txt)\n* PDF.js released under [Apache License](https://github.com/mozilla/pdf.js/blob/master/LICENSE)\n* turn.js released under [BSD License](https://github.com/blasten/turn.js/blob/master/license.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRaffaeleMorganti%2Fpdf-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRaffaeleMorganti%2Fpdf-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRaffaeleMorganti%2Fpdf-viewer/lists"}