back to home

tmux-python / tmuxp

🖥️ Session manager for tmux, built on libtmux.

4,449 stars
236 forks
114 issues
PythonJust

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing tmux-python/tmuxp in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/tmux-python/tmuxp)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

tmuxp Session manager for tmux, which allows users to save and load tmux sessions through simple configuration files. Powered by libtmux. **New to tmux?** The Tao of tmux is available on Leanpub and Amazon Kindle. Read and browse the book for free on the web. **Have some spare time?** Help us triage and code review and the tracker. See issue #290! Installation pip: If you're managing the project with uv, add tmuxp as a dependency instead: To run tmuxp without installing it globally, similar to , invoke it with uvx: Homebrew: Debian / ubuntu: Nix: Find the package for your distro on repology: Developmental releases: • pip: Or request the pre-release from a uv project environment: • uvx: • pipx: Then use . Load a tmux session Load tmux sessions via json and YAML, tmuxinator and teamocil style. Save as _mysession.yaml_, and load: Projects with _.tmuxp.yaml_ or _.tmuxp.json_ load via directory: Load multiple at once (in bg, offer to attach last): Name a session: simple and very elaborate config examples User-level configurations tmuxp checks for configs in user directories: • , if set • , usually _$HOME/.config/tmuxp/_ • Load your tmuxp config from anywhere by using the filename, assuming _\~/.config/tmuxp/mysession.yaml_ (or _.json_): See author's tmuxp configs and the projects' tmuxp.yaml. Shell _New in 1.6.0_: launches into a python console preloaded with the attached server, session, and window in libtmux objects. Supports PEP 553 (including ). Also supports direct commands via : Read more on tmuxp shell in the CLI docs. Pre-load hook Run custom startup scripts (such as installing project dependencies) before loading tmux. See the before_script example Load in detached state You can also load sessions in the background by passing flag Screenshot Freeze a tmux session Snapshot your tmux layout, pane paths, and window/session names. See more about freezing tmux sessions. Convert a session file Convert a session file from yaml to json and vice versa. This will prompt you for confirmation and shows you the new file that is going to be written. You can auto confirm the prompt. In this case no preview will be shown. Plugin System tmuxp has a plugin system to allow for custom behavior. See more about the Plugin System. Debugging Helpers The command provides a way to log output to a log file for debugging purposes. Collect system info to submit with a Github issue: Docs / Reading material See the Quickstart. Documentation homepage (also in 中文) Want to learn more about tmux itself? Read The Tao of Tmux online. Donations Your donations fund development of new features, testing and support. Your money will go directly to maintenance and development of the project. If you are an individual, feel free to give whatever feels right for the value you get out of the project. See donation options at . Project details • tmux support: 3.2+ • python support: >= 3.10, pypy, pypy3 • Source: • Docs: • API: • Changelog: • Issues: • Test Coverage: • pypi: • Open Hub: • Repology: • License: MIT.