https://github.com/fortio/tsync
Cross platform terminal UI (tui) and network based synchronization of clipboard and files (in go)
https://github.com/fortio/tsync
golang-library network synchro tui
Last synced: 4 months ago
JSON representation
Cross platform terminal UI (tui) and network based synchronization of clipboard and files (in go)
- Host: GitHub
- URL: https://github.com/fortio/tsync
- Owner: fortio
- License: apache-2.0
- Created: 2025-09-30T18:20:17.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2026-01-20T06:59:01.000Z (4 months ago)
- Last Synced: 2026-01-20T15:06:07.553Z (4 months ago)
- Topics: golang-library, network, synchro, tui
- Language: Go
- Homepage:
- Size: 804 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pkg.go.dev/fortio.org/tsync)
[](https://goreportcard.com/report/fortio.org/tsync)
[](https://github.com/fortio/tsync/actions/workflows/include.yml)
[](https://codecov.io/github/fortio/tsync)
# tsync
**WIP** (just started)
Cross platform terminal UI (tui) and network based synchronization of clipboard and files
Includes reusable library for network discovery and file/dir sync.
## What does it do / How does it work?
The program starts by figuring out which interface and local address to use (because on Windows the default picks the WSL virtual interface and thus fails to see real peers) by looking up a configurable target (defaults to UDP 8.8.8.8:53, i.e., one of Google's public DNS servers).
It then listens on a multicast address (default 239.255.116.115:29556), periodically sends its own information to that address, and reads information from discovered peers.
Currently, example of peer detection with tsync running on a mac, a linux and a windows box:

## Install
You can get the binary from [releases](https://github.com/fortio/tsync/releases)
Or just run
```
CGO_ENABLED=0 go install fortio.org/tsync@latest # to install (in ~/go/bin typically) or just
CGO_ENABLED=0 go run fortio.org/tsync@latest # to run without install
```
or
```
brew install fortio/tap/tsync
```
or even - but multicast that we need doesn't seem to work at least on docker for mac.
```
docker run --network host -v ~/.tsync:/home/user/.tsync -ti fortio/tsync
```
## Usage
```
tsync help
```