Bash script that lists tasks from Todoist and Linear with AI-powered translation and Obsidian-ready formatting.
- 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
# 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 --helpDefault (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
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