FoxxMD / context-mod

an event-based, reddit moderation bot built on top of snoowrap and written in typescript
https://contextmod.dev
MIT License
49 stars 11 forks source link

Support loading config from cloud backends #105

Open FoxxMD opened 2 years ago

FoxxMD commented 2 years ago

CM has evolved to rely heavily on the operator config for general setup and storing bot credentials generated via the wizard/invite helper. Currently, the config can only be loaded via local storage. This is fine for hosting on a full VM/OS but many "free" tier cloud hosting platforms do not support persistent local storage or have hoops to jump through to set this up.

CM should support CRUD for operator config using a file system adapter like Flysystem -- where all operations are done through a library that supports multiple backends. This would make deployment to the cloud easier.

FoxxMD commented 2 years ago

Some options I've found for storage abstraction: