Skip to content

Pages & Templates

Template rendering

Pages are rendered with Jinja2 on the server side. Templates are located in the templates/ directory.

Page list

PathTemplateDescription
/index.htmlMain chat interface with Live2D/VRM rendering
/chara_managerchara_manager.htmlCharacter personality and settings editor
/api_keyapi_key_settings.htmlAPI key configuration panel
/model_managermodel_manager.htmlModel browsing and management
/live2d_parameter_editorlive2d_parameter_editor.htmlLive2D model parameter fine-tuning
/live2d_emotion_managerlive2d_emotion_manager.htmlLive2D emotion mapping
/vrm_emotion_managervrm_emotion_manager.htmlVRM emotion mapping
/voice_clonevoice_clone.htmlVoice cloning interface
/memory_browsermemory_browser.htmlMemory browsing and editing
/steam_workshop_managersteam_workshop_manager.htmlSteam Workshop management

Dark mode

Dark mode is managed by static/theme-manager.js:

  • Toggle via UI button
  • Persisted in localStorage
  • CSS variables defined in static/css/dark-mode.css
  • Respects system preference (prefers-color-scheme)

Static file serving

Mount pointDirectoryContent
/staticstatic/JS, CSS, images, locales
/user_live2dUser documentsUser-imported Live2D models
/user_vrmUser documentsUser-imported VRM models
/workshopSteam WorkshopWorkshop-subscribed models

Released under the MIT License.