Skip to content

fileporter/fileporter

Repository files navigation

fileporter

Serve a directory in your local network for view over the browser

fileporter can be used to quickly share a directory for a good read-only browser view on mobile, desktop or other devices. though a password you are able to ensure that your files don't enter the wrong hands.

fileporter also supports the deployment on a server

See the documentation for more or to get started.

After installation you also have access to the fileporter --help or man fileporter commands.

File-Supports

  • text
    • all text files are readable
    • code-files get automatic syntax-highlighting
    • special support for file-formats like markdown or json
  • videos
    • all common video formats should be supported
  • images
    • all common video formats should be supported
  • audio
    • all common audio formats should be supported
  • special-files
    • pdf
    • doc/docx
    • archives (zip/tar)

Stats and technical information

pages-build-deployment CodeQL

last commit

repo size code size total lines

requires python-version

Example usage

user@pc:~/path/to/folder$ fileporter
<args {'host': '0.0.0.0', 'port': 8000, 'root': '.', 'username': 'user', 'auth': None, 'worker': 8, 'root_path': '/', 'uds': None, 'logs': None, 'dotall': False, 'dependencies': False, 'cache': True}>

                                 
    █▀▀▀▀▀█ ▀▀▀  ▄▄▀  █▀▀▀▀▀█    
    █ ███ █ ▄▄▀▄▄▄  ▀ █ ███ █    
    █ ▀▀▀ █ █▀▄▄ █▄▀  █ ▀▀▀ █    
    ▀▀▀▀▀▀▀ █ ▀▄▀ ▀▄▀ ▀▀▀▀▀▀▀    
    ▀  ▄▀ ▀▀█▀██▀▄▀▄█▀▀▀██ ▄▀    
    ▄▄██▀█▀ ▀▄▀██  ▀▄▀▄██▀█▄     
    █ ▄▄▄▀▀▄▀█▄▀▀▄▀▄█▀▀▀▄▀▀█▀    
      ▀▄▄█▀▀▀   ▄  ▀ ▀ ▄▄██▄     
    ▀▀ ▀ ▀▀▀▄ ▀▀▄▀█▀█▀▀▀█▀█      
    █▀▀▀▀▀█ ▀ ▄█▀█▀ █ ▀ ██▄      
    █ ███ █ ▀   ▀█▄ ▀███▀▄███    
    █ ▀▀▀ █   █ ▄ ▄█ ▀██▄▄▄█     
    ▀▀▀▀▀▀▀ ▀  ▀ ▀▀▀  ▀   ▀▀▀    
                                      
    http://10.20.30.40:8000

eg. fresh start

eg. settings

eg. code file

Development Notes

Contributors 2

  •  
  •