Skip to content

Repository files navigation

Trakki - Personal Finance Tracker

Trakki is a Python-based desktop application built with Tkinter that helps you effortlessly track your income, expenses, and savings goals. It also features a built-in AI Financial Coach powered by the Groq API to provide personalized financial insights and advice.

Presentation

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 Screenshot 5 Screenshot 6

Technologies

  • Python 3.x: Core programming language.
  • Tkinter: GUI framework for the desktop interface.
  • Matplotlib: Data visualization for the financial dashboard.
  • Groq API: Powers the AI Financial Coach for intelligent analysis.
  • Requests: For handling API communication.

Features

  • Dashboard & Analytics: View your current balance, total income, expenses, and savings at a glance with visual charts.
  • Expense & Income Tracking: Add, edit, and remove transactions to keep your finances up to date.
  • Savings Goals: Set savings goals, track your progress, and manage funds dedicated to specific items.
  • AI Financial Coach: Chat with a built-in AI assistant that analyzes your current financial data and provides actionable, personalized advice in English and Tagalog.
  • Transaction History: Review all your past financial activities in a clean table view.

How I built it

Trakki was developed as a modular desktop application using Python's Tkinter. The architecture is designed to separate the graphical interface (gui/) from the core application logic and data models (logic/).

I integrated matplotlib directly into the Tkinter main loop to provide real-time updates to the dashboard charts. For the AI component, I implemented a robust integration with the Groq API, ensuring that the financial coach has enough context from the user's data to provide meaningful, personalized advice.

What I learned

Building Trakki provided deep insights into:

  • State Management in Tkinter: Coordinating data across multiple views (Dashboard, Expenses, Savings) while keeping the UI responsive.
  • Embedded Visualizations: Learning how to integrate Matplotlib canvases into Tkinter widgets for a seamless user experience.
  • API Integration & Prompting: Crafting specific system prompts for the Groq API to ensure the AI remains focused on financial coaching and supports multi-lingual responses.
  • Modular Project Structure: Organizing a Python project with multiple directories to maintain clean and readable code.

Future Enhancements

  • Data Export: Adding functionality to export financial summaries to CSV or PDF.
  • Multi-Currency Support: Allowing users to track transactions in different currencies with automatic conversion.
  • Enhanced AI Insights: Providing proactive alerts and more complex budgeting strategies.
  • Dark Mode: A toggleable dark theme for better visual comfort.

How to run the project

Prerequisites

  • Python 3.x installed on your system.

Installation & Setup

  1. Download the Project Extract the project files into a single folder on your computer.

  2. Install Dependencies Open your terminal/command prompt, navigate to the project folder, and run:

    pip install -r requirements.txt

    Alternatively, on Windows, you can run install_dependencies.bat.

  3. Run the Application

    python main.py

    The AI Coach works out of the box with no configuration needed.


-Aldrsze.

About

Python-based desktop application built with Tkinter that helps you effortlessly track your income, expenses, and savings goals.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages