GithubHelp home page GithubHelp logo

rusty-seed's Introduction

Rusty-Seed

About

This project aims to enable peer to peer file transfer somewhat like torrent, and therefore "seed" word in the project name (and ofc Rusty as it's in Rust). It is not compatable with torrent, as it follows custom protocol.

Features

  • Network
    • Works for devices on LAN
    • NAT traversal to connect to peers on differet network
  • Multi-threaded
    • Client Side
      • Start listening on port for local CLI requests
      • Open database to check files to be downloaded and their download status
      • Connects to the peers to download files that are to be downloaded, and also those that are in progress
    • Server Side
      • On start validates already added seeds (checks if there are any changes in the file)
      • Start listening on port for local Client & CLI requests
      • Start listening on port for requests from the Internet
  • CLI commands
    • Client Side (TODO: Describe in detail)
      • download --link="file link" downloads files from provided link
    • Server Side
      • list-seeds lists all seeding paths
      • add-seed --path=path/to/file add file to seeding list
      • remove-seed --path=path/to/file remove file from seeding list

Setup Requirements

Rust. Install rust using

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Clone the project build the project

git clone https://github.com/dhruv-1001/rusty-seed.git
cd rusty-seed
caro build 
  • TODO: add bash script to build and run the project

rusty-seed's People

Contributors

dhruv-1001 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.