https://github.com/ggMartinez/CS2-RCON-Commander
1.4K
A high-performance, precision web interface for managing Counter-Strike 2 servers via RCON. Built with React and Node.js, featuring a clean "CS-style" UI with real-time feedback and advanced management tools. It may work with other games, but is not tested for anything else than CS2 (and for the moment, I will not test it with anything else).
Source code for this is available on my GitHub.
Aimed for managing a single server. My motivation was to manage my personal self-hosted server that I use to play with my friends. Maybe this will change on the future.
If you want to manage multiple servers, just run multiple instances of this, or use it without env variables and log in and out multiple times. The idea for this is to replace CS2-rcon-tool, the only RCON tool worth using. A shame that is only desktop.
The easiest way, just start it, and go to http://localhost:3000
It will ask for your server's IP, RCON password and RCON port.
docker run -d \
-p 3000:3000 \
--name cs2-commander \
ggmartinez/cs2-rcon-commander
Another one is give the server's IP and RCON password. It will skip login and will connect directly.
docker run -d \
-p 3000:3000 \
-e SERVER_IP=your_server_ip \
-e RCON_PASSWORD=your_rcon_password \
--name cs2-commander \
ggmartinez/cs2-rcon-commander
Also, with compose you can do something like this:
services:
cs2-rcon-commander:
image: ggmartinez/cs2-rcon-commander
ports:
- 3000:3000
environment:
- SERVER_IP: [YOUR SERVER'S IP]
- RCON_PASSWORD: [YOUR SERVER'S RCON PASSWORD]
Works flawlessly with joedwards32/CS2 image.
| Variable | Description | Default |
|---|---|---|
SERVER_IP | The IP address or hostname of your CS2 server | - |
SERVER_PORT | The RCON port of your server | 27015 |
RCON_PASSWORD | The RCON password set on your server | - |
DEBUG | Enable verbose logging | false |
This app does not support SSL certificates nor authentication. If you need to have SSL termination to access it and user authentication, just use one of the million ways to have a reverse proxy in front that provides both features (nginx, traefik, you name it),
I've done it in a day with Google AI Studio, mostly Vibecoding through it, it's been a while since I've used Sockets, and Frontend is not my strength. Also, I'm not pretending to generate any revenue from this, so I wanted to have it working really fast.
I'm a senior Developer and DevOps engineer, so I've validated the most that can be validated in a day. The code can be improved, but is enough to be considered "ok".
As you can check on the code, it is made on good faith, and there is nothing that can go wrong using this due to the scope of the project (just connect to a CS2 server using RCON). Just be careful how you handle your credentials on the env variables.
Content type
Image
Digest
sha256:490c3d249…
Size
129.4 MB
Last updated
4 months ago
docker pull ggmartinez/cs2-rcon-commander