Skip to content

ShahFaisal03/Flask-file-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Flask File Manager

Simple Flask app that lets users add/open/delete files (upload folder, templates, static).

Run locally:

  1. Create a virtual environment:

    • macOS/Linux:
      python3 -m venv .venv
      source .venv/bin/activate
    • Windows (PowerShell):
      python -m venv .venv
      .\.venv\Scripts\Activate.ps1
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run locally:

    python app.py

    Open http://127.0.0.1:5000

OR

  1. Run manually

   $env:FLASK_APP = "app.py"
   $env:FLASK_ENV = "development"
   python -m flask run
   

Notes:

  • Do NOT commit the venv/ directory or real uploaded user files. The .gitignore contains rules to avoid that.
  • Use environment variables (e.g., SECRET_KEY) instead of hard-coding secrets.
  • For production, use gunicorn (Procfile included).

About

A modern single‑page file manager built with Flask. Upload files and photos, create folders, preview images, open documents, and delete items — all from one responsive interface. Includes secure path handling, AJAX endpoints, and a clean UI with image preview modal. #Minimal Flask drive: manage files and folders in one elegant page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors