SNetT-Engine

command module
v0.0.0-...-6f3bd2b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 1 Imported by: 0

README

SNetT-Engine

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.

Features

  • 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.

Installation

To install SNetT-Engine, use the go install command or download the latest release:

go install github.com/Owbird/SNetT-Engine@latest

Usage

Command Line Interface (CLI)

Run the main program:

SNetT-Engine [command]
Share a file
SNetT-Engine server share -f <file_path>
Receive a file
SNetT-Engine server receive -c <CODE>
Start the file server
SNetT-Engine server start -d <directory_path>
Go Package

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.

Contributing

We welcome contributions!

License

This project is licensed under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg
server
Package server handles the file hosting server
Package server handles the file hosting server
server/handlers
Package handlers provides the functionalities for file web server hosting
Package handlers provides the functionalities for file web server hosting

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL