尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Old School Runescape PvM Analysis
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Blert is a PvM tracking and analytics platform for Old School RuneScape, supporting Theatre of Blood, Colosseum, Inferno, and more.
This repository contains the codebase for the Blert website and backend services.
blert/
├── common/ # Shared utilities and modules
├── proto/ # Shared .proto files (git submodule)
├── web/ # Frontend web app
├── socket-server/ # WebSocket event server
├── challenge-harder/ # Challenge lifecycle and processing (Rust)
├── live-server/ # Live challenge streaming server (Rust)
├── effect-runner/ # Post-challenge side effects (e.g. webhooks)
├── blertbank/ # Blertcoin accounts and ledger
└── compose.yaml # Local development stack
Follow these steps to get a full Blert development environment running.
docker compose up
This runs the websocket server, the challenge server, the effect runner, Blertbank, the database, and Redis.
You can either import sample data or initialize a fresh schema.
If you have a sample dump (e.g. blert-sample-data.zip):
Place the .data directory into the root of your Blert repository.
Import the SQL dump:
psql 'postgres://blert:blert@localhost:5433/blert' -f blert-dump.sql
This loads a prebuilt dataset containing recorded ToB raid entries and a test user.
If you don’t have a dump, you can create a new empty schema with:
export BLERT_DATABASE_URI='postgres://blert:blert@localhost:5433/blert'
npm run -w common migration:run
Install Node v26.5.0 using nvm:
nvm install 26.5.0
nvm use
The Rust services (challenge-harder and live-server) build on stable Rust.
Their build scripts compile the shared .proto files, so protoc must be on
your path as well.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# e.g. on Debian/Ubuntu
sudo apt-get install protobuf-compiler
npm install
npm run -w common build
npm run -w socket-server build
A default environment file, web/.env.development, is included in the
repository for local Docker-based development.
BLERT_DATABASE_URI=postgres://blert:blert@localhost:5433/blert
BLERT_REDIS_URI=redis://localhost:6379
AUTH_SECRET=blert
There are two extra environment variables needed by the web app, pointing to directories in your filesystem.
If you imported a data dump, these directories should already exist. Otherwise,
create .data/challenges and .data/web in the root of your Blert repository.
Create web/.env.local and specify:
BLERT_DATA_REPOSITORY=file:///path/to/blert/web/.data/challenges
BLERT_WEB_REPOSITORY=file:///path/to/blert/web/.data/web
In a separate terminal, run:
nvm use
npm run -w web dev
Visit http://localhost:3000 to verify the frontend is running.
Once the site is running, open it in your browser and register a new account. This creates a user in your local database.
If you want to record and submit your own data using a local Blert plugin:
Generate an API key
Visit http://localhost:3000/settings/api-keys while logged in and create a new API key.
Connect your Blert plugin
Point your local Blert plugin to ws://localhost:3003, then paste your API
key into its settings and start recording. Your data will stream into your
local instance.
The root of this repository includes a Docker compose file for running the backend services required by Blert.
docker compose up
This starts the following services:
ws://localhost:3003http://localhost:3019http://localhost:3013http://localhost:3071/metricslocalhost:5433localhost:6379The web frontend is run separately.
Some services are behind compose profiles and are not started by default:
# Live challenge streaming on http://localhost:3010
docker compose --profile live up
# Prometheus (9090), Grafana (3001), and Loki (3100)
docker compose --profile observability up
# Umami analytics on http://localhost:3011
docker compose --profile analytics up
You can run each Node service's tests from the root via the test command in
the service's workspace, or Rust services via cargo:
npm run -w socket-server test
cargo test -p challenge-harder
This project is licensed under the MIT License.