{"id":13736935,"url":"https://github.com/SufficientlySecure/document-viewer","last_synced_at":"2025-05-08T13:32:04.908Z","repository":{"id":9307764,"uuid":"11147391","full_name":"SufficientlySecure/document-viewer","owner":"SufficientlySecure","description":"Document Viewer is a highly customizable document viewer for Android.","archived":false,"fork":false,"pushed_at":"2020-12-27T07:28:37.000Z","size":43631,"stargazers_count":517,"open_issues_count":125,"forks_count":155,"subscribers_count":44,"default_branch":"master","last_synced_at":"2024-08-04T03:07:38.227Z","etag":null,"topics":["android","pdf","pdf-viewer"],"latest_commit_sha":null,"homepage":"","language":"Java","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/SufficientlySecure.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":"2013-07-03T10:05:08.000Z","updated_at":"2024-07-21T23:05:16.000Z","dependencies_parsed_at":"2022-08-07T05:00:50.394Z","dependency_job_id":null,"html_url":"https://github.com/SufficientlySecure/document-viewer","commit_stats":null,"previous_names":["privacyapps/document-viewer"],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SufficientlySecure%2Fdocument-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SufficientlySecure%2Fdocument-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SufficientlySecure%2Fdocument-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SufficientlySecure%2Fdocument-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SufficientlySecure","download_url":"https://codeload.github.com/SufficientlySecure/document-viewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224737431,"owners_count":17361345,"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":["android","pdf","pdf-viewer"],"created_at":"2024-08-03T03:01:31.919Z","updated_at":"2024-11-15T05:30:55.362Z","avatar_url":"https://github.com/SufficientlySecure.png","language":"Java","funding_links":[],"categories":["Document viewers"],"sub_categories":["Metadata removal"],"readme":"# Document Viewer\n\n[\u003cimg src=\"https://f-droid.org/badge/get-it-on.png\"\n      alt=\"Get it on F-Droid\"\n      height=\"80\"\u003e](https://f-droid.org/app/org.sufficientlysecure.viewer)\n\nDocument Viewer is a highly customizable document viewer for Android.\n\nSupports the following formats:\n* PDF\n* DjVu\n* EPUB\n* XPS (OpenXPS)\n* CBZ (Comic Books, no support for rar compressed CBR)\n* FictionBook (fb2)\n\nCollaboration with electronic publication sites and access to online ebook catalogs is allowed by the supported OPDS protocol.\n\nFAQ, information about supported MIME types, and available Intents can be found in the [Wiki](https://github.com/dschuermann/document-viewer/wiki).\n\n## [Changelog](https://raw.githubusercontent.com/SufficientlySecure/document-viewer/HEAD/document-viewer/src/main/assets/about/en/changelog.wiki)\n\n## Development\n\nDocument Viewer is a fork of the last GPL version of EBookDroid (http://code.google.com/p/ebookdroid/).\n\nWe need your support to fix outstanding bugs, join development by forking the project!\n\n## Building\n\n**NOTE: NDK r14b fails to compile DV - use r15 or r13b. (See [#245](https://github.com/SufficientlySecure/document-viewer/issues/245))**\n\n### Build with Gradle\n\n1. Have Android SDK \"tools\", \"platform-tools\", and \"build-tools\" directories in your PATH (http://developer.android.com/sdk/index.html)\n2. Open the Android SDK Manager (shell command: ``android``).  \nExpand the Tools directory and select \"Android SDK Build-tools\" newest version.  \nExpand the Extras directory and install \"Android Support Repository\"  \nSelect everything for the newest SDK\n3. Export ANDROID_HOME pointing to your Android SDK\n5. Pull in submodules with ``./init.sh``\n5. Build native libraries with ``cd document-viewer; ndk-build``\n6. Execute ``./gradlew build``\n\n### NDK Debugging\n\n1. ``cd document-viewer; ndk-build -j8 NDK_DEBUG=1``\n2. From Android Studio: Run -\u003e Debug... to build and install the APK and launch it on the device. \n3. ``cp src/main/AndroidManifest.xml . # Hack required for ndk-gdb to find everything``\n4. ``ndk-gdb``\n\n### Development with Android Studio\n\nI am using the newest [Android Studio](http://developer.android.com/sdk/installing/studio.html) for development. Development with Eclipse is currently not possible because I am using the new [project structure](http://developer.android.com/sdk/installing/studio-tips.html).\n\n1. Clone the project from github\n2. From Android Studio: File -\u003e Import Project -\u003e Select the cloned top folder\n3. Import project from external model -\u003e choose Gradle\n\n## Font Pack\n\nThe [Document Viewer Fontpack](https://github.com/PrivacyApps/document-viewer-fontpack) is no longer supported. Our MuPDF patches to support this no longer apply cleanly, so support for the font pack was dropped.\n\n# Licenses\nDocument Viewer is licensed under the GPLv3+.  \nThe file LICENSE includes the full license text.\n\n## Details\nDocument Viewer is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nDocument Viewer is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with Document Viewer.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n## Java Libraries\n* JCIFS  \n  http://jcifs.samba.org/  \n  LGPL v2.1\n\n* Color Picker by Daniel Nilsson  \n  http://code.google.com/p/color-picker-view/  \n  Apache License v2\n\n## C Libraries\n\n* MuPDF - a lightweight PDF, EPUB, CBZ and XPS viewer   \n  http://www.mupdf.com/  \n  AGPLv3+\n\n* djvu - a lightweight DJVU viewer based on DjVuLibre  \n  http://djvu.sourceforge.net/  \n  GPLv2\n    \n## Images\n\n* application_icon.svg  \n  http://rrze-icon-set.berlios.de/  \n  Creative Commons Attribution Share-Alike licence 3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSufficientlySecure%2Fdocument-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSufficientlySecure%2Fdocument-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSufficientlySecure%2Fdocument-viewer/lists"}