A VS Code extension that provides real-time live match tracking, game logs, and scoreboards for HLTV Counter-Strike matches.
๐ด Live Match Console - Real-time text-based match tracking
๐ Live Scoreboards - Player stats, money, health, and performance
๐ฎ Chronological Game Log - Kill feeds, round events, and match progression
๐ฑ Status Bar Integration - Live score updates in your status bar
โก WebSocket Support - Direct connection to HLTV scorebot data
- Download the latest
hltv-log-0.3.0.vsixfrom releases - Open VS Code/Cursor
- Press
Ctrl+Shift+PโExtensions: Install from VSIX... - Select the downloaded VSIX file
- Restart VS Code/Cursor
# Clone the repository
git clone https://github.com/yourusername/hltv-live-match-console.git
cd hltv-live-match-console
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Package the extension
npx vsce package
# Install the extension
code --install-extension hltv-log-0.3.0.vsix- Command Palette:
Ctrl+Shift+PโHLTV: Start Live Match - Status Bar: Click the
$(broadcast) HLTV Livebutton - Enter a match ID (e.g.,
2382614) or full HLTV URL
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ด STARTING HLTV LIVE MATCH CONSOLE
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
10:30:15 โน๏ธ Match ID: 2382614
10:30:15 โน๏ธ Launching browser and connecting to HLTV...
10:30:18 โน๏ธ โ
HLTV page loaded successfully
10:30:18 โน๏ธ ๐ Searching for live scorebot data...
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ SPIRIT vs MOUZ
๐ Map: DUST2 | Round: R: 22 - dust2 | Score: 9 - 13
๐ Recent rounds: โฐ CT CT ๐ง ๐ง ๐ง ๐ง CT CT ๐ง ๐ฃ T ๐ฃ T T
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ LIVE SCOREBOARD
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ต SPIRIT (CT) - 9
โโโโโโโโโโโโโโโฌโโโโโฌโโโโโฌโโโโโฌโโโโโโฌโโโโโโโโโฌโโโโโ
โ Player โ K โ D โ A โ ADR โ Money โ HP โ
โโโโโโโโโโโโโโโผโโโโโผโโโโโผโโโโโผโโโโโโผโโโโโโโโโผโโโโโค
โ donk โ 23 โ 16 โ 5 โ121.0โ $150 โ 0 โ
โ magixx โ 15 โ 15 โ 5 โ 86.6โ $1050 โ 0 โ
โ sh1ro โ 11 โ 12 โ 1 โ 47.4โ $500 โ 0 โ
โ chopper โ 7 โ 15 โ 0 โ 32.0โ $50 โ 0 โ
โ zont1x โ 6 โ 15 โ 5 โ 55.3โ $850 โ 0 โ
โโโโโโโโโโโโโโโดโโโโโดโโโโโดโโโโโดโโโโโโดโโโโโโโโโดโโโโโ
๐ด MOUZ (T) - 13
โโโโโโโโโโโโโโโฌโโโโโฌโโโโโฌโโโโโฌโโโโโโฌโโโโโโโโโฌโโโโโ
โ Player โ K โ D โ A โ ADR โ Money โ HP โ
โโโโโโโโโโโโโโโผโโโโโผโโโโโผโโโโโผโโโโโโผโโโโโโโโโผโโโโโค
โ Jimpphat โ 18 โ 10 โ 5 โ 90.0โ $2200 โ100 โ
โ xertioN โ 17 โ 15 โ 5 โ 80.9โ $550 โ 0 โ
โ Brollan โ 16 โ 14 โ 5 โ 75.8โ $1850 โ 0 โ
โ Spinx โ 16 โ 11 โ 0 โ 74.8โ $3600 โ100 โ
โ torzsi โ 6 โ 12 โ 3 โ 42.7โ $400 โ100 โ
โโโโโโโโโโโโโโโดโโโโโดโโโโโดโโโโโดโโโโโโดโโโโโโโโโดโโโโโ
๐ฎ LIVE GAME LOG
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
10:30:25 ๐ซ Spinx + Brollan magixx
10:30:24 ๐ซ Spinx + xertioN sh1ro
10:30:23 ๐ซ Jimpphat chopper
10:30:22 ๐ซ Spinx donk
10:30:21 ๐ซ Spinx zont1x
10:30:20 ๐ซ magixx Brollan
10:30:19 ๐ซ magixx xertioN
10:30:18 โถ๏ธ Round started
10:30:17 ๐ Round over - Winner: T (13 - 9) - Enemy eliminated
10:30:16 โ sh1ro quit the game
10:30:15 โ magixx quit the game
HLTV: Start Live Match- Start tracking a live matchHLTV: Stop Live Match- Stop the current live matchHLTV: Copy Game Log- Copy last 50 log entries to clipboardHLTV: Clear Console- Clear the output console
The status bar shows live score updates:
$(broadcast) HLTV Live- Ready to start$(broadcast) Spirit 9:13 MOUZ- Live match with score
Open VS Code Settings (Ctrl+,) and search for "HLTV":
hltvlog.pollInterval- Update frequency (1000-10000ms, default: 3000)hltvlog.showScoreboard- Show scoreboard updates (default: true)hltvlog.hideEventTypes- Hide specific event types from log
- Node.js 16+
- npm or yarn
- VS Code or Cursor
# Clone the repository
git clone https://github.com/yourusername/hltv-live-match-console.git
cd hltv-live-match-console
# Install dependencies
npm install
# Install Playwright browsers
npx playwright install chromium
# Compile TypeScript
npm run compile
# Watch for changes (development)
npm run watch# Run in VS Code Extension Development Host
F5 (Run Extension)
# Package for distribution
npx vsce package
# Install locally
code --install-extension hltv-log-0.3.0.vsixhltv-live-match-console/
โโโ src/
โ โโโ extension.ts # Main extension code
โโโ syntaxes/
โ โโโ hltv.tmLanguage.json # HLTV log syntax highlighting
โโโ language-configuration.json
โโโ package.json # Extension manifest
โโโ tsconfig.json # TypeScript configuration
โโโ README.md
- Playwright Browser - Launches headless browser to access HLTV
- WebSocket Detection - Connects to HLTV's live scorebot WebSocket
- DOM Scraping - Extracts live data from HLTV's React scoreboard
- Real-time Updates - Polls every 3 seconds for new data
- Text Formatting - Displays formatted output in VS Code Output Channel
- โ Live scores and round counts
- โ Player statistics (K/D/A, ADR, money, health)
- โ Kill feed with weapons and assists
- โ Round history and outcomes
- โ Bomb events (plant/defuse/explode)
- โ Player connections/disconnections
- โ Map information
Extension not activating?
- Check the Output panel for error messages
- Ensure you have internet connection
No live data showing?
- Verify the match ID is correct and the match is live
- Some matches may not have live scorebot data
- Try a different match ID
Browser fails to launch?
- Playwright may need to install browser dependencies
- Run
npx playwright installin the terminal
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- HLTV for providing live match data
- Playwright for browser automation
- VS Code Extension API for the extension framework
If you encounter any issues or have questions:
- Check the Troubleshooting section
- Search existing Issues
- Create a new issue with detailed information
Made with โค๏ธ for the Counter-Strike community