zpdf
A PDF text extraction library written in Zig that focuses on speed and low memory copying. It is at an early alpha stage and is used to pull text out of PDF files.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
Share on XLicense: CC0-1.0
Overview
zpdf is a PDF text extraction library written in Zig. It reads files through memory mapping and avoids copying data where possible, and it extracts text in a streaming way with arena allocation. It handles several compression filters and font encodings, parses cross-reference tables and streams, and can read the structure tree of tagged PDFs. The README labels it an early alpha version.
Key features
- Memory-mapped, zero-copy reading where possible
- Supports FlateDecode, ASCII85, ASCIIHex, LZW and RunLength filters
- Handles WinAnsi, MacRoman and ToUnicode font encodings
- Structure tree extraction and Markdown export for structured PDFs
- Strict or permissive error handling
Best for
Zig developers who need fast text extraction from PDFs. It is at an early alpha stage, so expect gaps.
- Upstream
- Lulzx/zpdf
- Fork on GitHub
- Guo-astro/zpdf
- Upstream stars
- 924
- Category
- Documents, media and content
- Language
- Zig
- License
- CC0-1.0
- Forked
- 2025-12-31
- Sync status
- In syncLast synced 2026-11-08
More in Documents, media and content
LuxTTS is a lightweight text-to-speech model for cloning a voice from reference audio and generating clear 48 kHz speech. Use it locally through Python, Colab, or Hugging Face Spaces.
Forked 2026-10-19Last synced 2026-11-08License: Apache-2.0Documents, media and contentGitHub
A self-hosted knowledge base for writing, organizing, searching, and sharing Markdown notes. It supports offline access and team workspaces for personal or collaborative documentation.
Forked 2026-10-19Last synced 2026-11-08License: MITDocuments, media and contentGitHub
Textus is a free, open-source Markdown editor with an AI writing assistant for drafting and editing on macOS, Windows, and Linux.
Forked 2026-10-18Last synced 2026-11-08License: MITDocuments, media and contentGitHub
Clypra is a free, open-source video editor for editing and arranging footage on a frame-accurate timeline. It uses Rust and GPU acceleration for video decoding and rendering.
Forked 2026-10-14Last synced 2026-11-08License: MITDocuments, media and contentGitHub