hyphacoop/distributed-press-organizing

Extract default list into json file

Opened this issue · 1 comments

It'd be useful for folks to be able to deploy their own custom versions of the reader with default lists for their communities.

Right now they'd need to fuss with the code, but maybe we can make it easier by having them modify a single json (or newline separated text?) file.

  • Decide on file format for defaults
  • Add file to repo
  • Load from file when detecting that the db has no follows instead of the hardcoded list
  • Add docs to README on how to deploy with custom defaults.

It'd be useful for folks to be able to deploy their own custom versions of the reader with default lists for their communities.

Right now they'd need to fuss with the code, but maybe we can make it easier by having them modify a single json (or newline separated text?) file.

  • Decide on file format for defaults
  • Add file to repo
  • Load from file when detecting that the db has no follows instead of the hardcoded list
  • Add docs to README on how to deploy with custom defaults.

Yeah, this is a cool feature!