StrangeBytes's picture
Upload 8 files
8ebe2ad verified
|
Raw History Blame Contribute Delete
2.12 kB
---
title: Museris Character Builder
emoji: ✨
colorFrom: gray
colorTo: yellow
sdk: static
app_file: dist/index.html
short_description: Build a roleplay character and download an RPKG file.
pinned: false
---
# Museris Character Builder
Create a character, add opening messages and an optional portrait, and download an RPKG file to import into [Museris](https://museris.com/?utm_source=huggingface&utm_medium=space&utm_campaign=character_builder).
The builder runs in your browser. Character text and images are not uploaded. No account, API key, or model is required. This is a guided writing tool; it does not generate characters with AI.
## Develop
From this directory:
```sh
bun install
bun run build
bun run typecheck
bun run preview
```
Open http://localhost:4173. Rebuild after editing the source.
## Publish on Hugging Face
Create a **Static** Space in the desired account or organization. Build locally with Bun, then upload this README and the `dist` directory to the Space repository, preserving their paths. The Space serves `dist/index.html`; no server, secrets, or inference budget is needed. Include the source files too if you want visitors to inspect or reuse the implementation. Do not upload `node_modules`.
The Space is independently deployable and does not add a route to the Hub.
## Format and validation
RPKG is an open, portable format for AI roleplay content. See the [RPKG GitHub repository](https://github.com/StrangeBytesOrg/rpkg) for the specification, schemas, and reference tools.
Exports follow the [Museris RPKG 1.0 specification](https://docs.museris.com/reference/rpkg): a ZIP archive containing an uncompressed `mimetype`, `manifest.json`, and one `characters/<uuid>.json` document. Portraits are embedded as image data URLs. Names, definitions, and at least one greeting must contain text before export. Portraits must be PNG, JPEG, or WebP and at most 5 MiB.
The format is also documented in this repository at `src/docs/reference/rpkg.md`. Import the downloaded file through Museris's character import flow. The builder does not publish characters to the community Hub.