Back to Flet

**Mind Queue**

sdk/python/examples/community/mind_queue/README.md

0.85.0.dev22.9 KB
Original Source

Mind Queue

Mind Queue is a minimalist productivity app built with Flet (Python + Flutter UI). It helps you organize your life into Systems → Headers → Tasks, with a focus on simplicity, speed, and clarity.


Features

  • Create / edit / delete multiple systems
  • Add / rename / delete headers
  • Add / edit / delete tasks
  • Mark tasks done / undone
  • Confirmation dialog before deleting a system
  • Clean dark UI
  • Persistent local storage using data.json (for now)

Controls

ActionLocation
Add systemDashboard
Open systemClick a system card
Add headerBottom of system page
Add taskAt the end of each header
EditPencil icon
DeleteTrash icon
Delete systemBottom red button with confirmation
Toggle doneCheckbox

How It Works

LevelExamplePurpose
SystemDaily RoutineEntire workflow
HeaderMorning / Work / NightSections inside a system
TaskExercise, Coding, ReadingIndividual actionable items

Data Storage

All data is stored locally in assets/data.json:

json
{
  "SystemName": {
    "HeaderName": [
      ["TaskTitle", "Description", false]
    ]
  }
}

Make sure a data.json file exists. If not, create a demo one:

json
{
    "Daily Routine": {
        "Morning": [
            ["7:00 AM", "Wake up & Meditation", false],
            ["7:15 AM", "Walk", true],
            ["7:45 AM", "Breakfast", false],
            ["8:00 AM", "Cooking & Cleaning", true],
            ["9:00 AM", "Bath & Ready for office", false]
        ],
        "Work": [
            ["10:00 AM", "Log in", true],
            ["2:00 PM", "Lunch", false],
            ["7:00 PM", "Log out", false]
        ],
        "Night": [
            ["8:30 PM", "Reach Home", false],
            ["9:00 PM", "Dinner", false],
            ["9:30 PM", "Productivity", true],
            ["11:00 PM", "No phone, self-care, meditation", false],
            ["12:00 AM", "Sleep", false]
        ]
    }
}

Run the App

Install dependencies

bash
pip install uv
uv sync

Run

bash
uv run python main.py

Run on Mobile

  1. Install Flet App for Mobile
  2. Then, run
uv run flet run --android
uv run flet run --ios

Future Enhancements

  • Daily auto reset
  • Progress tracking & statistics
  • Cloud sync / login
  • Store data to sqlite3

License

Free to use, customize, and improve.