Skip to main content

A simple Python server package for file sharing with a retro UI.

Project description

PyServeX

A simple HTTP server for file sharing with a retro-styled web interface.

Installation

Install using pip:

pip install pyservx

Or use pipx for an isolated environment (recommended for Linux):

pipx install pyservx

Ensure you have Python 3.6 or higher installed.

Usage

Run the server:

python3 run.py
  • Follow the prompt to select a shared folder.
  • The server will start at http://localhost:8088 and other network IPs.
  • Access the web interface to browse, download, or upload files.
  • Use Ctrl+C to stop the server.

Features

  • File and folder browsing with a retro "hacker" UI.
  • Download entire folders as ZIP files.
  • Upload files via the web interface.
  • Accessible via localhost (127.0.0.1) and network IPs.
  • QR Code for Easy Access: Scan a QR code in the terminal to quickly access the server from your mobile device on the same network.
  • Real-time Progress Bars: Enjoy real-time progress updates for both uploads and downloads, including ETA, transfer speed, and file size.
  • Multiple File Uploads: Upload multiple files simultaneously through the web interface.
  • No File Size Restriction: Upload files of any size without limitations.
  • Enhanced Web Interface:
    • Search Functionality: Quickly find files with the new search bar.
    • File Sorting: Sort files by name, size, or date for better organization.
    • Modern & Responsive UI: A refreshed, responsive design for seamless use across all devices.
  • Automated robots.txt: A robots.txt file is automatically generated to prevent search engines from indexing your file server, enhancing privacy.
  • Modular Codebase: The server.py file has been refactored into smaller, more maintainable modules (request_handler.py, html_generator.py, file_operations.py).

Requirements

  • Python 3.6+
  • qrcode library (automatically installed with pip)

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyservx-1.1.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyservx-1.1.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file pyservx-1.1.0.tar.gz.

File metadata

  • Download URL: pyservx-1.1.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pyservx-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d06a6afa8c18d5772d57466140beb7e047a5e8bfbe6ea796e91ee77dde7d4aca
MD5 0ad3a0ec5b7966337cc5c1d23d1c4cab
BLAKE2b-256 320ddca57359a3cc0ac1dedab08abd68a17f00782eeedc3930379b405d7bc3d5

See more details on using hashes here.

File details

Details for the file pyservx-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyservx-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pyservx-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ecbacc56570ba877d2129d1be7ce5fc57b1e613d39fb0a59cfd4dc535a5b42d
MD5 4d31fdb8274ecfcda8f3d8b7f125ee6e
BLAKE2b-256 247a43959d5fc11556d85771d429646e0d7ff00797374b27c77a73f4e2d22e3a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page