https://github.com/subev/pairsync
Live sync working files while pair programming. Don't just screen-share, let others contribute some work from their side as you go!
https://github.com/subev/pairsync
git live-coding pair-programming websockets
Last synced: 12 days ago
JSON representation
Live sync working files while pair programming. Don't just screen-share, let others contribute some work from their side as you go!
- Host: GitHub
- URL: https://github.com/subev/pairsync
- Owner: subev
- License: mit
- Created: 2021-06-21T23:48:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-20T08:04:59.000Z (almost 4 years ago)
- Last Synced: 2025-08-10T21:56:14.294Z (6 months ago)
- Topics: git, live-coding, pair-programming, websockets
- Language: TypeScript
- Homepage:
- Size: 189 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PairSync
Sync files automatically between two or more git repositories.
One acts as the server and multiple clients can connect.
If a file is modified on any of the machines the changes are broadcasted to the others.
# Installation
`npm install -g pairsync`
# Usage
On one of the machines:
`pairsync-server`
You will get an address to share with the other(s)
On the other machine(s):
`pairsync-client https://random-animal-42.loca.lt`
Short video demo sync between two repositories:
[](https://www.youtube.com/watch?v=9uvHl_-tz88)
## Notes
The server should have an active branch published to the remote.
If there are any changes in the working directory of the server they will be synced when a client connects.
Clients will be asked to stash their unpublished changes before trying to connect.
In racing conditions - the last one wins.
### Enjoy pair programming!
TODO
- [] add commit support?