Skip to content
/ st Public

Simple LAN file transfer command line tool.

License

Notifications You must be signed in to change notification settings

chyok/st

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Transfer

GitHub tag (with filter) GitHub License

st is a command-line file transfer tool for local networks. It has a built-in LAN discovery feature, allowing easy file sharing between devices.

example

Simple Usage

  1. Receive Files: - Run st to start the file reception service and display a QR code. - Another device can scan the QR code or access the displayed service address to upload files.

  2. Send Files: - Run st [filename|foldername] to start the file sending service and display a QR code. - Another device can scan the QR code or access the displayed service address to download the file.

  3. Automatic discovery: If both devices have st running:

    Device A: st

    Device B: st xxx.txt send file to A


    Device A: st xxx.txt

    Device B: st receive file from A

Features

st offers a convenient and quick method for file transfer within a local network.

  • Web-based file transfer interface.
  • QR code for more convenient transfer between mobile phone and pc.
  • Support for transferring both files and folders.
  • Automatic discovery of hosts within a local network.

Installation

Binaries on macOS, Linux, Windows

Download from Github Releases, add st to your $PATH.

Build from Source

go install github.com/chyok/st@latest

Command

st start a receive server and display a QR code., waiting for upload.

st [filename|foldername] start a send server and display a QR code., waiting for download.

st -p [port] manually specify the service port and multicast port, the default is 53333.

License

MIT. See LICENSE.