Created
July 13, 2025 12:30
-
-
Save danwakefield/27fbe76db6f0d2c75da391aec60924e0 to your computer and use it in GitHub Desktop.
Papier extension export
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Export the text from the papier chrome extension (https://chromewebstore.google.com/detail/papier/hhjeaokafplhjoogdemakihhdhffacia) | |
# Extension was not updated to Manifest V3 and chrome won't allow it to be opened again so you lose you're notes. | |
# I was able to get them back with the below. You need go & jq, commands are for a Mac, but hopefully things work with other OS's | |
# No support given | |
$ go install github.com/cions/leveldb-cli/cmd/leveldb@latest | |
$ cp -r ~/Library/Application\ Support/Google/Chrome/Default/Local\ Storage/leveldb ~/documents/chrome-leveldb | |
$ rm ~/documents/chrome-leveldb/LOCK | |
$ cd ~/documents | |
$ level-db get "_chrome-extension://hhjeaokafplhjoogdemakihhdhffacia\0\x01papier-save" -d chrome-leveldb > key_value.txt | |
$ tail -c+2 key_value.txt | jq '.blocks[].text' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment