{"id":48100744,"url":"https://github.com/bahri-hirfanoglu/wmux","last_synced_at":"2026-04-04T15:42:46.176Z","repository":{"id":347651939,"uuid":"1194784844","full_name":"bahri-hirfanoglu/wmux","owner":"bahri-hirfanoglu","description":"A native Windows terminal multiplexer — tmux for Windows, built in Rust","archived":false,"fork":false,"pushed_at":"2026-03-28T22:05:51.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-28T22:06:58.587Z","etag":null,"topics":["cli","conpty","rust","terminal","terminal-multiplexer","tmux","windows"],"latest_commit_sha":null,"homepage":"https://bahri-hirfanoglu.github.io/wmux/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bahri-hirfanoglu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-28T20:09:19.000Z","updated_at":"2026-03-28T22:06:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bahri-hirfanoglu/wmux","commit_stats":null,"previous_names":["bahri-hirfanoglu/wmux"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bahri-hirfanoglu/wmux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahri-hirfanoglu%2Fwmux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahri-hirfanoglu%2Fwmux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahri-hirfanoglu%2Fwmux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahri-hirfanoglu%2Fwmux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahri-hirfanoglu","download_url":"https://codeload.github.com/bahri-hirfanoglu/wmux/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahri-hirfanoglu%2Fwmux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31403960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","conpty","rust","terminal","terminal-multiplexer","tmux","windows"],"created_at":"2026-04-04T15:42:46.026Z","updated_at":"2026-04-04T15:42:46.132Z","avatar_url":"https://github.com/bahri-hirfanoglu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://bahri-hirfanoglu.github.io/wmux/\"\u003e\n    \u003cimg src=\"docs/logo.svg\" alt=\"wmux\" width=\"400\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\u003cbr\u003e\n  \u003ca href=\"https://crates.io/crates/wmux\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/wmux.svg\" alt=\"crates.io\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/wmux\"\u003e\u003cimg src=\"https://img.shields.io/crates/d/wmux.svg\" alt=\"Downloads\"\u003e\u003c/a\u003e\n  \u003ca href=\"#license\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/bahri-hirfanoglu/wmux/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/bahri-hirfanoglu/wmux?include_prereleases\" alt=\"GitHub Release\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nwmux lets you create persistent terminal sessions on Windows that survive terminal closes. Detach from a session, close your terminal, and reattach later — your processes keep running.\n\nBuilt in Rust, wmux uses **ConPTY** for native pseudo-terminal support and **Named Pipes** for IPC, with a background daemon that manages all sessions.\n\n## Features\n\n- **Persistent sessions** — shell processes survive terminal closes\n- **Detach / reattach** — disconnect and reconnect at any time\n- **Split panes** — horizontal and vertical splits via Windows Terminal\n- **Pane navigation** — switch between panes with keyboard shortcuts\n- **Pane resizing** — resize panes with Alt+Arrow keys\n- **tmux-style keybindings** — `Ctrl+B` prefix, familiar to tmux users\n- **Background daemon** — lightweight process manages all sessions\n- **Auto-start daemon** — daemon starts automatically when needed\n- **TOML configuration** — customize shell and behavior\n- **Native Windows** — no WSL, no Cygwin, just Windows\n\n## Quick Start\n\n```\nwmux new            # create a new session (auto-starts daemon)\nwmux attach         # attach to the most recent session\n# Ctrl+B, d        # detach from the session\nwmux ls             # list all sessions\n```\n\n## Installation\n\n### From crates.io\n\n```\ncargo install wmux\n```\n\n### From source\n\n```\ngit clone https://github.com/bahri-hirfanoglu/wmux.git\ncd wmux\ncargo build --release\n```\n\nThe binary will be at `target/release/wmux.exe`. Add it to your `PATH` or copy it to a directory that is already in your `PATH`.\n\n## Usage\n\n### Session management\n\n```bash\n# Create a new session (daemon starts automatically if not running)\nwmux new\n\n# List all active sessions\nwmux ls\n\n# Attach to the most recent session\nwmux attach\n\n# Attach to a specific session by ID\nwmux attach \u003csession-id\u003e\n\n# Kill a specific session\nwmux kill-session \u003csession-id\u003e\n```\n\n### Pane management\n\n```bash\n# Split the current pane horizontally (top/bottom)\nwmux split -H\n\n# Split the current pane vertically (left/right)\nwmux split -v\n\n# Kill the current pane\nwmux kill-pane\n\n# Kill a specific pane by ID\nwmux kill-pane --pane-id \u003cid\u003e\n```\n\n### Daemon management\n\n```bash\n# Manually start the daemon\nwmux daemon-start\n\n# Check daemon and session status\nwmux status\n\n# Stop the daemon and all sessions\nwmux kill-server\n```\n\n## Key Bindings\n\nAll key bindings use the `Ctrl+B` prefix (press `Ctrl+B`, release, then press the action key).\n\n| Key | Action |\n|-----|--------|\n| `Ctrl+B`, `d` | Detach from the current session |\n| `Ctrl+B`, `\"` | Split pane horizontally (top/bottom) |\n| `Ctrl+B`, `%` | Split pane vertically (left/right) |\n| `Ctrl+B`, `x` | Kill the current pane |\n| `Ctrl+B`, `Arrow` | Navigate between panes |\n| `Ctrl+B`, `Alt+Arrow` | Resize the current pane |\n\n## Configuration\n\nwmux reads its configuration from:\n\n```\n%APPDATA%\\wmux\\config.toml\n```\n\n### Example config\n\n```toml\n# Override the default shell\ndefault_shell = \"pwsh.exe\"\n\n# Other examples:\n# default_shell = \"cmd.exe\"\n# default_shell = \"C:\\\\Program Files\\\\Git\\\\bin\\\\bash.exe\"\n```\n\nIf no config file exists, wmux uses sensible defaults.\n\n## Architecture\n\n```\n┌──────────┐    Named Pipe     ┌──────────────┐    ConPTY     ┌───────────┐\n│  wmux    │◄─────────────────►│  wmux daemon │◄─────────────►│  Shell    │\n│  client  │   (JSON/IPC)      │  (background)│  (pseudo-tty) │  process  │\n└──────────┘                   └──────────────┘               └───────────┘\n```\n\n- **Client** (`wmux` CLI) — sends commands to the daemon via Named Pipes\n- **Daemon** — long-running background process that manages sessions and panes, communicates with shell processes through ConPTY\n- **ConPTY** — Windows pseudo-terminal API (available since Windows 10 1809) that provides proper terminal emulation\n- **Named Pipes** — Windows IPC mechanism used for communication between client and daemon, with length-prefixed JSON messages\n\n## Requirements\n\n- **Windows 10 version 1809+** or **Windows 11** (for ConPTY support)\n- **Windows Terminal** (required for split pane functionality)\n- **Rust 1.70+** (to build from source)\n\n## Contributing\n\nContributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## License\n\nLicensed under either of:\n\n- [MIT License](LICENSE-MIT)\n- [Apache License, Version 2.0](LICENSE-APACHE)\n\nat your option.\n\n## Author\n\n[Bahri Hirfanoglu](https://github.com/bahri-hirfanoglu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahri-hirfanoglu%2Fwmux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahri-hirfanoglu%2Fwmux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahri-hirfanoglu%2Fwmux/lists"}