Skip to content

AtillaMutlu/LAN-File-Sharing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lan Files Sharing

Local network file sharing application built with Go and Fyne.

Download

📥 Download Latest Release (EXE)

Or download the source code and build yourself.

Features

  • Modern GUI interface (Fyne)
  • Local network file sharing
  • Drag & drop file upload
  • Download files
  • Delete files
  • Copy direct download links
  • QR code generation for mobile access
  • Multi-language support (Turkish & English)
  • Automatic shared folder creation
  • Real-time file list updates

Installation

Prerequisites

  • Go 1.21 or higher
  • GCC (for Fyne CGO compilation)

Building from Source

  1. Install dependencies:
go mod download
  1. Build (with icon and metadata):
build.bat

Or manually:

# Install go-winres (first time only)
go install github.com/tc-hib/go-winres@latest

# Generate resources
go-winres make

# Build
go build -ldflags "-H=windowsgui -s -w" -o filessharing.exe

Usage

  1. Run filessharing.exe

  2. Click "Sunucuyu Başlat" (Start Server)

  3. Share files by:

    • Clicking "Dosya Yükle" (Upload File)
    • Dragging files into the window
    • Or copying files directly to the sharing folder
  4. Access files from other devices:

    • Use the displayed URL in a web browser
    • Scan QR codes with mobile devices
    • Share direct download links

Configuration

  • Port: 8081 (default)
  • Shared Folder: sharing (created automatically next to exe)
  • Default Language: Turkish

Project Structure

filessharing/
├── main.go                 # Application entry point
├── go.mod                  # Go module definition
├── build.bat               # Build script
├── winres/                 # Windows resources
│   ├── icon.png            # Application icon
│   └── winres.json         # Config
├── internal/
│   ├── app/               # Application core
│   ├── config/            # Configuration
│   ├── gui/               # GUI interface (Fyne)
│   ├── i18n/              # Internationalization
│   ├── qrcode/            # QR code generation
│   ├── server/            # HTTP server & API
│   └── storage/           # File storage
└── sharing/               # Shared files (auto-created)

Technologies

  • Go - Backend language
  • Fyne v2 - Cross-platform GUI framework
  • go-qrcode - QR code generation
  • go-winres - Windows resources (icon, metadata)

API Endpoints

  • GET /api/files - List shared files
  • POST /api/upload - Upload files
  • GET /api/download/{filename} - Download file
  • DELETE /api/delete/{filename} - Delete file

License

MIT License

Author

Atilla Mutlu - 2025

Version

1.0.0

About

Allows you to quickly transfer files to other computers on the same network using your local network speed. It operates through your local IP address on port 8081.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors