Skip to content

Context Tracker AI Because Great Ideas Shouldn't Get Lost in the Flow!

Notifications You must be signed in to change notification settings

Pythonista7/context-tracker-backend

Repository files navigation

Context Tracker

alt text

|| Blog Post || Demo Video ||

This repository contains a context tracking system that captures screen activity, analyzes it using LLM providers, and stores the context data for further analysis. The system is designed to help users track their activities and generate summaries of their sessions. Checkout the Raycast plugin here.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/Pythonista7/context-tracker-backend
    cd context-tracker-backend
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Start the server:

    python server.py
  2. Use the provided API endpoints to create contexts, start sessions, capture screen activity, and generate summaries.

Configuraions

To configure the context tracking system, you need to set up the following environment variables:

Environment Variables

  • OPENAI_API_KEY: Your OpenAI API key for accessing OpenAI's LLM services.
  • ANTHROPIC_API_KEY: Your Anthropic API key for accessing Anthropic's LLM services.
  • DATABASE_URL: The URL for your database where context data will be stored.
  • FLASK_ENV: The environment in which the Flask server is running (development or production).

Modifying constants.py

You may need to modify constants.py to set paths and other constants as needed for your specific setup.

About

Context Tracker AI Because Great Ideas Shouldn't Get Lost in the Flow!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages