← All projects
Project record1 mention
Originally shared on Hacker News

Lampka

Lampka is a PDF reader for Windows 10/11 aimed at long documents such as papers, theses, and reports. Its dark mode renders each page twice with PDFium: the second copy keeps only images and vividly coloured shapes as a pixel mask, everything outside the mask is recoloured by brightness, so pictures keep their original colours, full-page scans are recoloured like text, and already light-on-dark pages are left alone. Features include configurable colour and brightness themes, session progress saving including read-aloud sessions, exportable bookmarks, highlights and notes, hover previews of citations and figure references, split view of the same document, offline read-aloud with Windows' voices following sentence by sentence, a reading ruler, and remembering your place by the file's contents. It works offline without an account, never changes the PDFs, and is built in Python with PySide6 and pypdfium2, compiled with Nuitka and code-signed.

Last shared For People working with long documents such as papers, theses, and reports.
01 / The problem

What it addresses

Existing PDF readers' dark modes invert the whole page, turning photos and charts into negatives, and no free or paid alternative the submitter tried met their needs for working with long documents.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Lampka

    Lampka is a PDF reader for Windows 10/11 aimed at long documents such as papers, theses, and reports. Its dark mode renders each page twice with PDFium: the second copy keeps only images and vividly coloured shapes as a pixel mask, everything outside the mask is recoloured by brightness, so pictures keep their original colours, full-page scans are recoloured like text, and already light-on-dark pages are left alone. Features include configurable colour and brightness themes, session progress saving including read-aloud sessions, exportable bookmarks, highlights and notes, hover previews of citations and figure references, split view of the same document, offline read-aloud with Windows' voices following sentence by sentence, a reading ruler, and remembering your place by the file's contents. It works offline without an account, never changes the PDFs, and is built in Python with PySide6 and pypdfium2, compiled with Nuitka and code-signed.

    Problem: Existing PDF readers' dark modes invert the whole page, turning photos and charts into negatives, and no free or paid alternative the submitter tried met their needs for working with long documents.

    Audience: People working with long documents such as papers, theses, and reports.

    Posted by @NightPageReader · Original source ↗

    Story title · @NightPageReader · · Source ↗

    Show HN: Lampka – a Windows PDF reader whose dark mode keeps figures in colour

    Submitted URL · @NightPageReader · · Source ↗

    https://lampka.app/

    Source text · @NightPageReader · · Source ↗

    Hi HN, I made Lampka, a PDF reader for Windows aimed at long documents: papers, theses, reports.

    Source text · @NightPageReader · · Source ↗

    Most PDF readers invert the whole page, which turns photos and charts into negatives. Lampka renders the page twice with PDFium. In the second copy it strips out everything except images and vividly coloured shapes, which gives a pixel mask of what the pictures paint. Everything outside that mask is recoloured by brightness, so paper becomes the theme's background and ink becomes the text colour. The pictures stay in their original colours. Full-page scans are recoloured like text, so scanned books still go dark, and pages that are designed light-on-dark are left alone.

    Source text · @NightPageReader · · Source ↗

    1. configurable colour and brightness themes, 2. saving the progress of my sessions, even read-aloud sessions, 3. bookmarks, highlights and notes that are easy to export, 4. all of it easy to configure through a friendly UI, 5. and, not a technical one, friendly and responsive support that listens to feedback.

    Source text · @NightPageReader · · Source ↗

    - Hover a citation or figure reference to preview where it goes; click, and Back brings you home. - Split view of the same document. - Read aloud with Windows' own voices, offline, following sentence by sentence. - A reading ruler. - It remembers your place by the file's contents, so renaming or moving a PDF doesn't lose it.

    Source text · @NightPageReader · · Source ↗

    It works offline and doesn't need an account, so your documents stay on your computer. It never changes your PDFs.

    Source text · @NightPageReader · · Source ↗

    It's built in Python with PySide6 (Qt), and PDFium through pypdfium2 does the rendering. It's compiled with Nuitka and code-signed.

    Source text · @NightPageReader · · Source ↗

    Windows 10/11 only for now; a Mac build exists but isn't released yet.

    Source text · @NightPageReader · · Source ↗

    The free and even paid alternatives I tried never fully met my needs.

    Source text · @NightPageReader · · Source ↗

    a PDF reader for Windows aimed at long documents: papers, theses, reports

    Source text · @NightPageReader · · Source ↗

    the study tools (previews, split view, read aloud, highlights) become a one-time £29