# lifetrace | FreeU-group | Knowledge Base | Instagit

GitHub Stars: 0

Repository: https://github.com/freeu-group/lifetrace

---

## Articles

### [How to Import and Export Todos Using the iCalendar Service in Lifetrace](/freeu-group/lifetrace/how-does-the-icalendar-service-import-and-export-todos)

Learn how Lifetrace's iCalendar service imports and exports todos. Easily convert internal data to VTODO/VEVENT or parse .ics strings with full datetime, status, and recurrence support.

- Tags: how-to-guide
- Published: 2026-03-02

### [How to Add a New Panel to the Multi-Panel Layout System in Lifetrace](/freeu-group/lifetrace/how-do-i-add-a-new-panel-to-the-multi-panel-layout-system)

Learn how to add a new panel to the Lifetrace multi-panel layout system. Declare a PanelFeature, create a React component, and register it for seamless integration and rendering.

- Tags: how-to-guide
- Published: 2026-03-02

### [How Lifetrace Configures the Loguru Logging Framework for Production](/freeu-group/lifetrace/what-logging-framework-is-used-and-how-is-it-configured-in-lifetrace)

Lifetrace configures the Loguru logging framework for production. Discover how it sets up structured console logs and daily sequenced files with error tracking for robust application monitoring.

- Tags: how-to-guide
- Published: 2026-03-02

### [How the Frontend Detects the Backend Port and Configures the API Proxy](/freeu-group/lifetrace/how-does-the-frontend-detect-backend-port-and-set-up-the-api-proxy)

Learn how the Next.js frontend detects the backend port using NEXT_PUBLIC_API_URL and configures an API proxy for seamless requests to your backend service.

- Tags: internals
- Published: 2026-03-02

### [How the LifeTrace Natural Language To‑Do Query Parser Works](/freeu-group/lifetrace/how-does-the-query-parser-handle-natural-language-todo-queries)

Discover how the LifeTrace Natural Language To-Do Query Parser transforms Chinese queries into structured conditions. Learn about its dual-strategy LLM and rule-based approach.

- Tags: deep-dive
- Published: 2026-03-02

### [Lifetrace API Endpoints and Pydantic Schemas: A FastAPI Implementation Guide](/freeu-group/lifetrace/what-are-the-main-api-endpoints-and-their-pydantic-schemas)

Explore Lifetrace API endpoints like /api/ and learn how Pydantic schemas such as TodoCreate and VisionChatRequest validate requests and serialize responses in this FastAPI implementation guide.

- Tags: api-reference
- Published: 2026-03-02

### [How Lifetrace Builds and Persists Conversation Context for AI Interactions](/freeu-group/lifetrace/how-is-conversation-context-built-and-persisted-for-ai-interactions)

Discover how Lifetrace builds and persists AI conversation context using JSON in SQLite. Learn about its layered architecture for reliable context survival across restarts and distributed calls.

- Tags: architecture
- Published: 2026-03-02

### [How Reminders Are Scheduled, Stored, and Triggered in LifeTrace: A Complete Technical Guide](/freeu-group/lifetrace/how-are-reminders-scheduled-stored-and-triggered-in-the-application)

Discover how LifeTrace schedules, stores, and triggers reminders using a three-layer system. Learn about JSON persistence APScheduler jobs and in-memory notification handling.

- Tags: deep-dive
- Published: 2026-03-02

### [LifeTrace config.yaml Structure and Loading Mechanism: A Complete Guide](/freeu-group/lifetrace/what-is-the-structure-of-config.yaml-and-its-loading-mechanism)

Understand the LifeTrace config.yaml structure and loading mechanism. Learn how Dynaconf handles defaults, environment variables, and hot-reloads for seamless configuration management.

- Tags: deep-dive
- Published: 2026-03-02

### [How Python Backend and Electron Processes Communicate via IPC in LifeTrace](/freeu-group/lifetrace/how-do-python-backend-and-electron-processes-communicate-via-ipc)

Discover how LifeTrace enables seamless communication between Python backend and Electron processes using a local HTTP REST API for business logic and IPC for UI messaging.

- Tags: internals
- Published: 2026-03-02

### [How Internationalization (i18n) Is Implemented in the Lifetrace Next.js Frontend](/freeu-group/lifetrace/how-is-internationalization-i18n-implemented-in-the-nextjs-frontend)

Discover how Lifetrace implements internationalization i18n in its Next.js frontend with Next-Intl. Learn about server-side locale detection and React component translation.

- Tags: how-to-guide
- Published: 2026-03-02

### [How Auto Port Selection Works for Frontend and Backend Services in Lifetrace](/freeu-group/lifetrace/how-does-the-auto-port-selection-work-for-frontend-and-backend-services)

Discover how Lifetrace's auto port selection effortlessly finds available ports for your FastAPI backend and Next.js frontend, eliminating manual configuration even when defaults are busy.

- Tags: how-to-guide
- Published: 2026-03-02

### [How FreeTodo Handles System Tray and Notifications in Electron: Implementation Guide](/freeu-group/lifetrace/how-are-system-tray-and-notifications-handled-in-electron-for-freetodo)

Learn how FreeTodo's TrayManager class handles system tray and notifications in Electron. Explore its implementation for cross-platform menu bar icons and IPC-based alerts.

- Tags: how-to-guide
- Published: 2026-03-02

### [How the Lifetrace Time Parser Utility Parses Natural Language Deadlines](/freeu-group/lifetrace/how-does-the-time-parser-utility-parse-natural-language-deadlines)

Discover how the Lifetrace time parser utility interprets natural language deadlines by analyzing 24-hour clocks, Chinese 12-hour periods, and relative day offsets to create accurate datetime objects.

- Tags: internals
- Published: 2026-03-02

### [Todo Serialization Format and Mapping Logic in Lifetrace: A Complete Guide](/freeu-group/lifetrace/what-is-the-todo-serialization-format-and-mapping-logic-used)

Explore Lifetrace's todo serialization format and mapping logic. Learn how SQLAlchemy models convert to flat Python dictionaries and match the TodoResponse schema for JSON serialization.

- Tags: deep-dive
- Published: 2026-03-02

### [How Background Jobs Are Scheduled and Executed in the LifeTrace Jobs Module](/freeu-group/lifetrace/how-are-background-jobs-scheduled-and-executed-in-the-jobs-module)

Understand background jobs scheduling and execution in LifeTrace. Discover how SchedulerManager and JobManager orchestrate processing via APScheduler and dynamic job management.

- Tags: internals
- Published: 2026-03-02

### [How ChromaDB Stores and Retrieves Vector Embeddings in LifeTrace](/freeu-group/lifetrace/how-does-chromadb-store-and-retrieve-vector-embeddings-for-context)

Discover how ChromaDB stores and retrieves vector embeddings for LifeTrace using SQLite files and cosine similarity search. Learn about metadata filtering and reranking.

- Tags: internals
- Published: 2026-03-02

### [How the Multi-Panel Layout System Manages State and Rendering in Lifetrace](/freeu-group/lifetrace/how-does-the-multi-panel-layout-system-manage-state-and-rendering)

Discover how Lifetrace's multi-panel layout system manages state and rendering. Learn about Zustand store for panel control and PanelRegion for responsive display.

- Tags: internals
- Published: 2026-03-02

### [How Electron IPC Handlers Are Registered and Structured in Lifetrace](/freeu-group/lifetrace/how-are-electron-ipc-handlers-registered-and-structured)

Discover how Lifetrace structures Electron IPC handlers using a central orchestrator and `ipcMain.handle`/`ipcMain.on` for efficient request-response and event handling.

- Tags: internals
- Published: 2026-03-02

### [How Calendar Drag-and-Drop Scheduling Works in lifetrace: A Deep Dive into the @dnd-kit Implementation](/freeu-group/lifetrace/how-does-the-calendar-drag-and-drop-scheduling-work-internally)

Discover how lifetrace calendar drag-and-drop scheduling works internally with @dnd-kit. Learn about its type-safe dispatch, global context, and optimistic cache updates.

- Tags: deep-dive
- Published: 2026-03-02

### [How to Configure Custom AI Prompts in Lifetrace: A Complete Guide](/freeu-group/lifetrace/how-do-i-configure-custom-ai-prompts-for-different-features-in-lifetrace)

Learn to configure custom AI prompts in Lifetrace. This guide shows how to create and manage YAML files for unique feature prompts, enhancing your workflow.

- Tags: how-to-guide
- Published: 2026-03-02

### [Lifetrace Database Schema: How Todos Are Stored in SQLite](/freeu-group/lifetrace/what-is-the-database-schema-and-how-are-todos-stored-in-sqlite)

Explore the Lifetrace database schema and discover how todos are stored in SQLite. Learn about the comprehensive todos table supporting iCalendar VTODO standards and more.

- Tags: internals
- Published: 2026-03-02

### [How the LLM Is Integrated into Lifetrace’s Chat System for AI Task Breakdown](/freeu-group/lifetrace/how-is-the-llm-integrated-into-the-chat-system-for-ai-task-breakdown)

Discover how Lifetrace integrates an LLM into its chat system for AI task breakdown. Learn about its unique approach using an Agno toolkit for efficient prompt guidance and avoiding nested LLM calls.

- Tags: how-to-guide
- Published: 2026-03-02

### [How FreeTodo Backend API Authentication and Authorization Works](/freeu-group/lifetrace/how-does-the-backend-api-authentication-and-authorization-system-work-in-freetodo)

Discover how FreeTodo's backend API handles authentication and authorization. Learn about its public endpoints, network security, and API key usage for integrations.

- Tags: deep-dive
- Published: 2026-03-02

