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

Each lecture exports to a folder named YYYY-MM-DD Title/ inside your export root. The date prefix keeps lectures sorted chronologically when browsed in Finder.

iCloud Drive vs. local storage

When you are signed in to iCloud, Harvestry saves exports to your iCloud Drive by default — inside the Harvestry/exports/ folder in iCloud Drive. Exports saved there sync automatically to every Mac on the same Apple ID, so your study documents are available on all your machines without any manual copying.

If you prefer to keep exports on this Mac only, go to Settings → General and turn off Save exports to iCloud Drive. Exports will then go to ~/HarvestryLibrary/ on the local disk. A note below the toggle reminds you that local exports do not sync.

If iCloud is not set up on your Mac, exports always go to ~/HarvestryLibrary/ regardless of the setting.

Seeing where an export is stored

Each lecture row in the sidebar shows a small icon after the status text indicating where its export lives:

Moving an export between iCloud and local

You can move individual lecture exports at any time without re-running the pipeline. Right-click (or Control-click) a lecture in the sidebar and choose:

The option shown depends on where the export currently lives. If the export does not exist yet, neither option appears. The storage badge on the library row updates immediately after the move.

ℹ️
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: