# afreakyelf/Pdf-Viewer

A Lightweight PDF Viewer Android library which only occupies around 80kb while most of the Pdf viewer occupies up to 16MB space.

Repository: https://github.com/afreakyelf/Pdf-Viewer
Canonical: https://ross.abutalabs.com/products/pdf-viewer
Homepage: https://afreakyelf.github.io/Pdf-Viewer/
Language: Kotlin
License: MIT
License Family: permissive
Topics: android, android-application, androidsdk, library, pdf, pdfviewer, kotlin, android-pdf, android-pdfviewer, small-size-pdfviewer, lightweight-pdf-viewer-android, androidpdfviewer, pdf-viewer, jetpack-components, jetpack-compose, jetpackcompose
Last push: 2026-03-17T06:00:42+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 72, release rhythm 75, longevity 100
- inputs: {"age_days": 2244, "days_push": 169, "days_rel": 170, "gap_med": 7, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1193, forks 241 (observed 2026-08-28T04:03:56.518691+00:00)

## What it is
A lightweight Android PDF viewer library written in Kotlin that occupies only around 80kb, far smaller than typical PDF viewers. It supports both XML views and Jetpack Compose, with features like orientation-preserving page position, caching, and screenshot prevention.

## Use cases
- display pdf files inside an android app
- render pdfs from url or local storage in jetpack compose
- lightweight pdf viewer with small apk impact
- show pdf documents with orientation change support
- block screenshots of sensitive pdf content
- open on-device pdf files with modern permission handling

## When to choose
- you need PDF viewing in an Android app without adding megabytes of dependencies
- your project uses Jetpack Compose and wants a simple composable PDF renderer
- you need small, actively maintained PDF rendering with privacy features like screenshot blocking

## When to avoid
- you need advanced PDF editing, annotation, or form-filling capabilities
- you target platforms other than Android
- you need cross-platform PDF rendering shared with iOS or web

## Facets
- artifact type: library
- maturity: active
- function: pdf-viewer, ui-components
- domain: pdf, mobile-development, android-tools
- platform: jvm
- tags: jetpack-compose, lightweight, pdf-rendering, android-library, small-footprint, android

## Member repositories
- afreakyelf/Pdf-Viewer (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:56.518691+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:13.069383+00:00, confidence not recorded.
  - readme: https://github.com/afreakyelf/Pdf-Viewer (fetched 2026-08-28T04:03:56.518691+00:00, sha b760e3e27acb)
  - homepage: https://afreakyelf.github.io/Pdf-Viewer/ (fetched 2026-08-29T12:29:21.824079+00:00, sha 28084027e4f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
