git404hub

what is de_demo2 fr?

archways404/de_demo2 — explained in plain English

Analysis updated 2026-05-18

1JavaScriptAudience · generalComplexity · 2/5LicenseSetup · easy

tl;dr

de_demo2 is a browser tool that reads a CS2 demo file and generates ready-to-paste voice-chat commands for a team or any custom group of players.

vibe map

mindmap
  root((de_demo2))
    What it does
      Reads dem files
      Generates voice commands
      Per-team grouping
      Custom player selection
    Tech stack
      React
      Vite
      Tailwind CSS
      WebAssembly
    Use cases
      CS2 demo review
      Voice chat filtering
      Custom command building
    Audience
      CS2 players
      Demo reviewers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Drop a CS2 .dem file into the browser to generate per-team voice-chat listening commands.

VIBE 2

Build a custom voice-chat command for a specific mix of players across both teams.

VIBE 3

Review CS2 match demos with finer control over whose voice comms you hear.

what's the stack?

JavaScriptReactViteTailwind CSSWebAssembly

how it stacks up fr

archways404/de_demo20xmukesh/docusaurus-tutorial1tsmejp/palworld-docker-wine
Stars111
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-12-27
MaintenanceDormant
Setup difficultyeasyeasymoderate
Complexity2/52/54/5
Audiencegeneraldeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Requires Node.js 20 or newer to run locally with npm.

Copyleft license, you can use and modify the code but must share modifications under the same license.

in plain english

de_demo2 is a small web tool that fills in a gap left by the built in demo player for Counter-Strike 2. Valve's official player does not make it easy to listen to voice chat from just one team, or from a specific handful of players. CS2 supports this through a console command called tv_listen_voice_indices, but the command needs a precise bitmask built by hand, which is fiddly and easy to mess up. Instead of doing that by hand, you drop a .dem demo file into de_demo2 and it reads the player list straight out of the file. It then generates ready to paste voice commands automatically, either split by team (Terrorists and Counter-Terrorists) or for any custom group of players you pick yourself. Everything happens inside the browser. The demo file is parsed in a Web Worker using a WebAssembly build of a library called demoparser2, so the parsing does not freeze the page while it runs, and the raw file is never uploaded to a server. The worker pulls out each player's name, Steam ID, team, and voice slot, groups players by team, and turns the selected players into the bitmask pairs that CS2's console command expects. The project is built with React 19, Vite, React Router for navigation, and Tailwind CSS with shadcn style components for the interface. Running it locally requires Node.js 20 or newer: clone the repository, run npm install, then npm run dev to start a development server. There are also commands for linting, building for production, and previewing that production build. The app is a single page application, so if it is deployed somewhere, that host needs to redirect unknown paths back to the main page or direct links to routes other than the home page will fail. The project is licensed under GPL-3.0 and is still early, with a roadmap page in the app listing what has shipped and what might come next. It is a narrow, practical utility aimed at people reviewing CS2 match demos who want finer control over voice playback than the default tools allow.

prompts (copy fr)

prompt 1
How do I run de_demo2 locally with npm install and npm run dev?
prompt 2
Explain what the tv_listen_voice_indices command does and how de_demo2 generates it.
prompt 3
How does de_demo2 parse a .dem file entirely in the browser without uploading it?
prompt 4
What do I need to configure so de_demo2 works correctly as a single page app when deployed?

Frequently asked questions

what is de_demo2 fr?

de_demo2 is a browser tool that reads a CS2 demo file and generates ready-to-paste voice-chat commands for a team or any custom group of players.

What language is de_demo2 written in?

Mainly JavaScript. The stack also includes JavaScript, React, Vite.

What license does de_demo2 use?

Copyleft license, you can use and modify the code but must share modifications under the same license.

How hard is de_demo2 to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is de_demo2 for?

Mainly general.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.