Initial commit: Project structure and layout

This commit is contained in:
2026-04-22 01:45:29 +08:00
commit 481555c257
67 changed files with 17248 additions and 0 deletions

37
client/.env.example Normal file
View File

@@ -0,0 +1,37 @@
# =====================================================
# API Configuration
# =====================================================
VITE_API_URL=http://localhost:23337/api
VITE_WS_URL=ws://localhost:23337
# =====================================================
# Application Configuration
# =====================================================
VITE_APP_NAME=SillyTavern Replace
VITE_APP_VERSION=1.0.0
# =====================================================
# Feature Flags
# =====================================================
VITE_ENABLE_WEBSOCKET=true
VITE_ENABLE_SSE=true
# =====================================================
# LLM Configuration (Public - Safe to Expose)
# =====================================================
VITE_DEFAULT_LLM_PROVIDER=openai
VITE_MAX_TOKENS=4096
VITE_DEFAULT_TEMPERATURE=0.7
# =====================================================
# UI Configuration
# =====================================================
VITE_THEME=light
VITE_LANGUAGE=zh-CN
VITE_ITEMS_PER_PAGE=20
# =====================================================
# Upload Configuration
# =====================================================
VITE_MAX_UPLOAD_SIZE=10485760
VITE_ALLOWED_FILE_TYPES=.json,.csv,.txt,.md,.png,.jpg