Export JanitorAI lorebooks as SillyTavern World Info JSON.
A userscript that exports JanitorAI lorebooks as SillyTavern World Info JSON.
janitorai.com/scripts/<id>).Mika becomes <Mika>…</Mika>.https://janitorai.com/scripts/<id>.<title>.worldinfo.json file downloads.On a character page you can instead open the 📖 panel and click Export lorebook(s) for this page. The script also looks through the creator's public scripts for lorebooks attached to that character, since the character page doesn't always list them.
Tag names come from the entry name:
| Entry name | Output |
|---|---|
Mika |
<Mika>…</Mika> |
Jessie's Room |
<Jessies_Room>…</Jessies_Room> |
| (no name) | first keyword, or Entry_<n> |
Apostrophes and quotes are dropped, and other characters that aren't letters, digits, _, . or - become _.
| JanitorAI | SillyTavern |
|---|---|
key |
key |
keysecondary |
keysecondary (selective on when present) |
selectiveLogic |
selectiveLogic |
constant |
constant |
enabled |
disable (inverted) |
probability |
probability / useProbability |
insertion_order |
order |
placementPosition (before) |
position 0, otherwise 1 (after character) |
inclusionGroup |
group |
minMessages |
delay |
case_sensitive, matchWholeWords |
same |
Anything else gets SillyTavern's defaults.
MIT