Skip to main content

Live stream command line output.

Project description

live

Live stream command line output. Inspect long processes from agent workflows.

File based persistence stored in ~/.live. There are no long running daemons. Large logs auto-rotate. Old sessions are cleaned opportunistically.

Requires Python 3.10+. Zero dependencies.

Install

pipx install live-cmd
# or
uv tool install live-cmd

Install shell completions:

live update-shell

Agent guide:

live llms.txt

Usage

Record any command:

live run -n server npm start

Inspect from another process:

live cat server
live tail -f server

Manage session recordings:

live ls
live rm server

Config

~/.live/config.json, auto-created.

Option Default Description
ttlDays 7 Time before old sessions are cleaned up. Negative value to disable.
maxKb 512 Per-session output cap, in KB. Older segments are dropped.
segmentKb 64 Segment file size, in KB, before rotation.
heartbeatSec 30 Seconds between writer heartbeats; 3× this marks a session hung.

References

Links

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

live_cmd-0.2.0.tar.gz (64.7 kB view details)

Uploaded Source

Built Distribution

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

live_cmd-0.2.0-py3-none-any.whl (44.1 kB view details)

Uploaded Python 3

File details

Details for the file live_cmd-0.2.0.tar.gz.

File metadata

  • Download URL: live_cmd-0.2.0.tar.gz
  • Upload date:
  • Size: 64.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for live_cmd-0.2.0.tar.gz
Algorithm Hash digest
SHA256 704d368c4f58b6cebf7b10a60142fe3f597f75db3fde1e81fd95a3bfba614929
MD5 fa94e20a87b25683b279e9b5f53ebec5
BLAKE2b-256 9e470c413d39125b815a68ea38410d75b34b416421668d8af50ee11d7ff20207

See more details on using hashes here.

File details

Details for the file live_cmd-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: live_cmd-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 44.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for live_cmd-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55439911b52d55df1f966e4f96fb9d53d3c9436240deb426c9a9cba5a64bbef6
MD5 080f5b9c63b3c1e57ca199280d3cc74c
BLAKE2b-256 0ed062b7ef87d5a4b408478a9bb4887064b0e479efe9cac456c16b7d3a4ecf8b

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