infinity icon indicating copy to clipboard operation
infinity copied to clipboard

config.json

Open bui opened this issue 11 years ago • 3 comments

each board should have a publicly-accessible config.json (and mayhaps a config.html) that contains information about the board's configuration, for both transparency and use with other clients

information that could be included:

  • uri, title, subtitle
  • owner and volunteers' usernames (once public userlist goes online), and whatever other info is public on the userlist
  • the actual board settings (flags enabled, forced anon, default anon name, etc.)
  • board announcement
  • word filter
  • banners
  • flags
  • statistics (post count, post rates, unique IPs, creation date)
  • possibly put rules.txt in here instead of its own file?

anything else?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5935883-config-json?utm_campaign=plugin&utm_content=tracker%2F6417251&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6417251&utm_medium=issues&utm_source=github).

bui avatar Nov 12 '14 06:11 bui

first thoughts:

  1. some board owners may not want users to know about their wordfilters
  2. rules.txt is simply used to reload the ?/settings form, it's publicly accessible but isn't really meant to be important
  3. i wouldn't put statistics in there

ctrlcctrlv avatar Nov 12 '14 07:11 ctrlcctrlv

4chan/4chan-API#17 4chan/4chan-API#18

czaks avatar Nov 14 '14 14:11 czaks

and 4chan/4chan-API#22

Some of the proposed fields were integrated into this endpoint: https://a.4cdn.org/boards.json

czaks avatar Nov 14 '14 14:11 czaks