This repository contains:
-
go-teedy, a Go client library for accessing the API of Teedy. Read the package docs for library usage.
-
teedy-cli, a command line tool to backup, restore and import Evernote enex files into Teedy.
- Download
teedy-cli
for your system from the releases page. - Extract the binary the location of your choosing.
Get CLI help.
teedy-cli --help
Backup a Teedy instance.
# Provide username and password via environment variables
export TEEDY_USERNAME=user
export TEEDY_PASSWORD=password
teedy-cli backup --url http://source.teedy.local --destinationpath ./backup
Restore a Teedy instance from a backup.
# Provide username and password via environment variables
export TEEDY_USERNAME=user
export TEEDY_PASSWORD=password
teedy-cli restore --url http://destination.teedy.local:8080 --sourcepath ./backup
Deletes all documents with a specific Tag ID.
# Provide username and password via environment variables
export TEEDY_USERNAME=user
export TEEDY_PASSWORD=password
teedy-cli deletedocsfortag --url http://teedy.local:8080 --tagid f3472d4e-ed47-414c-ad7a-be65ab54d107
Import an Evernote .enex
file into Teedy.
🔔 Export an Evernote notebook to an
.enex
file on disk first
# Provide username and password via environment variables
export TEEDY_USERNAME=user
export TEEDY_PASSWORD=password
teedy-cli evernote --url http://localhost:8080 --source-enex source.enex