1.3 KiB
1.3 KiB
Lorebook Converter
A Next.js application for converting Janitor AI lorebook format to SillyTavern format with comprehensive editing capabilities.
Features
- Upload Janitor AI lorebook JSON files or paste JSON data directly
- Automatic conversion to SillyTavern format
- Comprehensive editing interface matching SillyTavern UI:
- Primary and secondary keywords
- Logic settings (AND ANY, AND ALL, NOT ANY, NOT ALL)
- Scan depth and case sensitivity
- Group settings and weights
- Recursion controls
- Additional matching sources
- Filter settings
- Automation ID support
- All boolean flags and numeric settings
- Add new entries
- Delete existing entries
- Clear lorebook and upload new files
- Copy content to clipboard
- Dark mode UI matching the sucker app style
Getting Started
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open http://localhost:3000 with your browser.
Usage
- Upload your Janitor AI lorebook JSON file
- Review the converted entries
- Edit any entries as needed using the edit buttons
- Add or delete entries if desired
- Download the final SillyTavern-compatible JSON file
Deployment
This app can be deployed to Vercel, Netlify, or any other Next.js-compatible hosting platform.
npm run build