DisboxApp / web

Use Discord as a file storage service.
https://disboxapp.github.io/web/
GNU Affero General Public License v3.0
474 stars 86 forks source link

API? #6

Closed a8underscore closed 2 years ago

a8underscore commented 2 years ago

This could be sick if automated, it could be used for a lot of solutions such as auto backups (dodgy but better then no backups? xd)

compared to the discord webhook api this could provide folders, auto splitting, and ofc files being viewable in the disbox website

DisboxApp commented 2 years ago

Hey! Thanks for opening this issue!

I agree that could help for a lot of things. Currently, the disbox-file-manager.js file should work as a standalone JavaScript API.

Do you mean a REST API? This would be quite a fast server, as it would need to accept the files themselves, and it would also be less secure as the files would have to go through a 3rd party server (And by 3rd party I mean, not Discord or the user itself), which would also have access to your files.