☰

JanitorAI Lorebook Exporter

Export JanitorAI lorebooks as SillyTavern World Info JSON.

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

Um dieses Skript zu installieren, müssen Sie eine Erweiterung wie Tampermonkey oder Violentmonkey installieren.

Um dieses Skript zu installieren, müssen Sie eine Erweiterung wie Tampermonkey oder Violentmonkey installieren.

Um dieses Skript zu installieren, müssen Sie eine Erweiterung wie Tampermonkey oder Userscripts installieren.

Um dieses Skript zu installieren, müssen Sie eine Erweiterung wie Tampermonkey installieren.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

Um dieses Design zu installieren, müssen Sie eine Erweiterung wie Stylus installieren.

Um dieses Design zu installieren, müssen Sie eine Erweiterung wie Stylus installieren.

Um dieses Design zu installieren, müssen Sie eine Erweiterung wie Stylus installieren.

Um diesen Stil zu installieren, müssen Sie eine Erweiterung für den Benutzerstil Verwaltung installieren.

Um diesen Stil zu installieren, müssen Sie eine Erweiterung für den Benutzerstil Verwaltung installieren.

Um diesen Stil zu installieren, müssen Sie eine Erweiterung für den Benutzerstil Verwaltung installieren.

(Ich habe bereits einen Benutzerstil Verwaltung, ich möchte ihn installieren!)

Autor
Leon Marzahn
Installationen heute
5
Installationen gesamt
57
Bewertungen
0 0 0
Version
0.2.2
Erstellt am
18.10.2026
Letzte Aktualisierung
18.10.2026
Größe
14,9 KB
Lizenz
MIT
Wird angewandt auf

JanitorAI Lorebook Exporter

A userscript that exports JanitorAI lorebooks as SillyTavern World Info JSON.

Features

  • Adds a ⬇ SillyTavern button next to the clone button on lorebook pages (janitorai.com/scripts/<id>).
  • Adds a ⬇ ST button to lorebook cards on character pages, when the page lists them.
  • Floating 📖 panel (bottom right) to export every lorebook attached to the current character page.
  • Convert a JanitorAI lorebook JSON file you already have, using the panel's file picker.
  • Wraps every entry's content in a tag named after the entry, e.g. an entry called Mika becomes <Mika>…</Mika>.

Install

  1. Install a userscript manager such as Tampermonkey.
  2. Install the script from its Sleazy Fork page.
  3. Open janitorai.com.

Usage

  1. Open a lorebook page, e.g. https://janitorai.com/scripts/<id>.
  2. Click ⬇ SillyTavern. A <title>.worldinfo.json file downloads.
  3. In SillyTavern, open World Info and use Import World Info to load the file.

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 wrapping

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 _.

Field mapping

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.

Limitations

  • Private lorebooks can't be exported. If the creator turned off code sharing, JanitorAI doesn't send the entries to anyone but the creator. The script reports this instead of exporting. Only the creator can export it. If the lorebook is a copy of a public one, export the original instead.
  • Entries are read through JanitorAI's own site API using your browser session, so if JanitorAI changes it, the script may need an update.
  • Button placement depends on the site's current layout. If a button is missing, the 📖 panel still works.

License

MIT