Thanks to visit codestin.com
Credit goes to github.com

Skip to content

yar2000T/LANCryptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LANCryptor Banner

A simple, secure LAN file transfer app with a modern GUI built using CustomTkinter. Featuring RSA + AES encryption, confirmation dialogs, and progress tracking — available via GUI or CLI.

Python 3.10+ License: CC BY-NC 4.0 Linter: Ruff Formatter: Black Build & Release Build Portable EXE Code Style Check


✨ Features

  • 📁 Send and receive files over LAN
  • 🔒 End-to-end encryption (RSA + AES)
  • 🖥️ Clean GUI with tabbed layout
  • 💻 CLI mode for headless environments
  • 🔎 Confirm sender key
  • 📊 Real-time progress bar & history log

🚀 Getting Started

✅ Requirements

  • Python 3.10 or newer
  • Windows, macOS, or Linux

📦 Install Dependencies

pip install -r requirements.txt

💾 Running the App

🖥️ GUI Mode

python src/main.py

Or explicitly:

python src/main.py gui

⚙️ Command-Line Mode

📄 Send a File

python src/main.py send --ip <RECEIVER_IP> --file "<PATH_TO_FILE>"

Examples:

python src/main.py send --ip 192.168.1.42 --file "test.txt"
python src/main.py send --ip 192.168.0.42 --file "C:\somefolder\test.txt"

📅 Receive a File

python src/main.py receive

You'll be prompted to approve the sender's public key hash.


📁 Received Files Location

All received files are auto-extracted to:

./Received/

The folder is created if it doesn't already exist.


🧹 Code Quality

LANCryptor follows modern Python standards using Ruff and Black.

🖤 Format with Black

black .

🔍 Check with Ruff

ruff check .

💪 Auto-fix with Ruff

ruff check . --fix

📜 License

This project is licensed under the Creative Commons BY-NC 4.0. See the LICENSE file for full terms.

About

LANCryptor is a simple and secure LAN file transfer app with a modern UI

Resources

License

Stars

Watchers

Forks

Packages

No packages published