novelai-lorebook-helper
v1.0.4
Published
A tool to build NovelAI lorebook files that simplifies building complex regular-expression keys and creating focused relationships between entries.
Downloads
4
Readme
NovelAI Lorebook Helper
This simple script is a tool to build *.lorebook
files that feature more complex regular-expression
keys and simplifies creating focused relationships between entries.
Try Online
There is a RunKit playground setup that lets you run this script from your browser. It's setup with the example that you can use as a base for your own lorebook.
You will just need to copy the output into a *.lorebook
file.
Installation
- Install NodeJS for your OS.
- Pull or download this repo so you have your own copy.
- Using your command-line software of choice, navigate to the directory you placed it.
- Run the example with:
node ./example.js
- Assuming everything is installed correctly, an
example.lorebook
file will be output into the directory. - Customize! The generated
.lorebook
can be imported into your story.
Usage
Check out example.js
to see how the script is used.
You can use this example as a basis for your own lorebook, however, using this script effectively requires some programming and JavaScript knowledge.
Check out the comments of each file for more information.
License
Released under the terms of The Unlicense; do with this as you please.
See the LICENSE
file for more details.