heyitsritesh Actually, yes! For this coming release, we've added in a filesystem abstraction, through which extensions can introduce custom filesystem drivers (S3 wrapped in a CDN for instance). The default flarum-assets
and flarum-avatars
systems also use this abstraction (defaulted to the local disk driver). There's currently no GUI, so it's up to extensions to implement an interface in admin, but it's now possible! A GUI might come in future releases.
See flarum/core1783 for more information.