Skip to content
/ pairon Public

Editor agnostic realtime pair programing with git as backend (PoC)

License

Notifications You must be signed in to change notification settings

icetan/pairon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pairon

Editor agnostic realtime pair programing with git as backend (PoC)

Install with Nix

nix-env -i -f https://github.com/icetan/pairon/archive/master.tar.gz

Setup from source

Dependencies:

  • git
  • ssh
  • inotify-tools or fswatch

Copy source:

git clone https://github.com/icetan/pairon

pairon using Nix:

nix-env -i -f ./pairon

Without Nix on Debian or Ubuntu:

apt-get install git openssh inotify-tools

Or on Mac OS:

brew install git openssh fswatch

Add to PATH:

export PATH=$PWD/pairon:$PATH

Usage

Start a central pairon share by first creating a shared ssh user.

sudo useradd -m pairon
sudo -u pairon mkdir -p ~pairon/.ssh
sudo -u pairon tee -a ~pairon/.ssh/authorized_keys < ~/.ssh/id_rsa.pub
sudo chmod g+s ~pairon
sudo chmod -R 755 ~pairon
sudo chmod 600 ~pairon/.ssh/authorized_keys

Create a directory with files that you want to share.

mkdir my-share
cd my-share
echo Look at this file! > a-file

Start sharing your files.

pairon connect pairon@127.0.0.1:shared-repo

Then you can start editing files.

echo It is awesome >> a-file

To get the best experience in your editor enable auto-save and auto-reloading of files. The faster to save/reload files the better.

Check out the editor-plugins directory for plugins/settings that match your editor.

About

Editor agnostic realtime pair programing with git as backend (PoC)

Resources

License

Stars

Watchers

Forks

Packages

No packages published