Skip to main content

A local web UI for starting, stopping, monitoring, and arranging tmux-managed command cards.

Project description

Tmux Manager v1.1

Tmux Manager is a configurable local web UI for starting, stopping, monitoring, and arranging tmux-managed command cards.

Features

  • Four card slots per row on wide screens
  • Edit Mode for layout changes
  • Drag cards into empty slots
  • Drop a card onto another card; the card that was there moves to the next available slot
  • Card positions are saved in commands.json using a slot field
  • Add/edit/delete cards from the UI
  • Each card runs in its own tmux window
  • Logs are cached under logs/

Install

sudo apt update
sudo apt install -y tmux python3

Install from PyPI:

python3 -m pip install TmuxTerminalManager

For local development from a clone:

python3 -m pip install -e .

Start

TmuxManager

Open:

http://127.0.0.1:8765

Edit Mode layout

  1. Click Edit Mode: Off to turn it on.
  2. Empty slots will appear.
  3. Click and drag a card.
  4. Drop it into an empty slot, or drop it onto another card.
  5. Layout saves automatically to ~/.tmux_manager/commands.json.

Runtime files are stored under ~/.tmux_manager by default:

  • commands.json for saved cards
  • logs/ for cached output
  • state/ for tmux-managed process state

Set TMUX_MANAGER_HOME=/path/to/folder before launch to use a different data directory.

Example command entries

Isaac Sim alias/function

bash -ic 'isaacsim_ros'

ROS 2 launch

source /opt/ros/humble/setup.bash && source ~/your_ws/install/setup.bash && exec ros2 launch my_pkg my_launch.launch.py

Shell script

bash ./ffmpeg.sh

Docker foreground

docker run --rm -it --name mediamtx your_image

Stop behavior

The UI's Ctrl+C Stop button sends the same thing as pressing Ctrl+C inside the tmux window:

tmux send-keys -t tmux_manager:<card_id> C-c

Foreground commands should stop cleanly.

Background commands using &, nohup, or docker run -d may continue after the shell exits.

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

tmuxterminalmanager-1.1.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

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

tmuxterminalmanager-1.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file tmuxterminalmanager-1.1.tar.gz.

File metadata

  • Download URL: tmuxterminalmanager-1.1.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for tmuxterminalmanager-1.1.tar.gz
Algorithm Hash digest
SHA256 235fc249180b865b295e27cdb65bc0cd7ad8ab3951b5dd144a1c0ca1a97ee46c
MD5 fa063b1ca995bf6477543bfbd89b3b4a
BLAKE2b-256 4b5900ca87940652e38e8a499efd9608055dbb411e4bb2e8dda660ded1c761e1

See more details on using hashes here.

File details

Details for the file tmuxterminalmanager-1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tmuxterminalmanager-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3876eec8581cdb8c464c9ac619a9cec29e8ee9c7fcf63558a860bbf6878d404
MD5 ebb546ca86ca30397f50cde9b06f83bd
BLAKE2b-256 f778bee8fe799fe52498bc8ff0955963b6e080af35ca3b3cb0ff30a0817e1ea3

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