SmutFixer 18+

Charon / source

charon

Self-hosted chat for stories and roleplay. Character cards, lorebooks, personas, streaming replies, and one SQLite file you own.

MITv0.1.3main683 filesupdated 23 Nov 2026

Open source, in full.

Every line that runs on your machine is here: the chat tree, the card importer, the streaming, and the interface. No closed build and no missing folder. Download the archive, or open any file below.

Run it from source

pnpm install
cp .env.example .env
pnpm run dev

Put BETTER_AUTH_SECRET and ENCRYPTION_KEY in .env, generated with openssl rand -hex 64 and openssl rand -hex 32. Migrations run on first start. Prefer the download? Use the release, not the source.

Files

683 files · 6.4 MB

.agents/1
friction-log/8
20260807010035-rtk-lint-alias/1
20260918204029-docs-markdown-md/1
20260919144320-vite-config-silently/1
20260924010703-global-playwright-expects/1
20261018024122-rtk-shell-tool/1
20261114055859-drizzle-kit-generate/1
README.md1.4 KB
.dsh/1
.githooks/1
.github/1
ISSUE_TEMPLATE/2
.impeccable/1
.vscode/1
bin/1
charon.mjs15.3 KB
docs/12
drizzle/30
patches/1
scripts/20
src/14
components/10
ai/6
character/7
common/25
lorebook/2
preset/2
settings/2
ui/64
db/5
features/4
chat/3
config/7
tree/10
ui/14
components/22
hooks/6
pages/3
settings/14
generation/24
logging/9
onboarding/8
hooks/14
integrations/1
tanstack-query/2
lib/25
cardkit/12
character/10
chat/7
lorebook/4
st-core/8
character/10
chat-tree/5
context/7
lorebook/5
script/5
parser.ts7.6 KB
scope.ts2.0 KB
types.ts3.0 KB
shared/7
transform/5
auth.ts2.0 KB
mcp/1
routes/12
api/6
auth/1
$.ts295 B
backgrounds/1
$id/1
cardkit/1
$name.ts1.3 KB
characters/1
$id/1
generation/1
chat.ts7.9 KB
personas/1
$id/1
icon.ts862 B
cards/2
$name.tsx12.7 KB
index.tsx3.1 KB
characters/12
chat/2
lorebooks/3
$id.tsx18.4 KB
index.tsx4.5 KB
new.tsx3.8 KB
settings/7
index.tsx24.4 KB
setup.tsx9.0 KB
up.ts1.6 KB
server/19
test/1
setup.ts1.3 KB
fonts.css8.2 KB
styles.css30.4 KB
static/9
AGENTS.md3.7 KB
LICENSE1.0 KB
NOTICE960 B
README.md10.7 KB

License

MIT. Use it, change it, ship it, keep the notice. The characters are yours; the code is everyone's.