HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
zolrath
wemux
Shell2012–2020
zolrath / wemux

wemux

Multi-User Tmux Made Easy

14Distinct people
15Mentions
0Explicit recommenders
3.7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Multi-User Tmux Made Easy

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year15 dated mentions

Observed mentions: 2012-03-09 08:37:17 UTC to 2020-04-30 14:04:35 UTC.

02462012-01-01 00:00:00 UTC to 2013-01-01 00:00:00 UTC (exclusive): 6 mentions; 1 submissions, 5 comments20122013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2020

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20122012-01-01 00:00:00 UTC2013-01-01 00:00:00 UTC615
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC312
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC211
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC000
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC000
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC202
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC000
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC101
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
wemux enhances tmux to make multi-user terminal multiplexing both easier and more powerful. It allows users to host a wemux server and have clients join in either: Mirror Mode gives clients (another SSH user on your machine) read-only access to the session, allowing them to see you work, or Pair Mode allows the client and yourself to work in the same terminal (shared cursor) Rogue Mode allows the client to pair or work independently in another window (separate cursors) in the same tmux session. It features multi-server support as well as user listing and notifications when users attach/detach. How To Install IMPORTANT: Wemux requires tmux version >= 1.6 MacPorts (on OS X) If you have MacPorts installed you can install wemux with a very simple: sudo port install wemux Homebrew (on OS X) If you have Homebrew installed you can install wemux with a fairly simple: brew install wemux The user that installed wemux will automatically be added to the wemux host list. To change the host or add more hosts, edit /usr/local/etc/wemux.conf and add the username to the host_list array. Users in the host_list will be able to start new wemux servers, all other users will be wemux clients and join these servers. $ vim /usr/local/etc/wemux.conf OR $ wemux conf host_list=(zolrath brocksamson) Manual Installation The rest of this readme will operate under the assumption you'll place wemux in wemux/ in your /usr/local/share directory. To make wemux available for all users, perform the following steps, using sudo as required: Git clone this repo. git clone git://github.com/zolrath/wemux.git /usr/local/share/wemux Symlink the wemux file into your $PATH via /usr/local/bin/, being sure to use the full path. ln -s /usr/local/share/wemux/wemux /usr/local/bin/wemux IMPORTANT: Copy the wemux.conf.example file to /usr/local/etc/wemux.conf cp /usr/local/share/wemux/wemux.conf.example /usr/local/etc/wemux.conf Then set a user to be a wemux host by adding their username to the host_list in /usr/local/etc/wemux.conf. Users in the host_list will be able to start new wemux servers, all other users will be wemux clients and join these servers. vim /usr/local/etc/wemux.conf host_list=(zolrath brocksamson) To upgrade to a new version of wemux return to the /usr/local/share/wemux directory and perform a git pull Host Commands wemux start Use wemux start to start a wemux server, chmod /tmp/wemux-wemux to 1777 so that other users may connect to it, and attach to it. If a wemux server already exists, it will attach to it instead. wemux attach Use wemux attach to attach to an existing wemux server. wemux stop Use wemux stop to kill the wemux server and remove the /tmp/wemux-wemux socket. wemux kick username Use wemux kick <username> to kick an SSH user from the server and remove their wemux rogue sessions. wemux config Use wemux config to open /usr/local/etc/wemux.conf in your $EDITOR. Note this only works if you have the environment variable EDITOR configured. wemux When wemux is run without any arguments in host mode, it is just like running wemux start. It will reattach to an existing wemux server if it exists, otherwise it will start a new server. Client Commands wemux mirror Use wemux mirror to attach to server in read-only mode. wemux pair Use wemux pair to attach to server in pair mode, allowing the client to control the terminal as well. wemux rogue Use wemux rogue to attach to server in rogue mode, which allows both editing with the host and switching to windows independently from the host. wemux logout Use wemux logout to remove your rogue mode session. wemux When wemux is run without any arguments in client mode, its behavior attempts to intelligently select mirror, pair, or rogue: If the client does not have an existing rogue session it will attach to the wemux server in pair mode. If the client has already started a wemux rogue session, it will reattach to the server in rogue mode. If both rogue and pair mode are disabled, it will attach in mirror mode. By setting default_client_mode="rogue" in wemux.conf this can be changed to always join in rogue mode, even if a rogue session doesn't already exist. Other Commands wemux passes commands it doesn't understand through to tmux with the correct socket setting. wemux list-sessions is equivalent to entering tmux -S /tmp/wemux-wemux list-sessions User List wemux can display a list of connected users, indicating users in mirror mode with [m] at the end of their name. If you'd like to see a list of all users currently connected to the wemux server, you have three options: wemux users Enter wemux users in the terminal to display a list of all currently connected wemux users. $ wemux users Users connected to 'wemux': 1. zolrath 2. csagan[m] Status Bar You can add the user list to your status bar by adding #(wemux status_users) where you see fit by editing your ~/tmux.conf file. set -g status-right "#(wemux status_users)" Display Message If you'd rather display users on command via a tmux message, similar to the user attachment/detachment messages, you can do so by editing your ~/tmux.conf file. Pick whatever key you'd like to bind the displaying the message to. Using t as an example: unbind t bind t run-shell 'wemux display_users' Note that the tmux prefix should be pressed before t to activate the command. User listing can be disabled by setting allow_user_list="false" in wemux.conf Short-form Commands All commands have a short form. s for start, a for attach, p for pair etc. For a complete list, type wemux help (or wemux h) Multi-Host Capabilities wemux supports specifying the joining different wemux servers via wemux join <server>. This allows multiple hosts on the same machine to host their own independent wemux servers with their own clients. By default this option is disabled. wemux will remember the last server specified to in order to make reconnecting to the same server easy. wemux help will output the currently specified server along with the we
Read the full README on GitHub

What Hacker News says

15 sources
I'd recommend wemux[0] for anyone wanting to share tmux sessions with other people (or even just themselves). It supports several modes: - mirror: to attach to server in read-only mode. - pair: attach to server in pair mode, allowing the client to control the terminal as well. - rogue: attach to server in rogue mode, which allows both editing with the host and switching to windows independently from the host. I personally use rogue to share tmux sessions between my own devices without affecting whatever I'm doing on the other devices. [0]: https://github.com/zolrath/wemux
In SSH hacks – a little sanity for remote workers
just in case anyone isn't aware of it, wemux https://github.com/zolrath/wemux/ makes paired programming very easy to setup for tmux, many of the 'issues' discussed are also pretty solvable with a bit of googling.. there's various different work arounds.. a recent one I came across was to make sure your vim is compiled with +xterm_clipboard and +clipboard.. then doing "r+ allows you to paste directly from your clipboard using vim rather than relying on whatever your terminal emulator gets up to.. vim --version | grep clipboard to check how your vim was compiled also, adding the following to ~/.tmux.conf is useful -------------- #copy tmux paste buffer to clipboard bind C-c run "tmux show-buffer | xclip -i -selection clipboard" #copy clipboard to tmux paste buffer and paste tmux paste buffer bind C-v run "tmux set-buffer --- \"$(xclip -o -
Read the rest
selection clipboard)\"; tmux paste-buffer"
In How Pivotal Labs use Tmux for remote pair programming

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.