{"id":14065816,"url":"https://github.com/bcongdon/todoist-to-sqlite","last_synced_at":"2025-05-13T01:24:20.531Z","repository":{"id":49499227,"uuid":"230773647","full_name":"bcongdon/todoist-to-sqlite","owner":"bcongdon","description":"Export your Todoist data to SQLite","archived":false,"fork":false,"pushed_at":"2021-01-02T05:16:43.000Z","size":13,"stargazers_count":17,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T06:02:33.771Z","etag":null,"topics":["datasette","dogsheep","sqlite","todoist"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bcongdon.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}},"created_at":"2019-12-29T16:12:27.000Z","updated_at":"2024-11-22T15:08:52.000Z","dependencies_parsed_at":"2022-08-12T20:11:39.795Z","dependency_job_id":null,"html_url":"https://github.com/bcongdon/todoist-to-sqlite","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcongdon%2Ftodoist-to-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcongdon%2Ftodoist-to-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcongdon%2Ftodoist-to-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcongdon%2Ftodoist-to-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bcongdon","download_url":"https://codeload.github.com/bcongdon/todoist-to-sqlite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253852039,"owners_count":21973842,"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","dogsheep","sqlite","todoist"],"created_at":"2024-08-13T07:04:44.825Z","updated_at":"2025-05-13T01:24:20.511Z","avatar_url":"https://github.com/bcongdon.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# todoist-to-sqlite\n\n[![PyPI](https://img.shields.io/pypi/v/todoist-to-sqlite.svg)](https://pypi.org/project/todoist-to-sqlite/)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/bcongdon/todoist-to-sqlite/blob/master/LICENSE)\n\nSave data from Todoist to a SQLite database. Supports saving tasks, projects, filters, notes, labels, and completed tasks.\n\n(Some Todoist features require Premium, like fetching completed tasks)\n\n## How to install\n\n    $ pip install todoist-to-sqlite\n\n## Authentication\n\nIn the Todoist client, go to the [Integrations tab](https://todoist.com/prefs/integrations) of Settings and issue/copy your personal API token. Run this command and paste in your API token:\n\n    $ todoist-to-sqlite auth\n\nThis will create a file called `auth.json` in your current directory containing the required value. To save the file at\na different path or filename, use the `--auth=myauth.json` option.\n\n## Saving Current Todoist Data\n\nThe `sync` command retrieves all \"active\" data associated with your Todoist account.\n\n    $ todoist-to-sqlite sync todoist.db\n\nThis includes: uncompleted tasks, projects, labels, filters, and notes.\n\n## Saving Completed Tasks\n\nThe `completed-tasks` command saves all completed tasks from your Todoist account. This may take a long time to download for active Todoist users.\n\n    $ todoist-to-sqlite completed-tasks todoist.db\n\n`completed-tasks` also will sync any associated metadata (i.e. archived projects) associated with completed tasks.\n\nNote: This command requires Todoist Premium due to limitations of their API.\n\n### `from_date` and `to_date`\n\nYou can specify `--from_date` and `--to_date` to place boundaries on the time range that `todoist-to-sqlite` will fetch completed tasks from.\n\n```\n    $ todoist-to-sqlite completed-tasks todoist.db \\\n        --to_date   2020-12-01 \\\n        --from_date 2020-12-30\n```\n\n## Attribution\n\nThis package is heavily inspired by [goodreads-to-sqlite](https://github.com/rixx/goodreads-to-sqlite/) by [Tobias Kunze\n](https://github.com/rixx) and [github-to-sqlite](https://github.com/dogsheep/github-to-sqlite/) by [Simon\nWillison](https://simonwillison.net/2019/Oct/7/dogsheep/).\n\nThis package was designed to fit nicely in the [dogsheep](https://dogsheep.github.io/) / [datasette](https://github.com/simonw/datasette) ecosystems.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcongdon%2Ftodoist-to-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbcongdon%2Ftodoist-to-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcongdon%2Ftodoist-to-sqlite/lists"}