53 lines
1.3 KiB
Markdown
53 lines
1.3 KiB
Markdown
# 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
|
|
|
|
1. Install dependencies:
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
2. Run the development server:
|
|
```bash
|
|
npm run dev
|
|
```
|
|
|
|
3. Open [http://localhost:3000](http://localhost:3000) with your browser.
|
|
|
|
## Usage
|
|
|
|
1. Upload your Janitor AI lorebook JSON file
|
|
2. Review the converted entries
|
|
3. Edit any entries as needed using the edit buttons
|
|
4. Add or delete entries if desired
|
|
5. Download the final SillyTavern-compatible JSON file
|
|
|
|
## Deployment
|
|
|
|
This app can be deployed to Vercel, Netlify, or any other Next.js-compatible hosting platform.
|
|
|
|
```bash
|
|
npm run build
|
|
``` |