Skip to content

ronilaukkarinen/tasks-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Tasks CLI

version OpenAI bash Todoist Linear Python

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

# 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

About

A simple, dependency-free bash script to list your Todoist tasks sorted by creation date (oldest first) with colorized output and clickable task links.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages