MCPcopy Index your code
hub / github.com/Cellule/dndGenerator

github.com/Cellule/dndGenerator @0.6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.6.0 ↗ · + Follow
40 symbols 76 edges 21 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Non-Player Character generator

Website for generating randomized Non-Player Characters (NPCs) with attributes, in-depth and unique descriptions as well as a plot hook

Uses the NPC Generator library to generate NPCs.

Development

Setup

You will need to install Node on your system.

$ git clone https://github.com/Cellule/dndGenerator.git
$ cd dndGenerator
$ npm install

Run locally

Start local server

$ npm run dev

Test changes from the npc-generator library

Recommended to checkout the npc-generator library on your computer and use npm link to link it to the dndGenerator project.

$ git clone https://github.com/Cellule/npc-generator
$ cd npc-generator
$ npm run build
$ npm link
$ cd ../dndGenerator
$ npm link npc-generator
# Start local server

Extension points exported contracts — how you extend this code

IStorageItems (Interface)
(no doc)
src/browserStorage.ts
IProps (Interface)
(no doc)
src/NpcData.tsx
Props (Interface)
(no doc)
src/NpcHistory.tsx
IProps (Interface)
(no doc)
src/UserInput.tsx
GeneratedNpc (Interface)
(no doc)
src/typings.d.ts
IState (Interface)
(no doc)
src/UserInput.tsx

Core symbols most depended-on inside this repo

cs
called by 4
src/core/classSet.ts
wrapLocalStorage
called by 3
src/browserStorage.ts
getCharacterText
called by 2
src/UserInput.tsx
getExportFileName
called by 2
src/UserInput.tsx
getHistoryFromStorage
called by 2
src/useNpcHistory.ts
generateNpc
called by 1
src/DisplayNpc.tsx
useNpcFromQuery
called by 1
src/DisplayNpc.tsx
setItem
called by 1
src/browserStorage.ts

Shape

Function 18
Class 8
Method 8
Interface 6

Languages

TypeScript100%

Modules by API surface

src/UserInput.tsx9 symbols
src/browserStorage.ts6 symbols
src/NpcData.tsx6 symbols
src/DisplayNpc.tsx5 symbols
src/Footer.tsx4 symbols
src/App.tsx3 symbols
src/useNpcHistory.ts2 symbols
src/NpcHistory.tsx2 symbols
src/typings.d.ts1 symbols
src/core/classSet.ts1 symbols
cypress.config.ts1 symbols

For agents

$ claude mcp add dndGenerator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact