https://github.com/sciencewolf/file-server-raspberry-pi
File server hosted on a Raspberry Pi
https://github.com/sciencewolf/file-server-raspberry-pi
file-server javascript ngrok python3 raspberry-pi-4b
Last synced: about 2 months ago
JSON representation
File server hosted on a Raspberry Pi
- Host: GitHub
- URL: https://github.com/sciencewolf/file-server-raspberry-pi
- Owner: Sciencewolf
- License: unlicense
- Created: 2025-09-26T14:46:22.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-10-04T19:57:47.000Z (9 months ago)
- Last Synced: 2025-10-04T21:29:24.086Z (9 months ago)
- Topics: file-server, javascript, ngrok, python3, raspberry-pi-4b
- Language: JavaScript
- Homepage: https://willing-just-penguin.ngrok-free.app/
- Size: 23.4 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# File server on Raspberry Pi 4B
- Visit https://willing-just-penguin.ngrok-free.app/ to upload files to the Raspberry Pi–based remote storage.
## Host on your Raspberry Pi using Docker
> [!NOTE]
> Build and run container
- `sudo docker build -t file-server .`
- `docker run -d -p 8080:8080 -v /home/data:/app/data file-server `
> [!NOTE]
> Stop the container
- `sudo docker stop `
> [!NOTE]
> You can expose the file server to the internet using [ngrok](https://ngrok.com/ "ngrok site").
- Change domain inside `run.sh`
- Add `run.sh` to crontab: `@reboot /bin/bash /run.sh`