You can share terminals with Flootty. In practice, it’s similar to a shared screen or tmux session.


Installation

Flootty requires Python 2.7 or later. Flootty can be installed via pip:

~$ pip install flootty Collecting flootty Downloading Flootty-3.2.0.tar.gz (60kB) 100% |████████████████████████████████| 61kB 334kB/s Installing collected packages: flootty Running setup.py install for flootty ... done Successfully installed flootty-3.2.0 ~$

Or you can clone the git repo:

~$ git clone https://github.com/Floobits/flootty.git Cloning into 'flootty'... remote: Counting objects: 2033, done. remote: Total 2033 (delta 0), reused 0 (delta 0), pack-reused 2033 Receiving objects: 100% (2033/2033), 432.15 KiB | 0 bytes/s, done. Resolving deltas: 100% (1334/1334), done. ~$ cd flootty ~/flootty$ sudo python setup.py install running install ... Finished processing dependencies for Flootty==3.2.0 ~/flootty$

Configuration

If you’ve already set up an editor plugin, you’re done! Otherwise, just add your Floobits credentials to your ~/.floorc.json.


Usage

To share a terminal, run the following, replacing owner with organization or username and workspace_name with the name of your workspace:

~$ flootty --url https://floobits.com/owner/workspace_name --create example_terminal_name Terminal is safe. Other users will not be able to send [enter] Connecting to https://floobits.com/owner/workspace_name Connected! Successfully joined https://floobits.com/owner/workspace_name owner::workspace_name::example_terminal_name ~/$

Someone else can join that terminal by running:

~$ flootty --url https://floobits.com/owner/workspace_name example_terminal_name Terminal is safe. Other users will not be able to send [enter] Connecting to https://floobits.com/owner/workspace_name Connected! Successfully joined https://floobits.com/owner/workspace_name owner::workspace_name::example_terminal_name ~/$

Shared terminals are also accessible in the web editor.

If a workspace only has one terminal, flootty will join it. There’s no need to specify a name.

You can skip specifying --url if you run flootty from a workspace directory. Flootty reads the .floo file in that directory to get the workspace info.

To write to a terminal, you must have admin permission in the workspace.