https://github.com/adithya-s-k/portablenas
A portable Network Attached Storage (NAS) that allows users to access data on any pendrive or hard disk through a Raspberry Pi acting as a server.
https://github.com/adithya-s-k/portablenas
nas network-programming raspberry-pi socket-io socket-programming websocket
Last synced: 6 months ago
JSON representation
A portable Network Attached Storage (NAS) that allows users to access data on any pendrive or hard disk through a Raspberry Pi acting as a server.
- Host: GitHub
- URL: https://github.com/adithya-s-k/portablenas
- Owner: adithya-s-k
- Created: 2023-04-11T16:26:49.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-13T18:04:34.000Z (over 2 years ago)
- Last Synced: 2025-02-14T13:48:19.791Z (8 months ago)
- Topics: nas, network-programming, raspberry-pi, socket-io, socket-programming, websocket
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Portable NAS using Raspberry Pi
This project aims to create a portable Network Attached Storage (NAS) using a Raspberry Pi. It allows users to insert any pendrive or hard disk, and the Raspberry Pi will act as a server and provide a unique key and password. Users can then enter this information on their computer connected to the same network, and a socket connection will be established between the computer and the Raspberry Pi, enabling access to the data on the inserted drive.
In addition, a frontend interface is provided that allows users to delete, list, upload, and change directories.
### Prerequisites
To use this project, you will need:
- A Raspberry Pi (tested with Raspberry Pi 4 Model B)
- A power supply for the Raspberry Pi
- A microSD card (16GB or larger) with Raspberry Pi OS installed
- A USB drive or external hard drive to use as storage### Installation
To install the project, follow these steps:
- Clone the repository onto your Raspberry Pi.
```
git clone https://github.com/yourusername/portable-nas.git
```- Install the required dependencies.
```
cd portable-nas
pip install -r requirements.txt
```- Start the server.
```
python server.py
```- Open a web browser on your computer and enter the IP address of your Raspberry Pi, followed by the port number (default is 5000).
arduino```
http://:5000
```- Enter the key and password displayed on the Raspberry Pi into the web interface.
- You should now be able to access the data on the inserted drive through the web interface.
### Usage
The web interface provides the following options:
- List: lists the files and directories in the current directory.
- Upload: allows you to upload a file to the current directory.
- Delete: allows you to delete a file or directory.
- Change Directory: allows you to navigate to a different directory.