galeus

Local-first certificate workstation that turns Canva templates and attendee sheets into fitted certificates with automated batch dispatch

✓ Benchtop Labs Verified>90% time saved0 spelling errors100% on-devicefastapi + pymupdfLive App ↗GitHub ↗Benchtop 6/6 ↗
galeus-demo.mp4 — Certificate Workstation Walkthrough
1080p · 60fps
> DEMO: Canva PDF upload ➔ Roster parsing ➔ Auto-fit scaling ➔ Batch SMTP deliveryZERO TYPOS · 100% PRIVATE

The Problem: The Certificate Generation Nightmare

Every hackathon, university workshop, and tech conference organizer dreads certificate distribution day. You design a beautiful certificate on Canva, export the template, and then face the brutal reality:

  • Manual Copy-Paste Churn: Hundreds of attendee names must be manually pasted into Canva one by one, manually exported, and renamed.
  • Overflow & Clipping: Long compound names like "Athanasios Papageorgiou" overflow decorative design borders, forcing manual font downscaling for dozens of individual slides.
  • Messy Roster Typos: Inconsistent casing (e.g. all-caps JOHN DOE, lowercase jane smith, or trailing spaces) leads to misspelled or embarrassing credentials.
  • Email Rate Limits & Spam Flags: Bulk mailing hundreds of attachments from personal or organization accounts triggers provider spam flags and blocks your domain.

Existing web tools charge steep per-certificate SaaS subscriptions and upload private student contact rosters to unknown cloud databases. galeus was engineered to solve this end-to-end locally on your machine with zero cloud dependencies.

Technical Architecture & The PyMuPDF Pipeline

Galeus combines a responsive Next.js 15 frontend with a high-throughput FastAPI and PyMuPDF (FitZ) backend containerized via Docker:

pipeline: galeus layout & dispatch engine
1. Upload Canva Single-Page PDF & Attendee Sheet (.xlsx/.csv)
│ PyMuPDF parses vector text objects & isolates placeholder rect "[Recipient Name]"
▼
2. Dynamic Font Fitting & Letter-Equality Normalization
│ Computes bounding width: scales font down or breaks into 2 balanced lines
▼
3. Visual Review Table & Throttled SMTP Batch Queue
│ Credentials kept in RAM only · Throttled dispatch avoids 550 spam blocks · ZIP export

Key Engineering Decisions

  • Vector Bounding-Box Detection: Instead of asking organizers to manually configure pixel coordinates, PyMuPDF searches for placeholder words (like Recipient Name or Participant) directly in the Canva PDF vector tree and inherits the exact bounding coordinates, baseline, and alignment.
  • Strict Letter-Equality String Normalizer: Cleans whitespace and standardizes name casing (Title Case) while running a strict letter-equality assertion to ensure characters are never dropped or scrambled.
  • Memory-Only Credential Safety: SMTP email passwords are held exclusively in process RAM during the dispatch session and are never written to disk or logged. All generated PDFs and job artifacts auto-delete in 24 hours.
  • Throttled Batch Dispatch: Dispatches emails through a paced queue with jittered intervals, respecting Gmail, Outlook, and custom SMTP provider rate limits while broadcasting live progress via WebSocket.

Product Impact & Benchtop Verification

Galeus is verified under the Benchtop Labs Spec (v1.0), passing automated 6-point isolated sandbox testing:

  • Turnaround Time: Reduced certificate generation from over 3 hours of manual effort down to under 3 minutes for an entire 300-person event batch.
  • Error Rate: Zero misspelled names or clipped borders across thousands of generated event credentials.
  • 100% Offline & Free: Free and open-source under the MIT license, running completely self-contained via docker compose up.