bshannon / savenotes Goto Github PK
View Code? Open in Web Editor NEWSave the contents of Apple Notes
License: BSD 3-Clause "New" or "Revised" License
Save the contents of Apple Notes
License: BSD 3-Clause "New" or "Revised" License
This code has been running for me unchanged for many months. Only throwing this error now. Possibly there was a silent update of Notes.app?
Environments tested on:
macOS Catalina 10.15.7
macOS Big Sur 11.5.1
Running:
> java -ea -jar savenotes.jar -d notes -m
Produces:
Exception in thread "main" java.lang.ClassCastException: class java.lang.Integer cannot be cast to class [B (java.lang.Integer and [B are in module java.base of loader 'bootstrap')
at ObjectData.getBytes(ObjectData.java:82)
at SaveNotes.getNoteBody(SaveNotes.java:558)
at SaveNotes.save(SaveNotes.java:234)
at SaveNotes.main(SaveNotes.java:152)
Just tried to run
java -ea -jar ~/Desktop/NOTES/apps/savenotes-master/target/savenotes.jar -f ~/Desktop/NOTES/data/NotesV7.storedata -d ~/output
without success:
No suitable driver found for jdbc:sqlite:/Users/iwanuschka/Desktop/NOTES/data/NotesV7.storedata
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.sql.Connection.createStatement()" because "conn" is null
at SaveNotes.save(SaveNotes.java:177)
at SaveNotes.main(SaveNotes.java:152)
NotesV7.storedata
has been taken from a system running Mac OS Catalina.
Any idea?
Text with strikethrough formatting is not exported to markdown
For example, this text results in unadorned text in the output
example
becomes
example
Suggest using the GFM format for strikethrough export
~~example~~
Hello Bill!
I have the occasional image saved inside my notes, and it would be great if those were exported with the notes. Markdown has a fairly flexible image notation: ![title](example.png)
which works with relative file locations.
Let me know what you think. Thank you!
One other request. It would be great to have the note created and modified included in the export. For my purposes, having them added as text to the notes would be fine.
Many thanks!
Any chance you can provide instructions for getting this up and running? I just installed JDK and have no idea what to do next.
Thanks!
Continuing our conversation from ydkhatri/mac_apt/issues/13:
I've gotten it up and running. Super exciting! Thanks for the hard work!
When I'm using either the -m
or -h
args, I get checklist items decorated with the following html:
<div style="103">
Regardless of whether or not the checkbox is checked.
Please add mvn package
as a command to build the jar to the README. I am no Java developer but lost my notes nevertheless :)
Thx!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.