Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diohabara/leetcodedailyreminder
Create a LeetCode-daily-problem task at Todoist
https://github.com/diohabara/leetcodedailyreminder
deno leetcode todoist typescript
Last synced: 6 days ago
JSON representation
Create a LeetCode-daily-problem task at Todoist
- Host: GitHub
- URL: https://github.com/diohabara/leetcodedailyreminder
- Owner: diohabara
- License: mit
- Created: 2022-11-26T05:45:27.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-17T14:37:27.000Z (about 2 years ago)
- Last Synced: 2024-12-02T16:12:08.563Z (2 months ago)
- Topics: deno, leetcode, todoist, typescript
- Language: TypeScript
- Homepage:
- Size: 23.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LeetCodeDailyReminder
Create a LeetCode-daily-problem task at Todoist
## How to Set Up
- Get Todoist's API token [here](https://todoist.com/app/settings/integrations)
- Set `TODOIST_API_TOKEN` as an environment variable in `.env` like this
- [ ] Rewrite `.env.template`
- [ ] Run `mv .env.template .env````text
TODOIST_API_TOKEN=??? # replace ??? by the API token
```- Run [`gh secret set -f .env`](https://cli.github.com/manual/gh_secret_set) so
that the secrets set in GitHub
- Rewrite 2 `FIXME` in [`main.ts`](main.ts) to set `labels` and `section_id`.## How to Run
```bash
deno run --allow-all main.ts
```## References
- [LeetCode GraphQL](https://jerrynsh.com/how-i-sync-daily-leetcoding-challenge-to-todoist/)
- [Tosist API v2](https://www.npmjs.com/package/@doist/todoist-api-typescript)