A fast, reliable, and feature-rich web-based remote console (RCon) for Rust servers. Built with modern technologies to provide a seamless experience for server administrators.
Check out the live version: rust-rcon-web.evs-ptr.workers.dev
- Live Console: Real-time log streaming with configurable history and color-coded message types.
- Integrated Chat View: See in-game chat directly in the console, separate from server logs.
- Command History: Easily navigate and re-execute previous commands.
- Multi-Server Management: Save and switch between multiple Rust servers effortlessly.
- Resilient Reconnect: Automatic reconnection with exponential back-off, connection timeout, and max attempts ensures you stay connected.
- Secure by Default: Supports secure WebSocket (
wss://
) connections and never stores credentials unless specified. - Open-Source: MIT licensed and built with a modern, open-source stack.
- Great DX: Fast, modern tooling like Bun and Vite provides near-instant Hot Module Replacement (HMR) for a fluid development workflow.
- Framework: SvelteKit
- Language: TypeScript
- Styling: Tailwind CSS v4
- UI Components: shadcn-svelte (a collection of reusable Svelte components)
- Icons: Lucide Svelte
- Build Tool: Vite
- Testing: Vitest for unit tests.
- Runtime: Bun
Follow these instructions to get a local copy up and running for development and testing purposes.
This project recommends using Bun for its speed, but it is not required. You can use Node.js with npm
as well.
-
Clone the repository:
git clone https://github.com/evs-ptr/rust-rcon-web cd rust-rcon-web
-
Install dependencies:
# With Bun bun install # Or with npm npm install
-
Run the development server:
# With Bun bun run dev # Or with npm npm run dev
The application will be available at http://localhost:5173
.
To create a production version of the app:
# With Bun
bun run build
# Or with npm
npm run build
You can preview the production build with bun run preview
or npm run preview
.
This project uses Vitest for unit testing.
-
Run all tests:
# With Bun bun run test # Or with npm npm run test
-
Run tests in watch mode:
# With Bun bun run test:unit # Or with npm npm run test:unit
Test files are located in the src/tests
directory.
.
├── src
│ ├── lib
│ │ ├── components/ui # Reusable UI components from shadcn-svelte
│ │ └── utils.ts # Utility functions
│ ├── routes
│ │ ├── +page.svelte # Landing page
│ │ └── rcon # RCon interface, logic, and components
│ └── tests # Unit tests
├── static # Static assets (e.g., favicon)
└── package.json # Project dependencies and scripts
Here are a few other web-based RCon tools for Rust:
-
Carbon Control Panel by Carbon Community
- An RCon tool that is part of a larger ecosystem for the Carbon modding framework.
- Has some Carbon-only features.
- Source: github.com/CarbonCommunity/Carbon.Documentation
- Framework Source: github.com/CarbonCommunity/Carbon
-
webrcon by Facepunch
- A RCon tool directly from the creators of Rust.
- Source: github.com/Facepunch/webrcon
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Distributed under the MIT License.