Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
/ magic-upload Public archive

🧙‍ A BetterDiscord plugin to automagically upload files over 8MB.

License

Notifications You must be signed in to change notification settings

mack/magic-upload

Repository files navigation

GitHub all releases GitHub Repo stars GitHub

🧙‍♀️✨ Magic Upload

A BetterDiscord plugin to automagically upload files over 8MB. This plugin works by connecting your Google account and uploading files that exceed Discords limit to Google Drive.

Before & After Preview

More screenshots

Getting Started

  1. Download & install BetterDiscord.
  2. Copy MagicUpload.plugin.js into your BetterDiscord plugins folder.
    1. Where is my plugins folder? Click here.
  3. Enable the plugin and click on Connect Google Account from the popup.
    1. How do I enable the plugin? Go to Settings > Plugins and make sure MagicUpload is switch on.
    2. Will you have access to my Google Drive? No! Your Google Drive credentials are stored on your computer, and your computer only.
  4. 🎉 Start uploading large files!

Contributing

To get started contributing, clone the repository and run:

$ make watch

You will then be able to make changes to index.js and on save the plugin will be built and installed. For changes to the HTML templates used in OAuth, see the templates README.md.

Makefile Commands

build                          Build a minified bundled version of the plugin.
install                        Copy release to BetterDiscord plugin directory.
setup                          Install tools used to build and hot reload plugin.
watch                          Automatically build and install plugin on save.

Frequently Asked Questions

How do I install a BetterDiscord plugin?

To install a BetterDiscord plugin, you'll need to have BetterDiscord installed and navigate to Settings > Plugins in Discord. From there you'll be able to click on Open Plugins Folder. Then all you have to do is add the file MagicUpload.plugin.js into your plugins folder.

Will anyone have access to my Google Drive?

Nope! When you sign in with Google, an http server is started in the background that server listens for the response from Google. Meaning that there is no middleman intercepting your OAuth tokens. They are stored locally on your computer only and as an added layer of protection, encrypted before being stored on disk.

However nothing is 100% secure, so if you feel like your tokens are ever comprimised, please remove the application from your 3rd party applications ASAP.

Special Thanks ❤️

  • @dftd for providing feedback & beta testing.
  • @SirArya for providing feedback & beta testing.
  • @sterrio for providing feedback & beta testing.