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

https://github.com/deviskalo/p2p-transfer

The P2P file transfer application offers the following main features, including direct Peer-to-Peer Transfers Enables file sharing without intermediaries and more.
https://github.com/deviskalo/p2p-transfer

axum-server nextjs15 rust rust-lang tailwindcss websocket websocket-server

Last synced: about 2 months ago
JSON representation

The P2P file transfer application offers the following main features, including direct Peer-to-Peer Transfers Enables file sharing without intermediaries and more.

Awesome Lists containing this project

README

          

# 🚀 P2P File Transfer (Next.js)

This is the frontend of the **P2P File Transfer** project built using **Next.js 15**. It allows users to send and receive files seamlessly over WebSockets with a Rust-based **Axum** backend.

## 🔥 Features

- ✅ Next.js 15 with App Router
- ✅ WebSockets for real-time communication
- ✅ Peer-to-peer (P2P) file transfer
- ✅ Supports large file transfers
- ✅ Minimal UI with smooth UX

## 🛠️ Technologies Used

- **Next.js 15** (Frontend framework)
- **React** (State management)
- **WebSockets** (Real-time file transfer)
- **TypeScript** (Ensuring type safety)

## 🚀 Getting Started

### 1️⃣ Clone the Repository

```bash
git clone https://github.com/Deviskalo/p2p-transfer.git
cd p2p-transfer
```

### 2️⃣ Install Dependencies

```bash
npm install
```

### 3️⃣ Run the Project

```bash
npm run dev
```

Your frontend should now be running at [http://localhost:3000](http://localhost:3000) 🚀

## 📂 Project Structure

```bash
/p2p-file-transfer-frontend
│── /app
│ ├── /send # Sender logic
│ ├── /receive # Receiver logic
│── /components # Reusable UI components
│── /utils # Utility functions
│── /public # Static assets
│── package.json # Dependencies & scripts
│── README.md # Project documentation
```

## 🚀 Backend Integration

This frontend is designed to work with the Rust (Axum) WebSocket server. Make sure your backend is running before testing.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.