Skip to main content
Board configuration maps board shortnames to their full display names. Ayase Quart includes template files for both 4chan and Lainchan archives.

Board configuration file

Create a boards.toml file based on one of the provided templates:
  • boards.4chan.tpl.toml - Template for 4chan boards
  • boards.lainchan.tpl.toml - Template for Lainchan boards
cp boards.4chan.tpl.toml boards.toml
# or
cp boards.lainchan.tpl.toml boards.toml

Configuration format

Boards are defined in the [boards] section using TOML key-value pairs:
[boards]
shortname = 'Full Board Name'

4chan boards example

[boards]
a = 'Anime & Manga'
g = 'Technology'
v = 'Video Games'
pol = 'Politically Incorrect'
wsg = 'Worksafe GIF'

Lainchan boards example

[boards]
'λ' = 'Programming'
'Ω' = 'Technology'
'Δ' = 'Do It Yourself'
sec = 'Security'
lit = 'Literature'
Board shortnames with special characters (like Lainchan’s Greek letters) must be quoted in TOML.

Selecting boards to archive

You can archive a subset of boards by removing unwanted entries from the [boards] section. Only include the boards you want to make available in your archive.
[boards]
v = 'Video Games'
vg = 'Video Game Generals'
vm = 'Video Games/Multiplayer'
vmg = 'Video Games/Mobile'
vp = 'Pokemon'
vr = 'Retro Games'
vrpg = 'Video Games/RPG'
vst = 'Video Games/Strategy'
[boards]
g = 'Technology'
sci = 'Science & Math'
diy = 'Do It Yourself'

Complete board lists

The template includes all 4chan boards:
3, a, aco, adv, an, b, bant, biz, c, cgl, ck, cm, co, d, diy,
e, f, fa, fit, g, gd, gif, h, hc, his, hm, hr, i, ic, int,
jp, k, lgbt, lit, m, mlp, mu, n, news, o, out, p, po, pol,
pw, qa, qst, r, r9k, s, s4s, sci, soc, sp, t, tg, toy, trv,
tv, u, v, vg, vip, vm, vmg, vp, vr, vrpg, vst, vt, w, wg,
wsg, wsr, x, xs, y
ShortnameFull Name
33DCG
aAnime & Manga
acoAdult Cartoons
advAdvice
anAnimals & Nature
bRandom
bantInternational/Random
bizBusiness & Finance
cAnime/Cute
cglCosplay & EGL
ckFood & Cooking
cmCute/Male
coComics & Cartoons
dHentai/Alternative
diyDo It Yourself
eEcchi
fFlash
faFashion
fitFitness
gTechnology
gdGraphic Design
gifAdult GIF
hHentai
hcHardcore
hisHistory & Humanities
hmHandsome Men
hrHigh Resolution
iOekaki
icArtwork/Critique
intInternational
jpOtaku Culture
kWeapons
lgbtLGBT
litLiterature
mMecha
mlpPony
muMusic
nTransportation
newsCurrent News
oAuto
outOutdoors
pPhoto
poPapercraft & Origami
polPolitically Incorrect
pwProfessional Wrestling
qaQuestion & Answer
qstQuests
rAdult Requests
r9kROBOT9001
sSexy Beautiful Women
s4sShit 4chan Says
sciScience & Math
socCams & Meetups
spSports
tTorrents
tgTraditional Games
toyToys
trvTravel
tvTelevision & Film
uYuri
vVideo Games
vgVideo Game Generals
vipVery Important Posts
vmVideo Games/Multiplayer
vmgVideo Games/Mobile
vpPokemon
vrRetro Games
vrpgVideo Games/RPG
vstVideo Games/Strategy
vtVirtual YouTubers
wAnime/Wallpapers
wgWallpapers/General
wsgWorksafe GIF
wsrWorksafe Requests
xParanormal
xsExtreme Sports
yYaoi

Board validation

By default, Ayase Quart validates that all boards defined in boards.toml have corresponding database tables at startup.
[app]
validate_boards_db = true
Set validate_boards_db = false if:
  • You’re preparing board configurations before importing archive data
  • You want to test the application with incomplete board data
  • You’re gradually adding boards over time
Disabling validation may result in errors when users try to access boards without database tables.

Custom board archives

You can create custom board configurations for archives that aren’t 4chan or Lainchan:
  1. Create a new boards.toml file
  2. Define your boards in the [boards] section
  3. Ensure board shortnames match your database table names
  4. Set appropriate archive type in config.toml:
[archive]
type = 'yotsuba'  # or 'vichan'
canonical_name = 'Your Archive Name'
canonical_host = 'https://your-archive.com'

Board display order

Boards appear in the order they’re defined in boards.toml. Organize them logically for your users:
[boards]
a = 'Anime & Manga'
g = 'Technology'
v = 'Video Games'
[boards]
v = 'Video Games'
pol = 'Politically Incorrect'
g = 'Technology'
a = 'Anime & Manga'
[boards]
# Technology
g = 'Technology'
sci = 'Science & Math'

# Entertainment
v = 'Video Games'
tv = 'Television & Film'
mu = 'Music'

Media configuration per board

You can control which boards serve images and thumbnails using the media configuration:
[media]
# Serve images for specific boards only
boards_with_image = 'g,v,a'  # comma-separated list

# Serve thumbnails for specific boards only
boards_with_thumb = 'g,v,a,tv'
See Media configuration for more details.

Build docs developers (and LLMs) love