macnotesapp
macnotesapp copied to clipboard
Add import command
Import from HTML and Markdown with support for attachments
Allow use of template for title, e.g notes import --title {filepath.name} *.html
Yeah, this would be useful
@Kolsha any specific use cases you'd fine useful? I haven't worked on macnotesapp in a while due to other projects but am planning to spend some more time on it in the coming weeks.
In an ideal scenario I want to setup periodic double way sync from/to obsidian to/from apple notes.
Apple Notes with its Quick Note
feature makes note taking frictionless, but lacks support of markdown and other features.
In an ideal scenario I want to setup periodic double way sync from/to obsidian to/from apple notes.
I don't use Obsidian so this won't get worked on unless someone submits a PR. Obsidian does have an Apple Notes importer. I suggest trying to convince Obsidian to do this.
Two-way sync with Apple Notes is very difficult because Apple doesn't provide access to the raw notes data. The API that macnotesapp uses cannot access all the formatting in notes (e.g. checked checkboxes, tags, embedded attachments). macnotesapp could get the HTML for the note (which loses non-HTML markup like checkboxes) and the attachments but doesn't know where in the note the attachments are embedded. It cannot access keywords even though they appear in the note as #keyword
they're not accessible via the API and are stripped when requesting the HTML from Notes.
I primarily use macnotesapp to quickly add notes from the Terminal. I wish I could do more with it but Apple does not expose an adequate API.