Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support creating new torrents using the WebUI #5614

Open
stevenroose opened this issue Aug 4, 2016 · 65 comments · Fixed by #20366
Open

Support creating new torrents using the WebUI #5614

stevenroose opened this issue Aug 4, 2016 · 65 comments · Fixed by #20366
Labels
Feature request WebAPI WebAPI-related issues/changes WebUI WebUI-related issues/changes

Comments

@stevenroose
Copy link

stevenroose commented Aug 4, 2016

I have currently setup a headless qBittorrent on my server machine with tracker enabled. I want to be able to create torrents and share them with friends / tracker websites. However the WebUI does not support creating new torrents from existing files.

Until this feature is implemented, can anyone point me to a workaround solution? Can I create torrents using the command line interface? Can I create a torrent on my desktop client and import it into the server while copying over the files?

@Balls0fSteel
Copy link

Of course you can with the command line.
In fact, that's the de-facto standard for seeders / rls groups.

But most people just use mktorrent.

@Balls0fSteel Balls0fSteel added WebUI WebUI-related issues/changes Feature request labels Jan 20, 2017
@stevenroose
Copy link
Author

The thing is that having access to the WebUI doesn't necessarily mean that I also have SSH access to the server.

@Arathen

This comment has been minimized.

@LayerCorp
Copy link

So, is not possible to create torrents using the WebUI of qbittorrent? :(

@Balls0fSteel
Copy link

@NANO-Chile Nope, not at the moment. The API, functionality is there and all, but the WEB UI lacks devs a bit. So if anyone has Qt + web skills, they are more than welcome to implement the functionality. Most is already there, no new function has to be added. But it has to be wired up.

@stevenroose
Copy link
Author

stevenroose commented Nov 17, 2017 via email

@aronmgv

This comment has been minimized.

@Oriann

This comment has been minimized.

@aronmgv
Copy link

aronmgv commented May 29, 2019

I mean this is such huge drawback to not have it.. and also please allow us to save default settings for that and configure torrent name. description etc.
nice example: https://kimbatt.github.io/torrent-creator/ but doesnt work for remote scenario.. needs to be part of the WebUI..

@rrrevin
Copy link

rrrevin commented Oct 15, 2019

Is this on the roadmap?
It's been 3 years since this was open/requested, and from what I can't find, it's not a priority?

@bobbintb
Copy link

bobbintb commented Dec 4, 2019

@NANO-Chile Nope, not at the moment. The API, functionality is there and all, but the WEB UI lacks devs a bit. So if anyone has Qt + web skills, they are more than welcome to implement the functionality. Most is already there, no new function has to be added. But it has to be wired up.

Is it in the API? I was trying to write a script to automate some things and there is nothing in the API documentation about creating torrents.

@ktwrd

This comment has been minimized.

@dausruddin
Copy link

rTorrent+ruTorrent stopped workking on me. Would be great if another great torrent client such as qBittorrent can do this.

@steakhutzeee

This comment has been minimized.

@zotabee
Copy link

zotabee commented Sep 15, 2021

Would love that feature. A lot of people only use the WebUI via a server/docker install.

Please, consider adding it on the roadmap.

@BrodyStone21

This comment has been minimized.

@tssge
Copy link

tssge commented Nov 27, 2021

Times have changed and Bountysource doesn't seem very trustworthy. Is there some other way I can post a bounty for this feature or donate towards it?

@firozzer
Copy link

firozzer commented Jun 5, 2022

Is there any latest update which allows to create .torrent file on command line with qbittorrent-nox? Or still mktorrent & ctorrent are to be used on cli?

@ahopelesshadow
Copy link

its been 6 years now, and this gets some bumps every now and then... but its still not documented in the api anywhere, and that will need to be done before the webui will ever see this feature. It would be nice i agree, at least to get it in the api, then others could essentially do whatever they needed to with python scripts. But for now were stuck using 3rdparty.

@thalieht thalieht added the WebAPI WebAPI-related issues/changes label Sep 23, 2022
@gravelfreeman
Copy link

7 years now! You'd be the first of the torrent clients to offer torrent creation in web-ui. I just tried Transmission and Deluge and same thing.

@zotabee
Copy link

zotabee commented Mar 22, 2023

Please consider this feature !

@tiritibambix
Copy link

It's been
6 years, 11 months and 19 days
Or
6.97 years
Or
83.62 months
Or
2544 days.

I don't loose hope 🥲

@luzpaz
Copy link
Contributor

luzpaz commented Jul 24, 2023

Who's gonna write-up a technical proposal on how do implement this ?

@luzpaz
Copy link
Contributor

luzpaz commented Feb 17, 2024

Folks that are interested in this feature should test #20366 and report back

@happyTonakai
Copy link

It's been a long wait. Cheers!

glassez pushed a commit to glassez/qBittorrent that referenced this issue Feb 24, 2024
@WolfganP
Copy link

Excellent, thx @glassez . I'll try to rebuild my dev environment, test and report back.

glassez added a commit that referenced this issue Feb 27, 2024
@abu-marwa
Copy link

I'm in the same boat, would love to have this feature

@Sawtaytoes
Copy link

What release will this be in? Or are we not sure yet?

@christaikobo
Copy link

christaikobo commented Mar 15, 2024 via email

@glassez glassez reopened this Mar 16, 2024
@ppriorfl
Copy link

ppriorfl commented Apr 10, 2024

8+ years and still hoping for being able to create torrent using GUI....

Pretty please with whipped cream and cherry on top?
Or maybe double dog dare you to get this done?

@nostrus-dominion
Copy link

It was merged into the code a few weeks ago but I'm thinking it'll be either v4.7 or v5.0 for that feature.

@christaikobo
Copy link

christaikobo commented Apr 10, 2024 via email

@shmup
Copy link

shmup commented Sep 2, 2024

Let me help, assign me some tickets :P

@christaikobo
Copy link

It's been such a long march, and feels like it's close to the finish line. Hopefully someone picks it up.

@xavier2k6
Copy link
Member

Let me help, assign me some tickets :P

Please feel free to submit PR's.

@shmup
Copy link

shmup commented Sep 3, 2024

My intention with alerting this thread was to lazily understand what the work "looks" like, re: "assign me tickets". I hadn't realized this project uses milestones -- convenient!

I noticed someone said it looks to be handled in 5.0 but I'm not sure that's true. Checking in 5.1 I'm not also sure I see the definitive needed work.

Mind tossing me a few overview details? We have an API, we need the UI developed out. Do we have notes for hacking on this, setting up the environment?

I'm happy to start carving out sense in the UI work, though I'll need to understand the dev environment a bit first.

@HoreaM
Copy link

HoreaM commented Sep 3, 2024

I noticed someone said it looks to be handled in 5.0 but I'm not sure that's true.

I think they might have been referring to this. Can't provide any details other than that though, sorry.

@Risinggoblin
Copy link

I noticed someone said it looks to be handled in 5.0 but I'm not sure that's true.

I think they might have been referring to this. Can't provide any details other than that though, sorry.

nope, wasn't handled in 5.0 as far as I can see

@the-eversio
Copy link

I studied the linked PR and was able to create a torrent with cURL. It looks something like this:

curl -i -c qbittorrent.cookies \
        --header 'Referer: http://localhost:8080' \
        --data "username=$webui_username&password=$webui_password" http://localhost:8080/api/v2/auth/login

curl -v http://localhost:8080/api/v2/torrentcreator/addTask \
        -c qbittorrent.cookies \
        -F private=true \
        -F startSeeding=true \
        -F format="v1" \
        -F trackers="https://some-private-tracker/announce" \
        -F comment="trackername" \
        -F source="trackername" \
        -F torrentFilePath="/path/to/new/file.torrent" \
        -F sourcePath="/path/to/content/linux.iso"

There's a bug in v5.0.2 and earlier where source is populated with the comment field, so keep these the same. I guess it might be fixed in 5.1 because the fix is in master but not the 5.0.x branch.

@christaikobo
Copy link

christaikobo commented Dec 7, 2024 via email

@glassez
Copy link
Member

glassez commented Dec 7, 2024

I guess it might be fixed in 5.1 because the fix is in master but not the 5.0.x branch.

#21496
#21898

@the-eversio
Copy link

For anyone interested you can try vuetorrent. It's a webui for qbit. It has torrent creation implemented.

I was in the process of trying VueTorrent when you posted this :) I should have started with that.
The lack of a source field means this won't work for me once the fix above lands (due to a private tracker requirement) but otherwise this looks sufficient, if a little basic.

@christaikobo
Copy link

For anyone interested you can try vuetorrent. It's a webui for qbit. It has torrent creation implemented.

I was in the process of trying VueTorrent when you posted this :) I should have started with that. The lack of a source field means this won't work for me once the fix above lands (due to a private tracker requirement) but otherwise this looks sufficient, if a little basic.

It's already fixed in vuetorrent: VueTorrent/VueTorrent#2069

The function is basic is because that's all that qbittorrent API provides.

@the-eversio
Copy link

It's already fixed in vuetorrent: VueTorrent/VueTorrent#2069

Nice, thank you. I've switched over to VueTorrent for this feature and the better mobile experience.

The function is basic is because that's all that qbittorrent API provides.

That's fair. I appreciate the auto-completion on the file pickers too - it's not the smoothest UX but it's simple and it works.

I won't derail this thread any further - for anyone waiting on an official web UI for creating torrent files there's two workarounds available

@thalieht thalieht marked this as a duplicate of #22253 Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request WebAPI WebAPI-related issues/changes WebUI WebUI-related issues/changes
Projects
None yet