A local web UI for starting, stopping, monitoring, and arranging tmux-managed command cards.
Project description
Tmux Manager v1.3
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.jsonusing aslotfield - Add/edit/delete cards from the UI
- Import/export card layouts as
.tmuxfiles - 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
- Click Edit Mode: Off to turn it on.
- Empty slots will appear.
- Click and drag a card.
- Drop it into an empty slot, or drop it onto another card.
- Layout saves automatically to
~/.tmux_manager/commands.json.
Runtime files are stored under ~/.tmux_manager by default:
commands.jsonfor saved cardslogs/for cached outputstate/for tmux-managed process state
Set TMUX_MANAGER_HOME=/path/to/folder before launch to use a different data directory.
Layout files
After setting up cards in the UI, click Export Layout to save the current card layout as a .tmux file.
Click Import Layout to load a saved .tmux file and replace the current cards.
You can also use layout files from the CLI:
TmuxManager my-layout.tmux
Import a layout without starting the UI:
TmuxManager --import-layout my-layout.tmux --no-server
Export the current layout:
TmuxManager --export-layout my-layout.tmux
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
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 tmuxterminalmanager-1.3.tar.gz.
File metadata
- Download URL: tmuxterminalmanager-1.3.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5dbc30939045d451d465bfc590487a176d4bc5423a470e12267faff8c49212b
|
|
| MD5 |
b20e7e16739e5a59706863aa0a6b8842
|
|
| BLAKE2b-256 |
9c08774e551a68605b29d77b4c5a5f960e70d17243ecab2e7ac407a62b81b81b
|
File details
Details for the file tmuxterminalmanager-1.3-py3-none-any.whl.
File metadata
- Download URL: tmuxterminalmanager-1.3-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02ff6fc27031d524df08a51ee68ac54ea1524effee6c4525bdf9f05339b02d9b
|
|
| MD5 |
d573b61a0728bf1583ecbeb6211f2afa
|
|
| BLAKE2b-256 |
a8d72e459adec246695ea61903cb01a9689eeebdfc920799729efa3f057b79a4
|