
Add drawings and notes to any PDF.
Works with mouse, touch, or stylus - completely free and private.
A modern, open-source PDF annotation tool that runs entirely in your browser
Transform any PDF into an interactive canvas. Draw, annotate, and collaborate without uploading your documents to external servers.
Try it now β | Report Issues | Contribute
- Web-wide PDF search powered by Brave Search API
- Direct PDF opening from search results
- Smart filtering for PDF documents only
- Pagination through search results
- Real-time search with instant results
- Setup guide: See docs/SEARCH_FEATURE.md for configuration
- Freehand drawing with customizable pencil and highlighter tools
- Shape tools including rectangles, circles, arrows, and stars
- Text annotations with inline editing
- Sticky notes for quick comments
- Smart eraser that removes intersecting elements
- Works on any device - desktop, tablet, or phone
- Touch-optimized with Apple Pencil support
- Mobile-friendly interface that works seamlessly on smartphones and tablets
- No installation required - runs in your browser
- Offline capable after first visit (PWA)
- WCAG AAA compliant - exceeds accessibility standards with 7.06:1 contrast ratios
- Keyboard navigation - full functionality without a mouse
- Screen reader friendly - semantic HTML and proper ARIA labels
- High contrast mode support for visually impaired users
- Scalable interface - works with browser zoom up to 200%
- Color blind friendly - doesn't rely solely on color for information
- Focus indicators - clear visual focus states for all interactive elements
- 100% client-side - your PDFs never leave your device
- No account required - start annotating immediately
- Local auto-save - your work is preserved automatically
- Instant loading from URLs (including Dropbox links)
- High-DPI rendering for crisp display on all screens
- Infinite canvas - pan and zoom without limits
- Full undo/redo with keyboard shortcuts
Visit leed.my and start annotating immediately.
Share annotated PDFs by adding /pdf/
to any URL:
https://leed.my/pdf/https://example.com/document.pdf
git clone https://github.com/rudi-q/leed_pdf_viewer.git
cd leed_pdf_viewer
pnpm install
pnpm build && pnpm preview
# Or just use the shorthand:
pnpm prev
Open http://localhost:4173
in your browser.
- Framework: SvelteKit + TypeScript
- PDF Rendering: PDF.js
- Drawing Engine: HTML5 Canvas
- Styling: Tailwind CSS
- Build: Vite
- PWA: @vite-pwa/sveltekit
- Upload: Drag & drop a PDF or click the folder icon
- Draw: Select the pencil tool and start drawing
- Navigate: Use arrow keys or toolbar buttons
- Zoom: Ctrl + scroll wheel or toolbar buttons
- Pan: Ctrl + drag (or just drag outside PDF area)
Action | Shortcut |
---|---|
Tools | 1-9 (pencil, eraser, text, etc.) |
Navigation | β/β for pages, W/H for fit |
Zoom | Ctrl +/- , Ctrl 0 to reset |
Actions | Ctrl Z/Y for undo/redo |
Upload | U to choose file |
Help | ? or F1 |
- Students reviewing lecture slides and textbooks
- Professionals annotating contracts and reports
- Researchers marking up papers and documentation
- Teams collaborating on design mockups
- Anyone who needs to mark up PDFs quickly
- Node.js 18+
- npm/pnpm/yarn
# Install dependencies
pnpm install
# Build for production
pnpm build
# Preview production build
pnpm preview
# Or use the shorthand:
pnpm prev
# 1. Install dependencies
pnpm install
# 2. Install Rust (if you don't have it)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# 3. Build your native app
pnpm tauri build
src/
βββ lib/
β βββ components/ # Svelte components
β βββ stores/ # State management
β βββ utils/ # PDF and drawing utilities
βββ routes/ # SvelteKit routes
βββ app.html # App template
We welcome contributions! Here's how to get started:
- Fork the repository
- Create a feature branch:
git checkout -b feature/awesome-feature
- Commit your changes:
git commit -m 'Add awesome feature'
- Push to the branch:
git push origin feature/awesome-feature
- Open a Pull Request
- Follow the existing code style (ESLint + Prettier configured)
- Test your changes across different devices/browsers
- Update documentation for new features
- Keep commits atomic and well-described
We'd love to hear from you! Join our community discussions:
- π Wall of Love - Share your feedback about what you loved about LeedPDF and why
- π Q&A - Ask any questions you may have
- π³οΈ Polls - Poll on ideas
- π‘ Ideas - Share new ideas
- π Show and Tell - Show us how you're using LeedPDF
You can also use GitHub Issues for bug reports.
Love LeedPDF? Help us keep it free and open source!
Your sponsorship helps us:
- β¨ Add new features and improvements
- π§ Fix bugs and maintain code quality
- π Create better documentation and tutorials
- π Keep the project free for everyone
- π Improve performance and accessibility
Every contribution, big or small, makes a difference!
LeedPDF is flexibly licensed to give you options:
β¨ Try LeedPDF Web App - Always free, no account required
Perfect for:
- β Personal projects and learning
- β Educational and research use
- β Full PDF annotation features
- β Privacy-focused (local processing)
- β Contributing back to the community
π» Download Desktop App for Windows - One-time purchase
- π― Windows: Pay-what-you-want
- β Native desktop experience
- β Better performance
- β Offline sync capabilities
- β Lifetime updates
- π Governed by End User License Agreement
Mac desktop app coming soon!
Required for:
- π’ Commercial products and services
- π’ Proprietary software integration
- π’ SaaS applications and hosted services
- π’ Client work and consulting projects
- π’ Removing AGPL-3.0 obligations
Available options:
- Individual License - Solo developers and small companies
- Team License - Growing teams and agencies (up to 10 developers)
- Enterprise License - Large organizations with custom terms
For Enterprise licensing and custom requirements, contact reach@rudi.engineer
- β Remove AGPL-3.0 copyleft requirements
- β Use in proprietary/commercial applications
- β No source code disclosure obligations
- β Distribute without open-sourcing your app
- β Remove attribution requirements
- β Email support for integration questions
- β Perpetual license (no expiration)
- Personal project for web? β Use AGPL-3.0 (free)
- Building a commercial product? β Individual License ($99)
- Team of developers? β Team License ($399)
- Large company/custom terms? β Enterprise License ($1,299+)
Questions about licensing? Contact us: reach@rudi.engineer
By using LeedPDF, you agree to comply with the terms of your chosen license. The AGPL-3.0 license requires that any network-accessible modifications be open-sourced.
- PDF.js - Mozilla's excellent PDF rendering engine
- SvelteKit - The framework that makes this possible
- Brave Search API - Powering our web-wide PDF search functionality
- Vite - Lightning-fast build tool
- Tauri - For building lightweight desktop apps
- Tailwind CSS - Utility-first CSS framework
Built with β€οΈ for the open web
Privacy-focused β’ Lightweight β’ No tracking β’ No accounts β’ No servers