initial commit
This commit is contained in:
commit
2d966b8198
28 changed files with 2901 additions and 0 deletions
23
README.md
Normal file
23
README.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# cs2-web
|
||||
|
||||
The companion website for [cs2-on.eu](https://cs2-on.eu) — server status, leaderboards, guides, and a
|
||||
theorycrafting page for the **Outnumbered** CS2 PvE RPG mod. You're probably looking for the mod itself:
|
||||
**[cs2-outnumbered](https://git.lo.sh/kamal/cs2-outnumbered)**. This repo exists for transparency; the site
|
||||
is only useful with running Outnumbered servers to talk to.
|
||||
|
||||
## What it is
|
||||
|
||||
ASP.NET Core Razor Pages, zero external packages, no JS framework, no build pipeline. The site is stateless
|
||||
and owns no data: each game server's plugin exposes a local Unix-domain-socket API (`status` / `balance` /
|
||||
`top`), and the site renders whatever those report — live status, DB-backed leaderboards, and the effective
|
||||
balance config (the theorycrafting curves are computed by the same code that scales damage in game, so the
|
||||
published numbers can't drift from reality). No cookies, no trackers, no analytics.
|
||||
|
||||
## Running it
|
||||
|
||||
```sh
|
||||
ASPNETCORE_ENVIRONMENT=Development dotnet run # expects sockets in /tmp/og-sock (see appsettings.Development.json)
|
||||
```
|
||||
|
||||
Point `Outnumbered:SocketDir` at a directory of Outnumbered API sockets and open http://127.0.0.1:5080.
|
||||
Without any sockets it renders empty/offline states, which is all it can honestly do.
|
||||
Loading…
Add table
Add a link
Reference in a new issue