Skip to content

Server-Side Notebook to PDF/SVG Converter #166

Description

@allenporter

Summary & Context

Existing Capabilities: Our codebase already implements the underlying PDF converter engine (supernote/notebook/converter.py) and the official Supernote device OpenAPI endpoint (POST /api/file/note/to/pdf).

Scope of Issue #166

This issue builds on top of our existing converter logic to provide user-facing filesystem exports and direct web downloads:

  1. Automated Background Export on Sync: Automatically trigger PDF conversion during background note processing, outputting flattened PDFs into user-facing filesystem targets (/Export/ or WebDAV /Export/).
  2. Simplified Web UI Download Route: Add GET /api/web/files/{id}/export/pdf for direct 1-click browser downloads (bypassing the multi-step OpenAPI blob handshake).
  3. Vector SVG Export Endpoint: Add GET /api/web/files/{id}/export/svg?page={n} for single-page vector SVG rendering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions