💝 Sponsor this project on Github or ☕ Get me a coffee if you like this plugin!
This plugin is currently not receiving PRs.
2023-09-04: This plugin has just been refactored with breaking changes. Versioning for releases has been revamped in favour of
sematic-release
. Todoist Sync has been removed due to feature instability. A new set of videos for the README will be added at a later date.
This simple plugin has 2 primary features:
You can retrieve tasks in 3 ways:
- Retrieving tasks from a default project (indicated in plugin settings);
- Retrieving today's tasks, regardless of the project; and
- Retrieving tasks based on a custom filter. Key in the desired filter in any block, and type
/Todoist: Retrieve Custom Filter
You can send tasks in 2 ways:
- If you set a default project to send tasks to, just trigger
/Todoist: Send Task
on the block containing the task. - If no default project is indicated, there will be a popup to specify the necessary parameters.
The plugin settings page contains other preferences to customise how you want tasks to be retrieved or sent to Todoist.
The plugin automatically creates the following block properties: todoistid
, comments
, atttachments
. If you wish to hide them, you can find the below flag in config.edn
and make the changes:
;; hide specific properties for blocks
;; E.g. :block-hidden-properties #{:created-at :updated-at}
:block-hidden-properties #{:todoistid :comments :attachments}
-
Go to https://developer.todoist.com/appconsole.html and create an App. You will need to create an App (give it any name you like), and you will be able to obtain a test token. Note down the test token as this is the API Token that you will need in Step 3.
-
Head on to the Marketplace and install the logseq-todoist-plugin.
-
After it is installed, click on the plugin icon and indicate your preferences in the settings. Key in your API token that you obtained in Step 1 as well.
- Clone/fork the repo.
- Go to the Plugins page on Logseq (
t p
). - Uninstall the plugin.
- Run
npm run build
to build the project. - Click on "Load unpacked plugin" and choose the root directory (the one that contains the
dist
dir just created).
- Change the code.
- Run
npm run build
. - Go to the Plugins page on Logseq (
t p
). - Click on "Reload".
- Test your changes.