You are browsing as a guest. Sign up (or log in) to start making projects!

Torrent managing app

  • 6 Devlogs
  • 11 Total hours

This is a torrent managing app, even though I care more about downloading media, It should work as a full spectrum torrent server (like tixati or smth)

Open comments for this post

1h 14m 26s logged

I’m banging my head on the screen. I’ve just switched my laptop from windows to linux, and wiped my ssd. I thought I had everything backed up, but when I checked again now, I forgot to push all the progress I made with the dht discovery and magnet link managing.

I have to redo all that…

0
0
12
Open comments for this post

3h 23m 50s logged

Ok even bigger news!!
Dht discovery was an important step, but this is what is has been building up to: Using BEP9/10, now the program can get the torrent files and download their specific content with only a magnet link!!!

  • Firstly, the app begins a huge dht query to look for peers (if possible even thousands)
  • Afterwards it requests the metadata (parsed torrent file) from each of them until it gets a response (most seeders only send content, not the metadata and I don’t yet know a way to filter them out)
  • After it recieves the metadata, the download proceeds normally

In another course of events, the free nim api key I was using drew it’s last breath repairing this. (I’ve been staring at it for one hour not knowing that the 5th bit in the torrent dict- BEP 9 specific was wrong). Anywhom the key still works theoretically but my cli - opencode failed ( asks for money I don’t have) and I can’t keep my eyes open to fix it, maybe tomorrow.

0
0
11
Open comments for this post

41m 33s logged

This was a big one. I’ve now implemented dht discovery!!
(after fixing some bugs), the rust program can now install announceless torrents!
(this example here used no dht since my default added trackers had the torrent indexed, but it works :D)

0
0
14
Open comments for this post

1h 20m 3s logged

Alrighty, now I have cleared some bugs, made the tool more efficient AAAND came up with my (kinda) first original idea. What if I just took the trackers given in the torrent file, and added some on top of that
-Now the program defaults to adding two large public trackers – (going from one official seeder to three)

  • There is a fallback option, setting an env variable can override all trackers, even the ones from the torrent file (if any)
0
0
4
Open comments for this post

2h 33m 20s logged

After one hour (and some more) - the torentino-pure (pure rust no cli) HAS A WORKING DEMO.
I will now get to understanding the actual code, and then optimise it to use dht protocols for torrents.

0
0
5

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…