{"id":15722095,"url":"https://github.com/scarvy/ticktick-to-sqlite","last_synced_at":"2026-05-06T13:38:31.104Z","repository":{"id":222138562,"uuid":"755718075","full_name":"Scarvy/ticktick-to-sqlite","owner":"Scarvy","description":"Save data from TickTick to a SQLite database","archived":false,"fork":false,"pushed_at":"2024-02-12T15:51:16.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T23:12:42.039Z","etag":null,"topics":["datasette","datasette-tool","dogsheep","sqlite","ticktick-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Scarvy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-10T21:50:59.000Z","updated_at":"2024-11-14T23:21:31.000Z","dependencies_parsed_at":"2024-02-12T16:13:50.644Z","dependency_job_id":"757556b6-4bee-41d2-b755-84ac87a360e1","html_url":"https://github.com/Scarvy/ticktick-to-sqlite","commit_stats":null,"previous_names":["scarvy/ticktick-to-sqlite"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scarvy%2Fticktick-to-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scarvy%2Fticktick-to-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scarvy%2Fticktick-to-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scarvy%2Fticktick-to-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Scarvy","download_url":"https://codeload.github.com/Scarvy/ticktick-to-sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390873,"owners_count":20769478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datasette","datasette-tool","dogsheep","sqlite","ticktick-api"],"created_at":"2024-10-03T22:03:53.387Z","updated_at":"2025-10-15T22:37:24.432Z","avatar_url":"https://github.com/Scarvy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ticktick-to-sqlite\n\n[![PyPI](https://img.shields.io/pypi/v/ticktick-to-sqlite.svg)](https://pypi.org/project/ticktick-to-sqlite/)\n[![Changelog](https://img.shields.io/github/v/release/Scarvy/ticktick-to-sqlite?include_prereleases\u0026label=changelog)](https://github.com/Scarvy/ticktick-to-sqlite/releases)\n[![Tests](https://github.com/Scarvy/ticktick-to-sqlite/actions/workflows/test.yml/badge.svg)](https://github.com/Scarvy/ticktick-to-sqlite/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/Scarvy/ticktick-to-sqlite/blob/master/LICENSE)\n\nImport TickTick data into a SQLite database\n\n## Installation\n\nInstall this tool using `pip`:\n\n    pip install ticktick-to-sqlite\n\n## Usage\n\n**Pre-requisite:**\n\n1. Register your application.\n\n    * Assuming you have a TickTick account, register your app and create a `client_id` and `client_secret`.\n\n        \u003e @lazeroffmichael (author of `ticktick-py`) wrote a easy to follow [\"Get Started\"](https://lazeroffmichael.github.io/ticktick-py/#get-started) instructions to set up your app.\n\n2. (Recommended) Set enviornment variables for your login credentials:\n    * `TICKTICK_USERNANE` - Your TickTick username\n    * `TICKTICK_PASSWORD` - Your TickTick password\n\nFor help, run:\n\n    ticktick-to-sqlite --help\n\nYou can also use:\n\n    python -m ticktick_to_sqlite --help\n\n### Authenticate\n\nStore app settings for OAuth.\n\n    (venv) $ ticktick-to-sqlite auth\n    Register your application and obtain: \"Client ID\", \"Client Secret\", and pick a \"Redirect URL\". Paste it here:\n\n    Client ID: your_client_id\n    Client Secret: your_client_secret\n    Redirect URL: https://127.0.0.1\n\n### Tasks\n\nSave your uncompleted tasks.\n\n    ticktick-to-sqlite tasks ticktick.db\n\nSave your completed tasks for a specified time range (ex. between Dec 31st, 2023 and Jan 31st, 2024).\n\n    ticktick-to-sqlite completed-tasks ticktick.db 2023-12-31 --end-date 2024-01-31\n\n### Tags\n\nSave your tags.\n\n    ticktick-to-sqlite tags ticktick.db\n\n### Projects\n\nSave your projects (aka \"Lists\").\n\n    ticktick-to-sqlite projects\n\nSave your project folders (aka \"List Folders\").\n\n    ticktick-to-sqlite project-folders\n\n## Development\n\nTo contribute to this tool, first checkout the code. Then create a new virtual environment:\n\n    cd ticktick-to-sqlite\n    python -m venv venv\n    source venv/bin/activate\n\nNow install the dependencies and test dependencies:\n\n    pip install -e '.[test]'\n\nTo run the tests:\n\n    pytest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscarvy%2Fticktick-to-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscarvy%2Fticktick-to-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscarvy%2Fticktick-to-sqlite/lists"}