Fornaxian / pixeldrain_web

Web interface for pixeldrain.com
GNU Affero General Public License v3.0
80 stars 8 forks source link

[Request] Add Remote Upload API / Support #8

Open Daringbaaz opened 1 year ago

Daringbaaz commented 1 year ago

It Will Be Great if You Will Add Remote Upload options on Pixeldrain

Thanks

rayman3003 commented 1 year ago

I want this feature too. 👍

Having "Remote Upload" in an upload hosting website, Is a very demanding & important thing.

Please add Remote Upload to pixeldrain.com 🙏

Fornax96 commented 1 year ago

I have received this request many times, but I'm kinda scared that it can be easily abused. "Remote upload" would allow people to send HTTPS requests from pixeldrain's servers. If there are rate limits in place then my servers would be getting rate limited instead of the user.

Besides that it can be very tough from a UX standpoint too. URLs usually don't point straight to files. You would not be able to download a youtube video for example. Entering a youtube link would just result in a HTML file. Most file sharing sites also don't have direct links to files. There's usually some page inbetween which provides information about the file (and tries to sell a subscription). I would have to implement scraping code to look for the real URL, which is incredibly complicated.

Maybe I can add this later but I feel like it's out of scope for now.

rayman3003 commented 1 year ago

Maybe I can add this later but I feel like it's out of scope for now.

Maybe for now, u can start with the limited extensions that can be remote uploaded to pixeldrain. For example, currently I want remote uploading picture files only (jpeg, jpg, png, gif, avif, webp, jfif) to pixeldrain.

These are the most common picture formats, nowadays. (jpeg, jpg, png, gif, avif, webp, jfif)

What u say?

Fornax96 commented 1 year ago

I'll keep the issue open so people can voice their support. But my stance for now is that this feature is out of scope for the project. I'm just a single developer and the maintenance burden for the project is already quite high.

Maybe I'll start working on this later when I find the time, but currently I have my hands full.

rolltidehero commented 11 months ago

This would be great, but it would present possible security issues.

Maybe require the user to be registered for x weeks before they can create an API key.

Or maybe premium members only?

braboobssiere commented 10 months ago

I have received this request many times, but I'm kinda scared that it can be easily abused. "Remote upload" would allow people to send HTTPS requests from pixeldrain's servers. If there are rate limits in place then my servers would be getting rate limited instead of the user.

Besides that it can be very tough from a UX standpoint too. URLs usually don't point straight to files. You would not be able to download a youtube video for example. Entering a youtube link would just result in a HTML file. Most file sharing sites also don't have direct links to files. There's usually some page inbetween which provides information about the file (and tries to sell a subscription). I would have to implement scraping code to look for the real URL, which is incredibly complicated.

Maybe I can add this later but I feel like it's out of scope for now.

to be honest i don't think it is necessary to circumstances cloud download link, most of the payperview file hosting (which 90% is exit scam and don't last a year :v you can see them on wjunction https://www.wjunction.com/forums/file-hosts-official-support.95/) that allowed remote upload direct link i've seen only allowed directed hotlink to the actual file (or something easily scrapeable such as google drive or youtube or twitter media which have the script to extract them on the internet, some might use public api if there is one) tho imo just allowed url hotlink upload and rejected everything else is good enough

it is easily abuseable tho so either you limited them to account only or paid only or have protection of some kind