An open API service indexing awesome lists of open source software.

https://github.com/escomputers/localfilesharing

Simply share local files using Python and Ngrok
https://github.com/escomputers/localfilesharing

filesharing ngrok pc powershell-script python tunneling windows

Last synced: 18 days ago
JSON representation

Simply share local files using Python and Ngrok

Awesome Lists containing this project

README

          

# localfilesharing
Simply share local files using Python and [Ngrok](https://www.ngrok.com)

## Requirements
* Register a free account on [Ngrok](https://www.ngrok.com)
* Install [ngrok agent](https://ngrok.com/download) on your PC
* Install [Python 3](https://www.python.org/downloads/)
* Install [Powershell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4) (Windows users only)

## Usage

### Windows
1. Put [httpsrv.py](httpsrv.py) into C:\
2. Run the [FileSharingSvc.ps1](FileSharingSvc.ps1)

### Unix-like
`bash FileSharingSvc.sh`

`FileSharingSvc` will execute the python program that runs an HTTP server on port 8000 and the ngrok process which in turn exposes the web server and manages the tunnel.

### Screenshots
Screenshot-2024-05-07-235415

Screenshot-2024-05-08-003154