4chan-x/CONTRIBUTING.md

29 lines
969 B
Markdown

Generic archive information:
```json
{
"uid": 1234,
"name": "Archive Name",
"domain": "example.com",
"http": true,
"https": true,
"software": "foolfuuka",
"boards": ["a"],
"files": ["a"],
"search": ["a"]
}
```
Most entries should be self-explanatory.
`uid` stands for "unique id", used on the client-side to save archive-specific settings.
The `uid` for a new archive should be an increment of the highest one,
make sure it does not overlap with an archive that previously died for example.
`software` can be `"foolfuuka"` or `"fuuka"` for example.
`files` is the list of boards whose files (images, videos, pdfs) are also archived, even temporarily, and not just thumbnails.
`search` is the list of boards where search is enabled. If this field is missing then it implies that search is enabled on all boards.
Also, be sure to add your board to [archives.md](https://github.com/MayhemYDG/archives.json/blob/gh-pages/archives.md) at some point.