Giter VIP home page Giter VIP logo

pyflaskyserve's Introduction

pyFlaskyServe: A Server to Serve files fresh from your disk.

Introduction

  • Be the server, share files fresh from your disk, with unlimited space and bandwidth.
  • No intermediaries—give a huge file to your friend without waiting for it to be uploaded to a server first.

Features

  • User authentication using username and password
  • Browse files and directories on the server
  • Upload files to the server
  • Download files from the server
  • Built-in basic anti-DDoS protection
  • Includes a simple PyQt5 GUI

Installation

Static Badge

Get the latest release for windows from here. [Version-v1.0]

  • or:
  1. Clone the repository:

    git clone https://github.com/TechWhizKid/pyFlaskyServe.git
  2. Install the required dependencies using pip:

    pip install Flask Flask-Limiter PyQt5
  3. Run the application:

  • For command-line interface (CLI) access (for debuging):

    python pyFlaskyServe.py
  • For graphical user interface (GUI) access:

    python FlaskyServeGUI.py
  1. Open your web browser and navigate to http://localhost:5000 (or any other port if you are using the GUI) to access the file server.

Usage

To get started, simply open the accounts.json file and create user accounts with usernames and passwords like this:

{
  "username_1":"superstrongpasswd",
  "username_2":"passwordforthisuser",
  "username_3":"anotherexamplepasswd"
}
  • The login page allows users to authenticate using their username and password.
  • After logging in, users can browse and manage files and directories on the server.
  • Use the "Choose File" button to upload files to the server.
  • Click on a folder name to navigate into that folder.
  • Click on a file name to download the file.
  • Use the "Go back" button to navigate to the parent directory.
  • Use the "Root" button to navigate back to the root directory.
  • Click on the circular logout button to log out of the application.

Screenshots

Login page
File server

License

This project is licensed under the MIT License.


Built with ❤️ using Python and Flask.

pyflaskyserve's People

Contributors

techwhizkid avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.