Harvestry Documentation HTML Export

HTML Export

A self-contained study document: full transcript, screenshots, synchronized audio, highlights, and dark mode — all in a single folder you can open in any browser.

What Gets Exported

Each processed lecture exports to a folder containing four items:

The folder is fully portable. You can zip it, email it, put it on a USB drive, or host it on any web server. No external resources are required.

Export Location

By default, exports go to ~/HarvestryLibrary/YYYY-MM-DD Title/. The date prefix ensures lectures are sorted chronologically when browsed in Finder.

To change the export root folder, go to Settings → Export Location and click Choose Folder. Once set, all future exports use the new location. Existing exports are not moved.

ℹ️
Reexporting always overwrites. When you click Reexport, the existing folder contents are replaced. If you've made manual edits to the exported HTML or CSS, those changes will be lost. Keep manual edits in the Harvestry transcript panel instead.

Opening Your Export

From the lecture detail view, two buttons appear after processing completes:

The HTML Page Layout

The exported page uses a typography-focused editorial design:

Audio Sync

The exported page includes a standalone audio player in the page header. Each word in the transcript is wrapped in a <span data-s data-e> element containing its start and end timestamp. A small JavaScript snippet advances through these spans as the audio plays, applying a highlight class to the currently playing word.

You can also click any word in the transcript to seek the audio player to that exact moment. This makes the exported page function as an interactive study tool — you can read a section, hear it spoken in context, and jump around at will.

Screenshots in the Export

Screenshots are embedded inline in the transcript flow, positioned at the timestamp they were captured. Layout rules:

Screenshots are saved as JPEG at 95% quality using CGImageDestination. This preserves full Retina resolution. Using NSBitmapImageRep (the older approach) would halve Retina dimensions, which is why Harvestry specifically avoids it.

Your Annotations in the Export

All annotations added in the transcript panel are included in the export:

Font Size Control

The exported page includes a font-size slider in the top-right corner of the content column. The range is 14–24px with a default of 19px. The selected size is persisted to localStorage and restored on every subsequent visit to that page.

Dark Mode

A dark mode toggle is available in the page header. Activating it switches the page to a dark color scheme. The preference is persisted in localStorage. A small inline script restores the theme before first paint to prevent a flash of unstyled content.

Re-exporting

Whenever you modify a completed lecture — by adding annotations, manually adding a screenshot, editing consolidated notes, or changing export settings — a "Modified, re-export needed" badge appears on the lecture in the sidebar and on the detail view toolbar.

Click the Reexport button to regenerate the HTML folder. Only Step 4 of the pipeline runs during a reexport. Transcription and screenshot capture are not repeated.

Reexport is always safe to run. All annotations are preserved — they are stored in Harvestry's database and written into the HTML fresh each time you export.

Finding Old Exports

If you need to locate an export from a lecture that's no longer in the Harvestry library, or if you've forgotten where exports go: