familiar-vtt 2.5.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +8 -0
- package/README.md +265 -0
- package/dist/mcp-package/index.mjs +99 -0
- package/package.json +133 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Copyright (c) 2026 Ryan Jansen. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software and associated documentation files (the "Software") are proprietary
|
|
4
|
+
and confidential. Unauthorized copying, distribution, modification, or use of this
|
|
5
|
+
Software, via any medium, is strictly prohibited without prior written permission
|
|
6
|
+
from the copyright holder.
|
|
7
|
+
|
|
8
|
+
The Software is provided "as is", without warranty of any kind, express or implied.
|
package/README.md
ADDED
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# Familiar
|
|
4
|
+
|
|
5
|
+
### Your AI co-pilot for Foundry VTT
|
|
6
|
+
|
|
7
|
+
**176 tools. 25 AI providers. Zero prep.**
|
|
8
|
+
|
|
9
|
+
Give your favorite AI full control of your virtual tabletop — characters, combat, scenes, music, lighting, images, voices, and everything in between.
|
|
10
|
+
|
|
11
|
+
[](https://foundryvtt.com)
|
|
12
|
+
[](https://www.npmjs.com/package/familiar-vtt)
|
|
13
|
+
[](#license)
|
|
14
|
+
|
|
15
|
+
<!-- 🎬 Demo video coming soon -->
|
|
16
|
+
<!--  -->
|
|
17
|
+
|
|
18
|
+
[Installation](#installation) | [Quick Start](#quick-start) | [Features](#features) | [Connect Your AI](#connect-your-ai) | [FAQ](#faq)
|
|
19
|
+
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## The story behind Familiar
|
|
25
|
+
|
|
26
|
+
I'm Ryan — a busy dad of two young kids and a loving wife. After a couple of hectic years, my group wanted to get back to playing D&D together. But finding time to prep sessions? Nearly impossible.
|
|
27
|
+
|
|
28
|
+
I also love running 1-on-1 campaigns for my wife, but solo DMing is *hard*. You're the storyteller, every NPC, the rules engine, and the atmosphere all at once. I needed a co-pilot — something that could voice a tavern keeper, roll initiative for a goblin ambush, conjure a battlemap on the fly, and pick the perfect background music, all while I focused on the story.
|
|
29
|
+
|
|
30
|
+
So I built one.
|
|
31
|
+
|
|
32
|
+
Familiar started as a personal tool. It grew into 176 tools across 24 domains because every session I kept thinking: *"what if it could also..."* Now it can. And I think it might help you too.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## What can Familiar do?
|
|
37
|
+
|
|
38
|
+
Familiar turns any large language model into a full VTT operator. Your AI doesn't just *talk about* your game — it **controls** it.
|
|
39
|
+
|
|
40
|
+
<table>
|
|
41
|
+
<tr>
|
|
42
|
+
<td width="50%">
|
|
43
|
+
|
|
44
|
+
### Run combat encounters
|
|
45
|
+
Start combat, roll initiative, track turns, apply damage, manage conditions — all through natural conversation.
|
|
46
|
+
|
|
47
|
+
*"Roll initiative for everyone and start the encounter."*
|
|
48
|
+
|
|
49
|
+
</td>
|
|
50
|
+
<td width="50%">
|
|
51
|
+
|
|
52
|
+
### Play NPCs with unique voices
|
|
53
|
+
Generate speech for any character using AI voice providers. Each NPC gets their own voice, accent, and personality.
|
|
54
|
+
|
|
55
|
+
*"Have the innkeeper warn the party about the forest, in a raspy old voice."*
|
|
56
|
+
|
|
57
|
+
</td>
|
|
58
|
+
</tr>
|
|
59
|
+
<tr>
|
|
60
|
+
<td width="50%">
|
|
61
|
+
|
|
62
|
+
### Generate images on demand
|
|
63
|
+
Create character portraits, item illustrations, battlemaps, and handouts during play. Five image providers to choose from.
|
|
64
|
+
|
|
65
|
+
*"Generate a portrait of a half-orc blacksmith with a missing tusk."*
|
|
66
|
+
|
|
67
|
+
</td>
|
|
68
|
+
<td width="50%">
|
|
69
|
+
|
|
70
|
+
### Control the atmosphere
|
|
71
|
+
Switch scenes, adjust lighting, change weather, play music — set the mood without ever leaving the conversation.
|
|
72
|
+
|
|
73
|
+
*"Transition to the forest scene, dim the lights, start the rain, and play something ominous."*
|
|
74
|
+
|
|
75
|
+
</td>
|
|
76
|
+
</tr>
|
|
77
|
+
<tr>
|
|
78
|
+
<td width="50%">
|
|
79
|
+
|
|
80
|
+
### Manage characters & inventory
|
|
81
|
+
Read full character sheets, update HP, import items from the compendium, manage spell slots — the AI sees everything.
|
|
82
|
+
|
|
83
|
+
*"Give Elara the Cloak of Elvenkind from the compendium."*
|
|
84
|
+
|
|
85
|
+
</td>
|
|
86
|
+
<td width="50%">
|
|
87
|
+
|
|
88
|
+
### Improvise on the fly
|
|
89
|
+
Players went off-script? The AI creates NPCs, spawns tokens, builds encounters, writes journal entries — in seconds.
|
|
90
|
+
|
|
91
|
+
*"The party decides to rob the bank. Set up a heist encounter."*
|
|
92
|
+
|
|
93
|
+
</td>
|
|
94
|
+
</tr>
|
|
95
|
+
</table>
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Features at a glance
|
|
100
|
+
|
|
101
|
+
| Domain | Tools | Highlights |
|
|
102
|
+
|--------|------:|------------|
|
|
103
|
+
| **Characters & Actors** | 14 | Full sheet access, create/update/delete, ownership management |
|
|
104
|
+
| **Combat & Initiative** | 13 | Start/end encounters, turn tracking, conditions, batch damage |
|
|
105
|
+
| **Combat AI** | 6 | AI-driven attacks, spells, movement, saving throws, death saves |
|
|
106
|
+
| **Scenes & Tokens** | 19 | Create scenes, place/move tokens, weather, darkness, fog of war |
|
|
107
|
+
| **Canvas Drawing** | 8 | Tiles, drawings — spell effects and decorations |
|
|
108
|
+
| **Canvas Environment** | 18 | Walls, doors, lights, ambient sounds, map pins |
|
|
109
|
+
| **Audio & Playlists** | 14 | Full playlist control, play/stop tracks, create playlists on the fly |
|
|
110
|
+
| **Journals & Notes** | 10 | Session notes, lore pages, searchable campaign knowledge |
|
|
111
|
+
| **Compendium & Rules** | 4 | Search monsters/spells/items, spawn creatures into the world |
|
|
112
|
+
| **Image Generation** | 1 | AI-generated portraits, tokens, maps, handouts (5 providers) |
|
|
113
|
+
| **Voice Generation** | 4 | Text-to-speech for NPCs, multi-voice dialogue, character voices |
|
|
114
|
+
| **Scene Generator** | 1 | Generate complete scenes from structured blueprints |
|
|
115
|
+
| **Knowledge & Memory** | 3 | Campaign lore search, persistent memories |
|
|
116
|
+
| **+ 11 more domains** | 61 | Macros, effects, items, folders, tables, cards, regions, events... |
|
|
117
|
+
| **Total** | **176** | |
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Connect your AI
|
|
122
|
+
|
|
123
|
+
Familiar works three ways. Pick what suits you.
|
|
124
|
+
|
|
125
|
+
### Built-in chat (easiest)
|
|
126
|
+
No server, no config. Install the module, pick an AI provider, paste your API key, and start talking.
|
|
127
|
+
|
|
128
|
+
> Works with **16 chat providers**: OpenAI, Anthropic, Google, Mistral, Groq, DeepSeek, xAI, Cohere, Together, Fireworks, Perplexity, Cerebras, SambaNova, OpenRouter, and local models via **Ollama** and **LM Studio**.
|
|
129
|
+
|
|
130
|
+
### MCP — use your existing AI subscription
|
|
131
|
+
Already paying for Claude Pro, ChatGPT Plus, or Gemini? Connect them directly via the [Model Context Protocol](https://modelcontextprotocol.io). Your AI subscription becomes your DM assistant at no extra cost.
|
|
132
|
+
|
|
133
|
+
| Client | Transport | Setup |
|
|
134
|
+
|--------|-----------|-------|
|
|
135
|
+
| **Claude Desktop** | stdio | `npx familiar-vtt` |
|
|
136
|
+
| **Claude Code** | stdio | `npx familiar-vtt` |
|
|
137
|
+
| **ChatGPT** | Streamable HTTP | Remote via Cloudflare tunnel |
|
|
138
|
+
| **Gemini CLI** | stdio | `npx familiar-vtt` — free with Gemini 2.5 Pro |
|
|
139
|
+
| **Cursor / Windsurf / VS Code** | stdio | Via MCP config |
|
|
140
|
+
|
|
141
|
+
The module includes a step-by-step **MCP Setup Wizard** to guide you through connecting any client.
|
|
142
|
+
|
|
143
|
+
### BYOK philosophy
|
|
144
|
+
Familiar never proxies, meters, or marks up your AI costs. You bring your own API keys, and every token goes straight to the provider. With 25 providers to choose from, you're never locked in.
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## Installation
|
|
149
|
+
|
|
150
|
+
### From Foundry (recommended)
|
|
151
|
+
1. Open Foundry VTT as GM
|
|
152
|
+
2. Go to **Settings** > **Manage Modules** > **Install Module**
|
|
153
|
+
3. Search for **"Familiar"** or paste the manifest URL:
|
|
154
|
+
```
|
|
155
|
+
https://github.com/Ryanjansen92/familiar/releases/latest/download/module.json
|
|
156
|
+
```
|
|
157
|
+
4. Click **Install**, then enable the module in your world
|
|
158
|
+
|
|
159
|
+
### For MCP clients (npm)
|
|
160
|
+
```bash
|
|
161
|
+
npx familiar-vtt
|
|
162
|
+
```
|
|
163
|
+
Or install globally:
|
|
164
|
+
```bash
|
|
165
|
+
npm install -g familiar-vtt
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Quick start
|
|
171
|
+
|
|
172
|
+
1. **Install & enable** the Familiar module in your Foundry world
|
|
173
|
+
2. **Open settings** — go to Module Settings > Familiar
|
|
174
|
+
3. **Pick a chat provider** (e.g., OpenAI, Anthropic, or a free local model via Ollama)
|
|
175
|
+
4. **Paste your API key**
|
|
176
|
+
5. **Open the Familiar chat** from the sidebar button
|
|
177
|
+
6. **Start playing** — ask your AI to roll dice, run combat, describe a scene, or generate an image
|
|
178
|
+
|
|
179
|
+
That's it. No Node.js server needed, no terminal, no config files.
|
|
180
|
+
|
|
181
|
+
> **Power users**: Want to use Claude Desktop, ChatGPT, or Gemini CLI? Open the MCP Setup Wizard in the module settings for step-by-step instructions.
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## Supported systems
|
|
186
|
+
|
|
187
|
+
Familiar is designed for **D&D 5e (2024)** on Foundry VTT and works with both **Foundry v13** and **v14**.
|
|
188
|
+
|
|
189
|
+
Other game systems may work for basic features (dice rolling, scenes, journals) but are not officially tested yet.
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## FAQ
|
|
194
|
+
|
|
195
|
+
<details>
|
|
196
|
+
<summary><b>Is it free?</b></summary>
|
|
197
|
+
|
|
198
|
+
Yes. All 176 tools, all 25 providers, the built-in chat, and full MCP support are free. A Pro tier with premium features (session persistence, auto-summarization, NPC memory) is coming soon for a small monthly fee.
|
|
199
|
+
</details>
|
|
200
|
+
|
|
201
|
+
<details>
|
|
202
|
+
<summary><b>Does my game data leave my computer?</b></summary>
|
|
203
|
+
|
|
204
|
+
Only when you talk to an AI provider — the same as any other AI chat. Familiar runs locally inside Foundry. No telemetry, no analytics, no data collection. If you use a local model (Ollama/LM Studio), nothing ever leaves your machine.
|
|
205
|
+
</details>
|
|
206
|
+
|
|
207
|
+
<details>
|
|
208
|
+
<summary><b>Can the AI break my world?</b></summary>
|
|
209
|
+
|
|
210
|
+
Familiar has built-in safety rails. Document updates are sanitized — the AI can't change ownership, permissions, or document IDs. Destructive operations (delete character, end combat) require explicit confirmation in the conversation. That said, it's always smart to back up your world before trying new tools.
|
|
211
|
+
</details>
|
|
212
|
+
|
|
213
|
+
<details>
|
|
214
|
+
<summary><b>Can I use it for solo play?</b></summary>
|
|
215
|
+
|
|
216
|
+
Absolutely — that's one of the main use cases. The AI can run NPCs, manage encounters, describe scenes, and make rulings. It's like having a DM available whenever you want to play.
|
|
217
|
+
</details>
|
|
218
|
+
|
|
219
|
+
<details>
|
|
220
|
+
<summary><b>Does it work with other modules?</b></summary>
|
|
221
|
+
|
|
222
|
+
Familiar works alongside any Foundry module. Dedicated integrations with Midi-QOL, Sequencer, Token Magic FX, and JB2A are on the roadmap.
|
|
223
|
+
</details>
|
|
224
|
+
|
|
225
|
+
<details>
|
|
226
|
+
<summary><b>What AI model should I use?</b></summary>
|
|
227
|
+
|
|
228
|
+
For the best experience, use a model with a large context window and strong tool-use support: **Claude 4 Sonnet/Opus**, **GPT-4o**, or **Gemini 2.5 Pro**. For free/local options, **Gemini CLI** (free tier) or **Ollama with Qwen/Llama** work well.
|
|
229
|
+
</details>
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
## Roadmap
|
|
234
|
+
|
|
235
|
+
- [ ] Session persistence (conversations saved to journal entries)
|
|
236
|
+
- [ ] Context management & auto-summarization
|
|
237
|
+
- [ ] NPC character cards (personality, speech patterns, memory)
|
|
238
|
+
- [ ] Session recaps (one-click journal summary)
|
|
239
|
+
- [ ] Module integrations (Midi-QOL, Sequencer, Token Magic FX)
|
|
240
|
+
- [ ] AI Campaign Setup (import an adventure, auto-prep your sessions)
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## Contributing & feedback
|
|
245
|
+
|
|
246
|
+
Familiar is in early access. If you run into bugs, have feature ideas, or just want to share how you're using it — I'd love to hear from you.
|
|
247
|
+
|
|
248
|
+
- [Open an issue](https://github.com/Ryanjansen92/familiar/issues)
|
|
249
|
+
- [Join the discussion](https://github.com/Ryanjansen92/familiar/discussions)
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## License
|
|
254
|
+
|
|
255
|
+
Familiar is proprietary software. See [LICENSE](LICENSE) for details.
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
<div align="center">
|
|
260
|
+
|
|
261
|
+
Built with care by a DM who'd rather be playing.
|
|
262
|
+
|
|
263
|
+
*Now go roll some dice.*
|
|
264
|
+
|
|
265
|
+
</div>
|