Skip to content

webrtc based file sharing system written in rust

Notifications You must be signed in to change notification settings

feniljain/turent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turent

My experimentation with webrtc in rust, a pure webrtc-based file sharing system!

There are three sections of this project:

  • discovery: Helps in signalling and datasource discovery
  • Each file sharing features a pair, a datasource and a datasink
    • datasource: Each file to be shared starts (kind of like seeding) from a datasource
    • datasink: Each file to be shared is received in a datasink

Install and Run

  • For running the discovery server:
cargo run -p discovery
  • For running the client ( here client = datasink and server = datasource ):
cargo run -p client -- init_server=true init_client=true
  • Currently I am running client as two seperate processes of datasink and datasource ( and this is the easiest way to start poking around the project )

  • Running datasource

cargo run -p client -- init_server=true
  • Running datasink
cargo run -p client -- init_client=true

IK, code isn't clean, and yeah I could name a couple of things better, also make overall flow of using datasink and datasource through engine better. But it is at a stage, where these are small cleanups. And having a frontend would have helped with that, but naa I am currently not interested in making frontends. So as a good engineer, I will leave them to my future self!

About

webrtc based file sharing system written in rust

Topics

Resources

Stars

Watchers

Forks

Languages