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§
- Export
Config - 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.