https://github.com/neorandom/file-sharing-system-host
https://github.com/neorandom/file-sharing-system-host
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/neorandom/file-sharing-system-host
- Owner: neoRandom
- License: mit
- Created: 2024-07-24T20:19:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-07T21:26:54.000Z (over 1 year ago)
- Last Synced: 2025-01-16T16:40:24.990Z (about 1 year ago)
- Language: HTML
- Homepage:
- Size: 97.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# File Sharing System Host
Things to do:
Add desktop version for the navbar
Add dark theme
Deploy it
## How to start the Flask Server
### Setup a virtual environment (Optional)
``` cmd
python -m venv env
.\env\Scripts\activate
```
### Update pip (Optional)
``` cmd
python.exe -m pip install --upgrade pip
```
### Install the requirements
``` cmd
pip install -r requirements.txt
```
or
```
pip install flask
```
### Start the Flask Server
``` cmd
python app.py
```
## Using the FSS
### Method 1
First you need to get the host IPv4, you can get using this command on Windows:
``` cmd
ipconfig
```
and this command on Linux and Mac:
``` bash
ifconfig
```
Look for the code after "IPv4 Address" at the main adapter, then access the URL using the IPv4 code, see the example:
```
http://255.255.0.1:2024
```
Use it in another device, such as your smartphone, but make sure that it is connected to the same wi-fi as your host device.
### Method 2
(WIP)
## Usage
At `./download` are the files that a client can download. Add, remove or modify the files within this folder to change what your client can download.
## Licence
This repository is currently under a [LICENCE](LICENCE)