A Game State Integration (GSI) overlay for GOKZ, deployed on Cloudflare Workers.
Original Author: Sikarii
This version has been ported to Cloudflare Workers, so you don't need to set up GSI Server or download static files on your own. Just download the configuration file and place it in your CS:GO cfg/ folder
- Download
gamestate_integration_gokz_overlay.cfgfrom the root of this repository - Place it in your CS:GO
cfg/folder: - Restart CS:GO
That's it! The overlay will work automatically.
If you want to deploy your own instance:
- Install dependencies:
npm install- Build static assets:
npm run build:staticRun the development server:
npm run devDeploy to Cloudflare Workers:
npm run deployMake sure you have:
- Cloudflare account configured with
wrangler login - Durable Objects enabled in your Cloudflare plan (free tier supports SQLite-based Durable Objects)
- Main Worker (
src/index.ts): Handles HTTP routes and WebSocket routing - Durable Object (
src/websocket-manager.ts): Manages WebSocket connections per SteamID - Static Assets: Bundled into the Worker at build time
POST /- Receives GSI data from CS:GOGET /{steamid}- Serves the overlay HTML pageGET /ws/{steamid}- WebSocket endpoint for real-time updates- Static files:
/js/*,/css/*,/conf/*,/assets/*