Command-line tooling for personal operating system workflows, tools, and automation.
Project description
lifeos-cli
██╗ ██╗███████╗███████╗ ██████╗ ███████╗
██║ ██║██╔════╝██╔════╝██╔═══██╗██╔════╝
██║ ██║█████╗ █████╗ ██║ ██║███████╗
██║ ██║██╔══╝ ██╔══╝ ██║ ██║╚════██║
███████╗██║██║ ███████╗╚██████╔╝███████║
╚══════╝╚═╝╚═╝ ╚══════╝ ╚═════╝ ╚══════╝
lifeos-cli is a terminal-native LifeOS for people who want one structured system for intentions, plans, execution, reflection, and reality.
Why It Exists
Most personal systems fragment life into disconnected tools. Tasks live in one place, calendars in another, notes somewhere else, and actual time spent disappears into scattered logs.
That makes it unnecessarily hard to answer practical questions such as:
- What did I intend to do?
- What actually happened?
- What did I spend time on?
- Which routines are real versus aspirational?
- Which people, projects, and priorities am I actually serving?
It gives structure to both sides of life:
- intention: visions, tasks, habits, and planned events
- reality: notes, timelogs, completed habit actions, and relationship records
The goal is not just storage, but one CLI interface for self-management, reflection, and automation.
Getting Started
Install or upgrade from PyPI:
uv tool install --upgrade lifeos-cli
Install PostgreSQL support only when you need it:
uv tool install --upgrade "lifeos-cli[postgres]"
Install the optional local Web API dependencies when you want browser or HTTP access backed by the same configured LifeOS database:
uv tool install --upgrade "lifeos-cli[web]"
lifeos-cli supports both SQLite and PostgreSQL.
- SQLite is the low-friction option for local, single-user setups.
- PostgreSQL remains the schema-capable backend for managed deployments.
Initialize your local setup:
lifeos init
For local-first use, lifeos init can bootstrap SQLite without requiring a separate database service. Use lifeos init --help for backend-specific defaults and examples.
You can run that step yourself, or ask an agent that can run terminal commands to do it for you.
See the available command surface:
lifeos --help
Start the local Web API server:
lifeos web serve
lifeos web serve does not install, build, or bundle the frontend workspace from
PyPI. To serve a built checkout UI from the same process, build web/ and pass
its output directory explicitly:
lifeos web serve --static-dir web/dist
If your configured database URL uses PostgreSQL, install or run with both optional extras:
uv run --extra web --extra postgres lifeos web serve
During frontend development, run the Vite app in web/ and proxy API requests to
the local Web API:
cd web
npm install
npm run dev
Inspect and adjust runtime preferences:
lifeos config show
lifeos config set preferences.timezone America/Toronto
lifeos config set preferences.language zh-Hans
Common commands:
lifeos schedule show --date 2026-04-13
lifeos task list
lifeos note add "Capture today's key decisions"
lifeos timelog list --date 2026-04-13
For complete CLI usage, workflows, and output conventions, see docs/cli.md.
Agent Use (Recommended)
Any agent runtime that can execute terminal commands and inspect command output can operate the same CLI. That includes Codex, OpenCode, Swival, Claude Code, Cursor, Gemini CLI, OpenClaw, or your own setup.
- stable grammar:
lifeos <resource> <action> [arguments] [options] - help-first command model, with
--helpas the primary command reference - identifier-driven discovery flows built around
listandshow - compact summary output for lists and labeled output for record detail views
- entity-specific primary-key headers such as
task_id,vision_id, andevent_id
Current Scope
The current system already covers the core building blocks of a practical LifeOS:
- notes
- areas
- tags
- people
- visions
- tasks
- habits and habit actions
- events
- timelogs
Cross-cutting capabilities:
- a
scheduleread model that aggregates tasks, habit actions, and planned events into day and range views - recurring event expansion and recurring habit cadence support, including on-demand habit-action materialization
- generic note associations across tasks, visions, events, people, timelogs, and tags
- persisted runtime configuration for database access plus preferences such as timezone, language, day boundary, week boundary, and vision experience defaults
- localized CLI help and stable summary-table output for direct human use and agent consumption
Project Policies
- Contribution workflow: CONTRIBUTING.md
- Security disclosure: SECURITY.md
- Community expectations: CODE_OF_CONDUCT.md
License
This project is licensed under the Apache License 2.0. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lifeos_cli-0.15.0.tar.gz.
File metadata
- Download URL: lifeos_cli-0.15.0.tar.gz
- Upload date:
- Size: 436.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66668547936ef8ab1b2b2bb951ebf627686c925a46575f9561c12b9f55ff67e5
|
|
| MD5 |
c3a7e758f58e32dec567ddaa0989ff91
|
|
| BLAKE2b-256 |
786630cda03c2841c283e992030e64e18a95132439669dd29153e2add19604a8
|
Provenance
The following attestation bundles were made for lifeos_cli-0.15.0.tar.gz:
Publisher:
publish.yml on liujuanjuan1984/lifeos-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lifeos_cli-0.15.0.tar.gz -
Subject digest:
66668547936ef8ab1b2b2bb951ebf627686c925a46575f9561c12b9f55ff67e5 - Sigstore transparency entry: 1800347278
- Sigstore integration time:
-
Permalink:
liujuanjuan1984/lifeos-cli@e6c880e8ba7d871db36d2ddacf29cf8988f9c652 -
Branch / Tag:
refs/tags/v0.15.0 - Owner: https://github.com/liujuanjuan1984
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e6c880e8ba7d871db36d2ddacf29cf8988f9c652 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lifeos_cli-0.15.0-py3-none-any.whl.
File metadata
- Download URL: lifeos_cli-0.15.0-py3-none-any.whl
- Upload date:
- Size: 308.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49b9b6a38ef63a2be430101d738e957e78fece40a658d4b3b8edf76f104a2c8e
|
|
| MD5 |
7521b9ea8a75e8b35ea9703284f3958a
|
|
| BLAKE2b-256 |
3de034e3099769ae686485acea487fbaa23573632c34bbd490ec041ec65a4681
|
Provenance
The following attestation bundles were made for lifeos_cli-0.15.0-py3-none-any.whl:
Publisher:
publish.yml on liujuanjuan1984/lifeos-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lifeos_cli-0.15.0-py3-none-any.whl -
Subject digest:
49b9b6a38ef63a2be430101d738e957e78fece40a658d4b3b8edf76f104a2c8e - Sigstore transparency entry: 1800347554
- Sigstore integration time:
-
Permalink:
liujuanjuan1984/lifeos-cli@e6c880e8ba7d871db36d2ddacf29cf8988f9c652 -
Branch / Tag:
refs/tags/v0.15.0 - Owner: https://github.com/liujuanjuan1984
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e6c880e8ba7d871db36d2ddacf29cf8988f9c652 -
Trigger Event:
push
-
Statement type: