https://github.com/danielkappelle/its-to-todoist
Put tasks from ItsLearning in Todoist
https://github.com/danielkappelle/its-to-todoist
itslearning todoist
Last synced: about 1 year ago
JSON representation
Put tasks from ItsLearning in Todoist
- Host: GitHub
- URL: https://github.com/danielkappelle/its-to-todoist
- Owner: danielkappelle
- License: mit
- Created: 2023-12-18T14:44:36.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T08:21:35.000Z (over 2 years ago)
- Last Synced: 2023-12-19T17:57:32.364Z (over 2 years ago)
- Topics: itslearning, todoist
- Language: TypeScript
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Itslearning to Todoist
Please note that this is primarily a personal project, but it may be used/forked if it is of any use to anyone.
## Set up
Use the correct version of node (I suggest to use nvm)
```sh
nvm use
```
Install dependencies
```sh
npm i
```
Set up the environment vars. Copy the `.env.example` to `.env` and fill in the necessary data. Todoist api key (for development usage) can be retrieved by logging in to [todoist](https://app.todoist.com), go to settings > integrations > Developer. There you can find you API token.
The base url of the ITS page is just the url without the trailing `/`.
Start the project
```sh
npm start
```
## Build Docker
Set the docker url or tag in the `.env` file, i.e. `ghcr.io/youruser/yourpackage`.
Building
```sh
npm run docker:build
```
Pushing
```sh
npm run docker:push
```
## FAQ
### My deadlines are incorrect
If you are running the project inside Docker, make sure to set the correct timezone. Docker uses UTC by default, but it can be changed by setting the `TZ` environment variable as desired. For example `Europe/Amsterdam`.