Skip to content

Latest commit

History

History
36 lines (30 loc) 路 1.45 KB

File metadata and controls

36 lines (30 loc) 路 1.45 KB

Automated TickTick Backup

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.

Instructions

  1. git clone git@github.com:71m024/ticktick-backup.git
  2. cd ticktick-backup
  3. mv .env.example .env
  4. Login on https://developer.ticktick.com/manage/1509
  5. Create an app (you will need it in the following steps)
  6. go to https://oauthdebugger.com/ and fill with:
  7. Click on "send"
  8. Authorize with your ticktick-account
  9. Open the .env file and fill with:
    • OAUTH_CODE= the authorization code from the previous step
    • OAUTH_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"
  10. npm install
  11. npm start

馃帀 Your data should be exported in a new data.json file!

DISCLAIMER: no guarantee, that the data is complete