Hacker GitHub

← All repos

GrapheneOS/PdfViewer

View on GitHub ↗ ★ 1,066 Kotlin

Simple Android PDF viewer based on pdf.js and content providers. The app doesn't require any permissions. The PDF stream is fed into the sandboxed WebView without giving it access to content or files. CSP is used to enforce that the JavaScript and styling properties within the WebView are entirely static.

3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2023-10-24 · latest 2026-06-17

Mentions per year 3 mentions · busiest year 2023 (1)
20082026
  1. …is the GrapheneOS Pdf Viewer [1]. It's readme has a pretty good explanation of how it works. 1: https://github.com/GrapheneOS/PdfViewer
    comment by flexagoon · 2024-02-01 · in Making a PDF that's larger than Germany
  2. https://github.com/GrapheneOS/PdfViewer
    comment by DANmode · 2023-10-24 · in SumatraPDF Reader