Crate apple_notes_exporter

Crate apple_notes_exporter 

Source
Expand description

Apple Notes Exporter

A library for exporting Apple Notes to Markdown files with support for images, attachments, and metadata preservation.

§Example

use apple_notes_exporter::{export_notes, ExportConfig};
use std::path::PathBuf;

fn main() -> anyhow::Result<()> {
    let config = ExportConfig::default();
    let notes = export_notes(&config)?;
    println!("Exported {} notes", notes.len());
    Ok(())
}

Structs§

ExportConfig
Configuration options for the export process.
Note
Represents a single Apple Note with its metadata and content.

Functions§

export_notes
Exports all notes from Apple Notes to Markdown files.
get_notes
Retrieves all notes from Apple Notes using AppleScript.
process_note
Processes a single note, converting it to Markdown and handling attachments.