https://github.com/rollecode/tasks-cli
A simple, dependency-free bash script to list your Todoist tasks sorted by creation date (oldest first) with colorized output and clickable task links.
https://github.com/rollecode/tasks-cli
Last synced: 27 days ago
JSON representation
A simple, dependency-free bash script to list your Todoist tasks sorted by creation date (oldest first) with colorized output and clickable task links.
- Host: GitHub
- URL: https://github.com/rollecode/tasks-cli
- Owner: rollecode
- Created: 2025-08-03T17:30:22.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-10-17T13:56:21.000Z (8 months ago)
- Last Synced: 2026-05-02T13:33:33.772Z (28 days ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# 🤖 Tasks CLI
[](#)





## Unified task management 🦾
Bash script that lists tasks from Todoist and Linear with AI-powered translation and Obsidian-ready formatting.
## Features
- **Multi-platform** - Fetch tasks from Todoist, Linear, or both
- **Obsidian-ready output** (default) - Markdown bullet format for easy pasting
- **AI translation** - Translate foreign language tasks to English via OpenAI
- **Present tense formatting** - Convert tasks to changelog-style format
- **Smart cleanup** - Strip URLs and markdown formatting
- **Chronological sorting** - Tasks sorted by creation date (newest first)
- **Completed tasks** - Option to show completed Linear tasks
- **Summary statistics** - Shows task count and date range
- **Zero dependencies** - Only requires `curl`, `python3`, and standard bash
## Usage
```bash
# Default - show tasks from both Todoist and Linear
tasks
# Show only Todoist tasks
tasks --todoist
# Show only Linear tasks
tasks --linear
# Include completed tasks (Linear only)
tasks --completed
# Include dates
tasks --dates
# Include task URLs
tasks --task-urls
# Combine options
tasks --linear --completed --dates
# Show help
tasks --help
```
## Example Output
**Default (Obsidian mode):**
```
* Schedule team meeting
* Review pull request
* Update documentation
--- 3 tasks for 5 days timespan
```
**With dates:**
```
* 2024-10-14: Schedule team meeting
* 2024-10-13: Review pull request
--- 2 tasks for 2 days timespan
```
## Requirements
- `bash` (any modern version)
- `curl` (for API requests)
- `python3` (for JSON parsing, OpenAI API calls)
- At least one of: Todoist API token or Linear API key
- OpenAI API key