SNetT-Engine is the core engine for SNetT. It is a Go package and CLI that provides a set of tools to manage your files over a network.
- File Sharing: Securely share files between devices using a simple code. Based on Magic Wormhole
- File Server: Host a directory of files with a web-based UI for browsing, downloading, and uploading.
To install SNetT-Engine, use the go install command or download the latest release:
go install github.com/Owbird/SNetT-Engine@latestRun the main program:
SNetT-Engine [command]SNetT-Engine server share -f <file_path>SNetT-Engine server receive -c <CODE>SNetT-Engine server start -d <directory_path>To use SNetT-Engine as a package in your Go application, import it and utilize its features:
import "github.com/Owbird/SNetT-Engine/pkg/server"
func main() {
server := server.NewServer("./", nil)
server.Start()
}For detailed documentation, visit the Go package documentation.
We welcome contributions!
This project is licensed under the MIT License.