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:
- 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/).
- 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).
- Vector SVG Export Endpoint: Add
GET /api/web/files/{id}/export/svg?page={n} for single-page vector SVG rendering.
Summary & Context
Scope of Issue #166
This issue builds on top of our existing converter logic to provide user-facing filesystem exports and direct web downloads:
/Export/or WebDAV/Export/).GET /api/web/files/{id}/export/pdffor direct 1-click browser downloads (bypassing the multi-step OpenAPI blob handshake).GET /api/web/files/{id}/export/svg?page={n}for single-page vector SVG rendering.