How remnawave/frontend works
Remnawave Frontend is an administrative web panel. The principal workflow is a user entering through authentication, navigating the dashboard, and viewing or managing panel resources through page connectors and API query hooks. Its distinct areas include infrastructure, users, configuration, analytics, and inspection tools. The graph also shows shared application setup, API transport/query infrastructure, and the local SSH-key vault. Several dashboard capabilities are represented by their exact paths, but their internal wiring was not sampled, so those links are omitted.
Main entry points: router.tsx Route table · use-ssh-vault-store.ts SSH vault store · app.tsx Application shell · create-get-infinite-query.hook.ts Query helpers
Components 23
App runtime
- Application shell
src/app.tsx - Route table
src/app/router/router.tsx - Dashboard navigation
src/app/layouts/dashboard/main-layout/menu-sections/desktop-menu-sections.ts
Authentication
- Login page
src/pages/auth/login/login.page.tsx - OAuth callback
src/pages/auth/oauth2-callback/oauth2-callback.page.tsx
Dashboard
- User management
src/pages/dashboard/home/components/home.page.tsx - Node management
src/pages/dashboard/nodes/ui/components/nodes.page.component.tsx - Config profiles
src/pages/dashboard/config-profiles/components/config-profiles.page.component.tsx - Inspection tools
src/pages/dashboard/sessions-explorer/ui/components/sessions-explorer.page.component.tsx - Session scan widget
src/widgets/dashboard/sessions-explorer/sessions-explorer-widget/sessions-explorer.widget.tsx - Scan coordination
src/widgets/dashboard/sessions-explorer/sessions-explorer-widget/use-sessions-explorer.ts - Other panel areas
src/pages/dashboard
API and state
- Resource query hooks
src/shared/api/hooks/users/users.query.hooks.ts - Bandwidth queries
src/shared/api/hooks/bandwidth-stats/bandwidth-stats.query.hooks.ts - Query helpers
src/shared/api/tsq-helpers/create-get-infinite-query.hook.ts - HTTP client
src/shared/api/axios.ts - Query cache
src/shared/api/query-client.ts - SSH vault store
src/entities/ssh-vault/use-ssh-vault-store.ts - Encrypted vault database
src/entities/ssh-vault/ssh-vault.db.ts - SSH cryptography
src/entities/ssh-vault/ssh-crypto.ts - Vault backup files
src/entities/ssh-vault/vault-backup-file.ts
Other components
- Panel user
- Panel backend
Connections 19
- Panel user → Application shell: uses
- Application shell → Route table: renders
src/app.tsx - Route table → Login page: routes to
src/app/router/router.tsx - Route table → OAuth callback: routes to
src/app/router/router.tsx - Route table → Dashboard navigation: uses
src/app/router/router.tsx - Route table → Node management: routes to
src/app/router/router.tsx - Route table → Inspection tools: routes to
src/app/router/router.tsx - Application shell → Query cache: provides
src/app.tsx - Resource query hooks → Query helpers: uses
src/shared/api/hooks/users/users.query.hooks.ts - Bandwidth queries → Query helpers: uses
src/shared/api/hooks/bandwidth-stats/bandwidth-stats.query.hooks.ts - Query helpers → HTTP client: requests via
src/shared/api/tsq-helpers/create-get-infinite-query.hook.ts - HTTP client → Panel backend: sends requests
- Inspection tools → Session scan widget: displays
- Session scan widget → Scan coordination: uses
src/widgets/dashboard/sessions-explorer/sessions-explorer-widget/sessions-explorer.widget.tsx - SSH vault store → Encrypted vault database: uses
src/entities/ssh-vault/use-ssh-vault-store.ts - SSH vault store → SSH cryptography: uses
src/entities/ssh-vault/use-ssh-vault-store.ts - SSH vault store → Vault backup files: uses
src/entities/ssh-vault/use-ssh-vault-store.ts - Encrypted vault database → SSH cryptography: uses
src/entities/ssh-vault/ssh-vault.db.ts - Vault backup files → SSH cryptography: uses
src/entities/ssh-vault/vault-backup-file.ts