Skip to content

Counter-Strike: Global Offensive Game State Integration client and library written in Go.

Notifications You must be signed in to change notification settings

roessland/csgostate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS:GO State

Tests Production deploy

Live demo: https://csgostate.roessland.com/

Counter-Strike: Global Offensive Game State Integration client and library written in Go.

The primary functionality is to listen to gamestate transitions, and share these with an API.

You could for example make an IFTTT trigger based on CS:GO events, forward health/cash/weapon information to the in-game leader, pick a suitable strategy based on the entire team's weapon/cash information, switch your smart lighting to a red color scheme when you have low HP, and countless other near-useless scenarios.

Components

csgostate

Library to parse incoming JSON. Can also help with installing the gamestate.cfg file automatically.

cmd/csgostate-printer

Acts as a gamestate target API. Records all incoming data to a JSON file.

cmd/csgostate-pusher

Replays a recorded JSON file in real time, pushing each line to an API.

cmd/csgostate-server

Web server and gamestate events listener. Steam login. Generate the gamestate.cfg file with a per-user token so incoming messages can be connected to a registered user. User registration happens automatically on first login. I intend to add some kind of team functionality so that events from team members are shown on the same screen. For example strategies.

Game State Integration (GSI) information

About

Counter-Strike: Global Offensive Game State Integration client and library written in Go.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published