Skip to content

konjoai/pdfree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PDFree

πŸ“„ A truly free PDF editor with AI features. No watermarks. No limits. No catch.

PDFree is the honest alternative to "free" PDF tools that hit you with watermarks, task caps, paywalls, or silent uploads. It runs everywhere β€” macOS, iOS, Web, Windows, Linux β€” from one Rust engine, and processes your documents locally by default.

Status: Phase 0 complete. The Rust workspace is scaffolded and the PDFium integration is proven end-to-end (open a PDF, render pages to PNG). See CLAUDE.md for the full plan.

Architecture

One Rust core (pdfree-core), many thin platform shells. Rendering goes through PDFium β€” the engine Chrome uses. See docs/architecture.md.

crates/pdfree-core   PDF engine (parse, render, edit, forms, sign, convert)
crates/pdfree-ai     provider-agnostic AI layer (local-first, cloud-opt-in)
crates/pdfree-ffi    UniFFI bridge β†’ Swift/Kotlin
crates/pdfree-wasm   wasm-bindgen bridge β†’ browser

Quickstart

# 1. Fetch the PDFium runtime library (into vendor/pdfium/, git-ignored)
scripts/fetch-pdfium.sh

# 2. Build and test the whole workspace
scripts/build-all.sh
# or: cargo test --workspace

Minimal usage:

use pdfree_core::{Document, RenderOptions};

let doc = Document::open("contract.pdf")?;
println!("{} pages", doc.page_count());
let png = doc.render_page(0, &RenderOptions::with_dpi(150.0))?;
std::fs::write("page-1.png", png)?;

See docs/api.md for the full pdfree-core API.

Docs

License

BUSL-1.1 β€” free for personal and commercial non-SaaS use.

About

πŸ“„ A truly free PDF editor with AI features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors