☰

JanitorAI Lorebook Exporter

Export JanitorAI lorebooks as SillyTavern World Info JSON.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램을 먼저 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
Leon Marzahn
일일 설치 수
4
총 설치 수
129
평점
1 0 0
버전
0.2.2
생성일
2026-10-18
갱신일
2026-10-18
크기
14.9KB
라이선스
MIT
적용 사이트

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