How yxymeng/palserverconsole works
PalServerConsole is a local-first web console for managing Palworld servers and browsing read-only world snapshots. The main user flow runs from the browser shell through feature pages and the API to server operations, configuration, monitoring, maintenance, or world-data services. World snapshots are parsed separately and exposed as derived read-only data. The README documents the major capabilities; some feature implementations and router wiring were not sampled, so those connections are shown only where documented or marked unverified.
Main entry points: ConsoleShell.tsx Console shell · client.ts API client · main.py Application runtime · routers HTTP API
Components 27
Web console
- Console shell
frontend/src/app/ConsoleShell.tsx - API client
frontend/src/api/client.ts - Overview
frontend/src/features/overview/Overview.tsx - Live monitoring
frontend/src/features/monitoring/LiveMonitoring.tsx - World browser
frontend/src/features/world/WorldDataPage.tsx - Configuration
frontend/src/features/config/ConfigPage.tsx - Maintenance
frontend/src/features/maintenance/MaintenancePage.tsx - Backup manager
frontend/src/features/backups/BackupsPage.tsx - Audit viewer
frontend/src/features/audit/AuditPage.tsx
API and access
- HTTP API
backend/palserver_console/api/routers - Authentication
backend/palserver_console/auth.py - Request security
backend/palserver_console/api/security.py - Application runtime
backend/palserver_console/main.py
Server operations
- Server lifecycle
backend/palserver_console/lifecycle.py - Live status
backend/palserver_console/monitoring.py - Server discovery
backend/palserver_console/config.py - Steam discovery
backend/palserver_console/steam.py
World data
- Snapshot service
backend/palserver_console/world/service.py - Parser worker
backend/palserver_console/world/worker.py - Save adapter
backend/palserver_console/world/adapter.py - Derived cache
backend/palserver_console/world/cache.py
State and maintenance
- SQLite state
backend/palserver_console/persistence.py - Backup and restore
backend/palserver_console/backups.py - Config management
backend/palserver_console/config_editor.py - Audit records
backend/palserver_console/audit.py
Other components
- Server operator
- PalServer
Connections 33
- Server operator → Console shell: uses
README.md - Console shell → Overview: routes to
frontend/src/app/ConsoleShell.tsx - Console shell → Live monitoring: routes to
frontend/src/app/ConsoleShell.tsx - Console shell → World browser: routes to
frontend/src/app/ConsoleShell.tsx - Console shell → Configuration: routes to
frontend/src/app/ConsoleShell.tsx - Console shell → Maintenance: routes to
frontend/src/app/ConsoleShell.tsx - Server operator → Backup manager: manages backups
README.md - Server operator → Audit viewer: reviews events
README.md - Overview → API client: requests data
- Live monitoring → API client: requests data
frontend/src/features/monitoring/LiveMonitoring.tsx - World browser → API client: requests data
- Configuration → API client: requests data
- Maintenance → API client: requests data
- API client → HTTP API: calls HTTP
- HTTP API → Request security: checks requests
backend/palserver_console/api/routers/server.py - Request security → Authentication: validates sessions
backend/palserver_console/api/security.py - HTTP API → Server lifecycle: starts operations
backend/palserver_console/api/routers/server.py - HTTP API → Server discovery: discovers worlds
backend/palserver_console/api/routers/server.py - Application runtime → Live status: starts
backend/palserver_console/main.py - Application runtime → Snapshot service: starts
backend/palserver_console/main.py - Application runtime → Audit records: starts
backend/palserver_console/main.py - Application runtime → SQLite state: initializes via dependencies
- Server discovery → Steam discovery: scans libraries
backend/palserver_console/config.py - Server lifecycle → PalServer: controls process
README.md - Live status → PalServer: reads live status
README.md - Snapshot service → Parser worker: runs parser
backend/palserver_console/world/service.py - Parser worker → Save adapter: parses save
backend/palserver_console/world/worker.py - Snapshot service → Derived cache: reads and validates
backend/palserver_console/world/service.py - Snapshot service → SQLite state: persists snapshot state
backend/palserver_console/world/service.py - Server operator → Backup and restore: restores official backups
README.md - Server operator → Config management: changes settings
README.md - Server operator → Audit records: audits activity
README.md - Backup and restore → SQLite state: journals operations