Skip to content
This repository has been archived by the owner on Jun 13, 2020. It is now read-only.

config.json #254

Open
bui opened this issue Nov 12, 2014 · 3 comments
Open

config.json #254

bui opened this issue Nov 12, 2014 · 3 comments

Comments

@bui
Copy link
Contributor

bui commented Nov 12, 2014

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).
@ctrlcctrlv
Copy link
Owner

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

@czaks
Copy link
Collaborator

czaks commented Nov 14, 2014

@czaks
Copy link
Collaborator

czaks commented Nov 14, 2014

and 4chan/4chan-API#22

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants