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

[Request] Add Remote Upload API / Support #8

Open
Daringbaaz opened this issue Apr 26, 2023 · 6 comments
Open

[Request] Add Remote Upload API / Support #8

Daringbaaz opened this issue Apr 26, 2023 · 6 comments

Comments

@Daringbaaz
Copy link

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

Thanks

@rayman3003
Copy link

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
Copy link
Contributor

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
Copy link

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
Copy link
Contributor

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
Copy link

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
Copy link

braboobssiere commented Nov 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants