Skip to main content

TODO for AI service console client

Project description

TODO for AI Python Client

This is a Python client for the TODO for AI service that runs as a background task. It connects to the server, authenticates, and handles file operations and shell script execution requests.

Features

  • WebSocket connection to TODO for AI server
  • Authentication with email/password or API key
  • Automatic reconnection logic
  • File system operations (directory listing)
  • Shell script execution
  • Heartbeat mechanism to maintain connection
  • Graphical User Interface (GUI) and Command Line Interface (CLI) modes
  • Custom URL protocol handler for web integration

Installation

Recommended guide: Connect PC

From PyPI (Recommended)

pip install todoforai-edge-cli

Download Prebuilt Executables

Download the appropriate file for your system:

For more information, visit our download page.

From Source

git clone https://github.com/todoforai/edge.git
cd edge
pip install -e .

From Snap (Linux)

sudo snap install todoforai-edge

Usage

Graphical User Interface (Default)

By default, TODO for AI Edge starts with a graphical user interface for easy authentication and monitoring:

# Simply run the client to start the CLI
todoforai-edge-cli

The UI provides:

  • Authentication via email/password or API key
  • Client status monitoring
  • Start/stop controls for the client

Command Line Interface (No UI Mode)

For automation, headless environments, or server deployments:

# Using email/password authentication
todoforai-edge-cli --email your@email.com --password yourpassword

# Using an existing API key
todoforai-edge-cli --no-ui --apikey your-api-key

Environment Variables

You can also set the following environment variables:

  • TODO4AI_EMAIL & TODO4AI_PASSWORD: Your email & password for default authentication
  • TODO4AI_API_KEY: If you already have an API key, you can provide it directly

URL Protocol Handler

TODO for AI supports a custom URL protocol (todoforaiedge://) that allows you to start the client directly from a web browser. This is useful for authentication and quick access to the application.

Usage

You can use the following URL formats:

  1. Authenticate with an API key:
todoforaiedge://auth/apikey/YOUR_API_KEY_HERE

Graphical User Interface

TODO for AI Edge includes a simple graphical user interface for authentication and monitoring the client:

# Launch the client with the UI
todoforai-edge

The UI provides:

  • Authentication via email/password or API key
  • Client status monitoring
  • Start/stop controls for the client

This is especially useful for users who prefer not to use the command line.

TO build

sudo apt update && sudo apt install -y \
  build-essential pkg-config libwebkit2gtk-4.1-dev libgtk-3-dev \
  libayatana-appindicator3-dev librsvg2-dev libssl-dev curl wget
	
cd edge_frontend
yarn tauri build

Let Us Know You're Using TODOforAI!

We'd love to hear from you! If you're using TODOforAI in your projects or organization, please consider dropping us a quick note at marcellhavlik@todofor.ai.

Hearing about your use cases helps us:

  • Improve the product based on real-world usage
  • Prioritize features that matter to our community
  • Connect with users who might benefit from upcoming features

This is completely optional and not required by our license, but your feedback is incredibly valuable to our small team!

License

MIT License with Notification Request - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

todoforai_edge_cli-0.11.80.tar.gz (61.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

todoforai_edge_cli-0.11.80-py3-none-any.whl (51.7 kB view details)

Uploaded Python 3

File details

Details for the file todoforai_edge_cli-0.11.80.tar.gz.

File metadata

  • Download URL: todoforai_edge_cli-0.11.80.tar.gz
  • Upload date:
  • Size: 61.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for todoforai_edge_cli-0.11.80.tar.gz
Algorithm Hash digest
SHA256 aa11f64535f5771284b0c42d54e267ac2e1c50df10df2ed8d50e47bb5ce0cf5d
MD5 127930385d2b0b1a6ede80a62f04ac1d
BLAKE2b-256 3764adbd4b2a0450acb650389bfdd1cceaa6bc9fb524ef7498a0813e3508f123

See more details on using hashes here.

File details

Details for the file todoforai_edge_cli-0.11.80-py3-none-any.whl.

File metadata

File hashes

Hashes for todoforai_edge_cli-0.11.80-py3-none-any.whl
Algorithm Hash digest
SHA256 94256422564851f754f09522f9492da392bad1990711b809ee53613710f8055b
MD5 47dc6bdb35e82b3ab3ec3e12325761a0
BLAKE2b-256 5a89b53b5f190a5f8c7b48d2201b05e0fdcacbdaad1ef7877c629e3f23c59fec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page