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

New Plugin: File Share #2465

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from
Open

New Plugin: File Share #2465

wants to merge 11 commits into from

Conversation

ScattrdBlade
Copy link
Contributor

Adds a plugin called "File Share" which adds a /fileshare slash command that allows you to upload files to gofile.io and then pastes the link into chat box to share with others. Since its a quick and easy way to share files, this would be very convenient for people who want to upload big files but don't have Discord nitro. Plus, it doesn't require other users to directly download the file if they'd like to view the file without downloading (such as a PDF).

Adds a plugin called "File Share" which adds a `/fileshare` command that allows you to upload files to gofile.io and then pastes the link into chat to share with others.
Forgot to include earlier.
@Golonchy
Copy link

sounds very cool, nice

@ScattrdBlade ScattrdBlade changed the title New Plugin: File Uploader New Plugin: File Share May 16, 2024
Made the plugin name follow the standard of not having any spaces in it.
@ScattrdBlade ScattrdBlade changed the base branch from dev to main May 17, 2024 16:49
@ScattrdBlade ScattrdBlade changed the base branch from main to dev May 17, 2024 16:49
Added Samu as a plugin author since this plugin is based on his proof of concept/test from 2022.
@fdkchx
Copy link

fdkchx commented May 17, 2024

add tweaks for token interaction and more serious customizations

@ScattrdBlade
Copy link
Contributor Author

add tweaks for token interaction and more serious customizations

The only thing I could really add is token input so users can upload files to their own gofile accounts if they want to, an option to upload to specific folders/naming folders specific names, and deleting previously uploaded files. I can only do so much because most of the gofile API requires premium accounts. But I'll do my best to implement the features I just listed as customizations within the next week or so.

@Vendicated
Copy link
Owner

what's the point of such a plugin? why not just use sharex or manually upload?

with the new higher upload limit there's basically no use case for having this plugin

@ScattrdBlade
Copy link
Contributor Author

ScattrdBlade commented May 18, 2024

what's the point of such a plugin? why not just use sharex or manually upload?

with the new higher upload limit there's basically no use case for having this plugin

Even though Discord has increased its upload limits, I've still noticed that many users (especially those without nitro) still run into size limitations. Why not use ShareX? As a ShareX user myself, I love it, but it requires linking accounts or setting up API keys (or a custom domain), which many people don't want to do. On the other hand, gofile.io allows for temporary account creation for uploads (similar to Pastebin) which simplifies the upload process significantly, especially since they have nothing to do with the users and the users just receive a link from gofile.io that says the file was uploaded to a temporary account (no actual account creation is done by the user). As for manual uploads to file-sharing sites, they involve many additional steps that lots of users prefer avoiding. Another big plus with gofile.io is that you can preview files online before downloading them (even files that don't render directly on Discord), which can come in handy for those who are cautious about downloading potentially harmful files (since files on gofile.io have no way of acting maliciously until they are downloaded). The plugin gets rid of the extra steps that come with manual uploads or using tools like ShareX, such as account/key creation, linking, repeated signing in, etc. If someone runs into a file size issue on Discord or prefers not to upload directly onto Discord for certain reasons, the plugin makes it super easy and convenient, right under your fingertips. It's just like uploading to Discord but through a simple slash command, saving a ton of time and effort. I've even had a few people show interest in this plugin already, and someone even reached out to me regarding the plugin because they somehow found my repo for it and started using it the day I made it public (the fact it got traffic on the same day says a lot, especially since I never advertised or posted it anywhere). So I'd say it can be quite useful and there are definitely people out there that do want it. Sure, this could just be a third-party plugin, but having it as an official plugin makes it so much more convenient for everyone. After all, it's mainly the average (non-dev build) users who often don't use manual file uploaders or ShareX.

TLDR

  • People still hit upload limit (especially non-nitro users)
  • ShareX requires setting up accounts, keys, domains, etc.
  • Manually uploading to file hosts takes multiple extra steps and is a drag
  • The plugin is a slash command in Discord, convenient since its only one extra step from a normal Discord upload
  • Users can preview the file without downloading it (huge for people who are wary of harmful files)
  • Gofile uploads are anonymous by default

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

Successfully merging this pull request may close these issues.

None yet

5 participants