Amazon Q Developer "Quack The Code" Challenge: NL TaskLogger with Ollama
This is a submission for the Amazon Q Developer "Quack The Code" Challenge: Crushing the Command Line What I Built TaskLogger is a simple yet practical command-line tool that helps you log and query your tasks. It stores task data in a CSV format for easy portability and access. The Ollama integration enhances the tool by allowing to analyze task data through natural language rather than having to write complex queries or filters. Key Features: • Task Logging: Record tasks with descriptions, dates, and time spent • Add tasks for today or specific dates • Track hours spent on each task • Automatically timestamps when tasks are logged • Data Storage: Uses CSV format for simplicity and portability • Stores timestamp, date, task description, and hours spent • Maintains data in a local tasklog.csv file • Natural Language Querying: Added Ollama integration for querying tasks • Process natural language questions about your task history • Example: "How many hours did I spend on meetings last week?" • Connects to a locally running Ollama server Demo Code Repository https://github.com/irtazaali/tasklogger How I Used Amazon Q Developer Code Development: used to help write the Python code for TaskLogger application, including the core functionality for adding tasks and the CSV storage implementation. Ollama Integration: Amazon Q Developer assisted with implementing the integration with Ollama, including: • Setting up the API connection to the local Ollama server • Formatting the prompts for the LLM • Processing the responses from Ollama

This is a submission for the Amazon Q Developer "Quack The Code" Challenge: Crushing the Command Line
What I Built
TaskLogger is a simple yet practical command-line tool that helps you log and query your tasks. It stores task data in a CSV format for easy portability and access. The Ollama integration enhances the tool by allowing to analyze task data through natural language rather than having to write complex queries or filters.
Key Features:
• Task Logging: Record tasks with descriptions, dates, and time spent
• Add tasks for today or specific dates
• Track hours spent on each task
• Automatically timestamps when tasks are logged
• Data Storage: Uses CSV format for simplicity and portability
• Stores timestamp, date, task description, and hours spent
• Maintains data in a local tasklog.csv file
• Natural Language Querying: Added Ollama integration for querying tasks
• Process natural language questions about your task history
• Example: "How many hours did I spend on meetings last week?"
• Connects to a locally running Ollama server
Demo
Code Repository
https://github.com/irtazaali/tasklogger
How I Used Amazon Q Developer
Code Development: used to help write the Python code for TaskLogger application, including the core functionality for adding tasks and the CSV storage implementation.
Ollama Integration: Amazon Q Developer assisted with implementing the integration with Ollama, including:
• Setting up the API connection to the local Ollama server
• Formatting the prompts for the LLM
• Processing the responses from Ollama