LeaPhant / flowabot

Modular Discord bot with fun features including twitch commands and advanced osu! commands. 🌷
MIT License
111 stars 33 forks source link

S3 render upload #64

Open ILW8 opened 2 years ago

ILW8 commented 2 years ago

Adds the ability to use a S3-compatible bucket host for uploading rendered videos instead of relying on Discord for hosting the videos. This allows circumventing the rather restrictive 8MB file size limit.

The code isn't particularly clean, and it's missing some error handling in case of upload failures. This draft mainly serves as a way of getting feedback on the overall idea.

LeaPhant commented 2 years ago

This draft mainly serves as a way of getting feedback on the overall idea.

Definitely something I'd want, although not sure about S3. I already have code in my local instance that uploads videos above 8 MB to a local file server but never pushed it since it's too specific.

I'd like a more general approach, maybe the option to put a custom command the output video path is passed into into so you can define your own upload target via curl, jq and what not.