Depending on the amount of your data. This export can take some minutes (because of query limiting from ticktick).
DISCLAIMER: This script is only for exporting the data. Import is not possible.
This script is intended to ensure that your ticktick data is not lost. The recovery in some form would still have to be implemented.
git clone git@github.com:71m024/ticktick-backup.gitcd ticktick-backupmv .env.example .env- Login on https://developer.ticktick.com/manage/1509
- Create an app (you will need it in the following steps)
- go to https://oauthdebugger.com/ and fill with:
Authorize URI:https://ticktick.com/oauth/authorizeRedirect URI:https://oauthdebugger.com/debugClient ID:from your app (step 5)Scope:tasks:readState:some random charactersNonce:some random charactersResponse type:codeResponse mode:query
- Click on "send"
- Authorize with your ticktick-account
- Open the
.envfile and fill with:OAUTH_CODE=the authorization code from the previous stepOAUTH_CLIENT_ID=the client-id of your ticktick app (step 5)OAUTH_CLIENT_SECRET=the client-secret of your ticktick app (step 5)OAUTH_REDIRECT_URI="https://oauthdebugger.com/debug"
npm installnpm start
🎉 Your data should be exported in a new data.json file!
DISCLAIMER: no guarantee, that the data is complete