HDInnovations / UNIT3D-Community-Edition

Private Torrent Tracker Built With Laravel, Livewire and AlpineJS.
GNU Affero General Public License v3.0
1.94k stars 370 forks source link

Gazelle Upgrade Script #24

Closed HDVinnie closed 6 years ago

HDVinnie commented 6 years ago

Description:

Looking for someone that can make a script to port over a gazelle database dump into UNIT3D. Im thinking mainly torrents and users are most important and probably only ones worth it? Thoughts?

Steps To Reproduce:

N/A

Possible Fix:

N/A

owenvoke commented 6 years ago

I may have a look at this.

By the way, this project is pretty cool. It has a similar look to PrivateHD which is nice. :+1:

ghost commented 6 years ago

@pxgamer Could you write it in a scripting language (ie in Python or Ruby) so that it can be used cross-platform?

owenvoke commented 6 years ago

Any reason to not have it in PHP which is cross-platform?

ghost commented 6 years ago

That would be even better, I just wasn't sure in what language you want to write it.

owenvoke commented 6 years ago

Oh cool. That's good. :smile: I'll have a look later today.

owenvoke commented 6 years ago

Had a look and started working on a repo (I was going to have it as a dev dependency package). https://github.com/pxgamer/gazelle-to-unit3d/tree/develop

~I've hit a wall though as for some reason, Gazelle isn't correctly getting the info hash of uploaded files.~ I'm an idiot. Looked into the Gazelle code and I should be able to continue.

Do any of you have an example DB for Gazelle?

In the mean time, I may look into #19 and #23.

Info hash examples

ghost commented 6 years ago

@pxgamer I'll try to generate a DB dump after I've looked at it myself. Maybe we can autofill it with randomly generated data so that it matches realistic conditions. After I've made I'll publish it on a separate repo so it can be used by everyone.

HDVinnie commented 6 years ago

this is exciting....thanks @pxgamer

owenvoke commented 6 years ago

Well, it seems to be working.

I'll test it again when the database dump is done. :+1:

HDVinnie commented 6 years ago

Done. Further support should be carried out here. https://github.com/pxgamer/gazelle-to-unit3d