Skip to content

Patel-Priyank-1602/File_Transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📁 Local File Transfer Server (LFT)

A secure, offline-first local file transfer server that runs on your PC’s Wi-Fi hotspot.
Seamlessly share files between PC and mobile devicesno internet required

🔒 Fully local • 🚀 Fast • 🌐 No cloud • 📱 Mobile-friendly


📘 Documentation

For detailed architecture, API routes, setup guides, and screenshots, visit:

👉 LFTDocs: https://lftdocs.netlify.app/


✨ Features

  • 🔐 Secure Login – Password-protected admin dashboard
  • 📱 Mobile-Friendly – Responsive interface for phones
  • 🔄 Two-Way Transfer – Upload and download files between any device
  • 📊 QR Code Connect – Scan to join Wi-Fi and access instantly
  • 🎨 Modern Dark UI – Clean, simple design
  • 🚀 Offline Support – Works fully offline via your hotspot

📋 Prerequisites

  • 🐍 Python 3.7 or higher
  • 💻 PC with Mobile Hotspot capability
  • 📱 Any smartphone with a QR code scanner

🔒 Security

  • ✅ Login protected dashboard
  • ✅ Credentials stored securely in .env
  • ✅ Only works on your local hotspot network
  • ⚠️ Do not expose to the internet
  • ⚠️ Change default passwords before use

🖼️ Screenshots

Login Page

Server

PC Upload

Mobile Upload

PC Download

Mobile Download


🚀 Installation

  • Clone the Repository

git clone https://github.com/Patel-Priyank-1602/file-transfer.git
cd hotspot-file-server
  • Install Dependencies

pip install flask python-dotenv qrcode pillow
  • Configure Environment Variables

# --- Hotspot Details ---
HOTSPOT_SSID=YourHotspotName
HOTSPOT_PASSWORD=YourHotspotPassword
HOTSPOT_IP=YourHotspotIp
PORT=8000

# --- Admin Credentials ---
ADMIN_USERNAME=admin
ADMIN_PASSWORD=your_secure_password

# --- App Settings ---
SECRET_KEY=your_secret_key_change_this
UPLOAD_FOLDER=shared_files
  • Find Your Hotspot IP

Windows, macOS

ipconfig

Linux

ip addr show

🗂️ Project Structure

FILE_TRANSFER/
├─ Screenshot/
├─ shared_files/
│  └─ .temp/
├─ templates/
│  ├─ chat_app.html
│  ├─ dashboard.html
│  ├─ files.html
│  └─ login.html
├─ .env
├─ .gitignore
├─ app.py
├─ README.md
└─ site_config.json

About

Secure offline File Transfer server over PC hotspot with login system, QR-code access, mobile-friendly UI, and two-way file sharing — no internet required.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors