novelai-lorebook-helper

1.0.4 • Public • Published

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

  1. Install NodeJS for your OS.
  2. Pull or download this repo so you have your own copy.
  3. Using your command-line software of choice, navigate to the directory you placed it.
  4. Run the example with: node ./example.js
  5. Assuming everything is installed correctly, an example.lorebook file will be output into the directory.
  6. 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.

Readme

Keywords

Package Sidebar

Install

npm i novelai-lorebook-helper

Weekly Downloads

5

Version

1.0.4

License

Unlicense

Unpacked Size

75.6 kB

Total Files

17

Last publish

Collaborators

  • taleir