yoep / popcorn-fx

Popcorn FX is a multi-platform torrent streaming client that includes an integrated media player with support for embedded devices such as the Raspberry PI.
GNU General Public License v3.0
9 stars 1 forks source link

Refactor the torrent to rust #119

Open yoep opened 1 year ago

yoep commented 1 year ago

Refactor the torrent java backend to rust. Preferred to use transmission-rs or some rust written library.

aryaminus commented 1 year ago

@yoep Just wanted to ask you where are we at refactoring? I have no background in java and I was experimenting with tauri so wanted to ask you about it.

yoep commented 1 year ago

I've been testing with a lot of different torrent libs from rust such as RQBit, rusty_torrent, etc. but none of them seem to be mature/stable enough to work on all platforms. So I'm currently stuck on this ticket as I cannot find a decent rust native torrent client.

I've been thinking to replace it with libtorrent and creating a rust wrapper around it, but that would take a lot time, so that idea is currently on hold.

If you got a good idea/alternative, please let me know.

aryaminus commented 1 year ago

I guess we are hitting the same door @yoep. Rust, yet, does not seem to have a mature torrent client, something like https://github.com/anacrolix/torrent

There is https://github.com/mandreyel/cratetorrent using bit-torrent v1 However, I do some promising start with https://github.com/xin-water/bittorrent-project But still transmission(ish) thingy could have a path!? https://github.com/vtavernier/transmission-proxy

Name dropping others in someone else reaches here: